Skip to content

One execution has at most one stored snapshot

The rule

Normative: this is the rule
  1. Storing a snapshot MUST be an upsert keyed by execution identifier: an existing record for the same execution MUST be overwritten in place, so that one execution never accumulates two snapshot records.
  2. Cleanup MUST delete the records created before a given time.
  3. Where a set of statuses is given, cleanup MUST delete only those whose status is in it.
  4. Cleanup MUST answer with the number deleted, zero when nothing matches.
  5. Access to a snapshot MUST be enforced at the API boundary, and enforced once there, not repeated by the layer that stores them.
  6. A scheduled cleanup MUST run with no principal and MUST delete on the predicate above alone.

Why

Recorded under OPEN-25.

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