Skip to content

Status vocabularies are closed sets of strings

The rule

Normative: this is the rule
  1. Job, pipeline, session, message and interrupt status MUST each take their value from a closed vocabulary.
  2. The job and pipeline (run) vocabularies are listed in PIPE-10, and the interrupt vocabulary in INT-24.
  3. An implementation MUST NOT persist a status outside its vocabulary.
  4. A status MUST be a string, and one spelling MUST serve everywhere: what is persisted is what every JSON payload carries and what every event carries.
  5. An implementation MUST NOT persist one spelling and publish another.

Why

Recorded under OPEN-25, OPEN-44, OPEN-55.

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