Skip to content

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
  1. 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.
  2. 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.
  3. A cancelled run MUST NOT reach this ladder; a cancel signal ends the run before it and is announced there.

Why

Recorded under OPEN-25, OPEN-56, OPEN-63.

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