feat(delivery): read a failing dry-run-gated check as a human gate
A gated dry run fails on purpose while it awaits its label, and no bot commit can satisfy a gate that needs a fresh human label per push, so sending its failure to the implementer loops. delivery-ci-checks now classifies a failure, error or warning on a dry-run-gated check as gated-failure: passing, never waited on, with its job link and one-line log cause. The Awaiting gate line becomes Human gate, carrying each check's state. The 0.7.0 rule ignoring skipped statuses on a gated check is unchanged. qa never fails on a gated-failure and reads dry-run output only on success; its human-gate line feeds the implement lead's Open questions. Review check 7 records a gated-failure as a non-blocking finding for the approver. The format's dry-run-gated definition is loosened to allow a failing status before the label. Refs: #225 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
1 parent
e3d4219323
commit
244f4de1bd
9 files changed
+56
-41
No files matched your search
@@ -9,7 +9,7 @@ compatibility: Requires git and a forge remote. Gitea needs the Gitea MCP server
|
||||
allowed-tools: Bash Read Write Edit
|
||||
metadata:
|
||||
category: delivery
|
||||
version: "0.3.0"
|
||||
version: "0.4.0"
|
||||
---
|
||||
|
||||
## Gotchas
|
||||
|
||||
@@ -53,10 +53,10 @@ syntax. A format change is an edit here, plus every consumer's restatement.
|
||||
`other`.
|
||||
- `dry-run` appears on one or more items unless the section is `- none`. `test-path` appears on at
|
||||
most one item, and on exactly one when the repo has a test-path check.
|
||||
- `dry-run-gated` (zero or more items) is a dry run that posts its status only after a user on the
|
||||
human allowlist adds a label to the PR. Its workflow runs only on that one named gate label, so
|
||||
no other label event starts it. Until then its status is absent or `skipped` on the head commit,
|
||||
and consumers read either as awaiting the human gate, not as missing or passing.
|
||||
- `dry-run-gated` (zero or more items) is a dry run that runs only after a user on the human
|
||||
allowlist adds its gate label to the PR. Until then its status on the head commit may be absent,
|
||||
`skipped` or a failure, and other events may post a status that does not reflect a dry run.
|
||||
Consumers never send its failure to the implementer: a human reads it.
|
||||
- Whatever its role, except `dry-run-gated`, a consumer treats a check reported as "skipped" (a
|
||||
path-filtered workflow whose paths did not match) as passing.
|
||||
|
||||
|
||||
Reference in new issue
Block a user