How a run's terminal status is decided
A single ladder, in precedence order, so a run that both failed and paused reports the failure.
The rule
Normative: this is the rule
- A run's terminal status MUST be decided in this precedence: an unhandled failure makes the run failed; otherwise an interrupt pauses the run with no reason recorded; otherwise work still ready to run pauses the run with the reason recorded; otherwise a polling job keeps the run running and no terminal status is decided (PIPE-11); otherwise the run is completed.
- Where the status decided is terminal, the run's jobs that are not terminal take their final status as PIPE-10 says; a paused run's jobs keep theirs, so it can resume.
- A cancelled run MUST NOT reach this ladder; a cancel signal ends the run before it and is announced there.
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-11 · changed in spec 1.1