When a node is ready to run
Readiness is the whole of a workflow's scheduling contract: it decides what runs, in what order, and what a node is guaranteed to have in hand when it does.
The rule
Normative: this is the rule
- A node MUST run once it is ready.
- A node with at least one incoming trigger edge is ready as soon as any one of those trigger edges is satisfied; its data ports are not evaluated at all, so such a node is not held back by an unfilled data port.
- Any other node is ready once every group of its incoming data edges is satisfied, the edges being grouped by the input port they target.
- A group is satisfied by at least one source that has completed, is on an active branch, and is on the consumer's round on every loop the two share (SG-19).
- That is an OR within a port and an AND across ports.
- A node whose incoming edges, apart from loopback and tool edges, are all error edges is ready only once one of them is satisfied (ERR-10); having no data port does not make it ready.
Why
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · DATA-4 · changed in spec 1.1