Skip to content

An entry that cannot be built is skipped, not fatal

One broken entry does not cost the workflow its whole contract, so the build drops it and carries on.

The rule

Normative: this is the rule
  1. A bound entry that cannot be resolved (the node it names is missing, or the node has no such port among its effective schemas, DYN-8) MUST be skipped, and the remaining entries MUST still be built.
  2. A warning is logged for it.
  3. An entry that is structurally malformed MUST likewise be skipped, and MUST NOT contribute to the contract.
  4. An entry is malformed when its name is absent or empty, when it carries only one of node_id and port, or when either is the empty string.
  5. An unbound entry is not malformed, and MUST be built (MAN-5).

What it means

A manifest can go wrong in two different ways, and neither costs the workflow the rest of its contract. An entry can be structurally malformed — its name missing or empty, or only half a binding, a node_id without a port or the other way round — in which case it never named anything to resolve in the first place. Or it can be well-formed but point nowhere real: a node that is not in the graph, or a port its node neither declares nor defines as a dynamic port. Either way the entry is dropped and the build carries on with whatever else the manifest names.

Example

An entry naming a node absent from the graphskipped
{ "name": "gone", "node_id": "ghost", "port": "key" }
An entry naming a port its node's own type never declaredskipped
{ "name": "gone", "node_id": "n1", "port": "nope" }
An entry with no name at allskipped
{ "node_id": "n1", "port": "key" }

None of the three contributes a property to the built contract; a valid sibling entry elsewhere in the same manifest still would. An entry with no binding at all is neither of these: it is unbound, and it is built from its own schema.

Why

Recorded under OPEN-25, OPEN-27, OPEN-30, OPEN-31.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · MAN-8 · changed in spec 1.0