A pipeline engine is a ready-work loop
Running a node again on a later pass, as a loop going round again does, is what makes loops possible at all, and the empty pass is what defines the end of the run.
The rule
Normative: this is the rule
- A pipeline engine MUST repeatedly ask for the work that is ready.
- Each pass MUST promote every idle unit of work whose dependencies are met to pending, and MUST persist that promotion.
- It MUST then return all pending work (including work already pending from an earlier pass), ordered ascending by priority, so that a lower priority number runs first.
- A unit whose dependencies are unmet MUST be left idle and untouched, except that SG-21 skips one whose loop round has ended and that can no longer be satisfied.
- The engine MUST stop when a pass returns nothing.
- That empty return is what quiescence means, unless a job of the run is polling (PIPE-11).
- A polling job keeps the run running: the empty pass then decides no terminal status, and the engine MUST take the run up again when a check of that job falls due.
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 · ORC-9 · changed in spec 1.1