fix(delivery): close the skipped-gate hole in dry-run-gated
A gated workflow whose job-level label condition is unmet posts skipped, and a later label event on the same SHA posts a newer skipped that would mask an earlier gated failure. delivery-ci-checks now ignores skipped statuses for a dry-run-gated check and takes the latest of the rest, reading none as awaiting-gate. The format exempts dry-run-gated from the skipped-passes rule and requires the workflow to run only on its named gate label; the gatherer confirms that filter and takes a gated check's name from the forge or lists it as open. The review's awaiting-gate finding links the PR's files view, the implement lead and delivery-handoff name the gated dry run's label as human-only, and qa's and the lead's restatements are trimmed. Refs: #218 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
1 parent
a96b6134a5
commit
42301cf38e
7 files changed
+37
-27
No files matched your search
@@ -31,18 +31,22 @@
|
||||
| no status whose `context` equals the listed name, role `dry-run-gated` | `awaiting-gate`, passing |
|
||||
| no status whose `context` equals the listed name, any other role | `missing` |
|
||||
|
||||
When two statuses share a `context`, use the one with the latest `updated_at`.
|
||||
When two statuses share a `context`, use the one with the latest `updated_at`. For role
|
||||
`dry-run-gated`, ignore its `skipped` statuses first and take the latest of the rest; none left →
|
||||
`awaiting-gate`. A gated job whose label condition is unmet posts `skipped`, and a later label
|
||||
event on the same SHA posts a newer `skipped` that would otherwise mask an earlier gated
|
||||
`failure`.
|
||||
|
||||
## Gated dry runs
|
||||
|
||||
- `awaiting-gate` is a `dry-run-gated` check with no status on the pinned SHA: no human has added
|
||||
its label yet, and only a human can, so waiting for it is pointless. It is never `missing`.
|
||||
- A gated check that has a status (`pending`, `failure`, `success`, `skipped`) is classified like
|
||||
any other check.
|
||||
- `awaiting-gate` is a `dry-run-gated` check with no non-`skipped` status on the pinned SHA: no
|
||||
human has added its label yet, and only a human can, so waiting for it is pointless. It is never
|
||||
`missing`.
|
||||
- A gated check that has a `pending`, `failure` or `success` status is classified like any other
|
||||
check.
|
||||
- Only the delivery doc gives roles, so a caller-supplied list never yields `awaiting-gate`.
|
||||
- A gated status on an older commit is stale like any other. The label is needed fresh per push,
|
||||
so after a push the check is `awaiting-gate` again until a human re-adds it. Adding, removing or
|
||||
re-adding it is the human's act, never yours.
|
||||
so after a push the check is `awaiting-gate` again until a human re-adds it.
|
||||
- The `Awaiting gate:` line names every `awaiting-gate` row, else `none`.
|
||||
|
||||
## Links
|
||||
|
||||
Reference in new issue
Block a user