pub enum Completion {
Warned,
FailedUnderWarn,
Unavailable,
Deferred,
PassedUnderWarn,
}Expand description
How a gate completed without passing (ADR-0018). The kind is part of the record, so each answers only for as long as it should.
Variants§
Warned
The gate reported a warning itself.
FailedUnderWarn
The gate failed while its severity was warn: answers only while it
still is, since a gate set back to block must run again.
The gate could not run (a tool missing): answers for an hour, then the gate is tried again.
Deferred
The gate deferred to CI: its wait for a host slot ended on a stalled line or its ceiling (ADR-0022). Answers for an hour, so land’s push does not refuse a gate the jammed host could not run, and CI runs it; never a stamp or an attestation.
PassedUnderWarn
The gate passed while its severity was warn (f129). Not a stamp: a
stamp is keyed by tree, and a warn gate’s verdict may read more than
the tree (the decisions follow-ups gate reads origin/main), so a
stamp would reuse a stale pass for as long as the tree stands. Answers
for an hour, and only while the gate is still warn, so land’s push
after its own rehearsal does not run it again.