ceremony/changelog.d/208.md
dan-claude-bot 8841d9711f fix: checks_state never grades the label machine's own runs (#208)
The shared reconcile concurrency group displaces queued sweeps as
CANCELLED, and the displaced run's successor attaches to a different PR —
so on the victim the newest self entry stayed CANCELLED, scored FAILURE,
and the sweep set blocker:ci-red off its own corpse every cadence
(crew#227). Drop rollup entries whose workflowName matches SELF_WORKFLOW
(defaulting to the ambient GITHUB_WORKFLOW — the caller's name, so no
workflow edit and no hardcoded consumer name) before the newest-per-context
collapse; an empty name filters nothing. A self-only rollup now honestly
scores NONE, and a genuine foreign failure still blocks beside a cancelled
self entry — the must-fail guard against re-opening #136.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-01 16:12:17 +00:00

11 lines
591 B
Markdown

### Fixed
- `checks_state` drops rollup entries belonging to the workflow it runs
inside — `SELF_WORKFLOW`, defaulting to the ambient `GITHUB_WORKFLOW`
before the newest-per-context collapse: the label machine never grades
its own runs, and an empty name filters nothing (#208).
- A sweep displaced from the shared concurrency queue attaches CANCELLED to
its PR while its successor attaches elsewhere, so the sweep set
`blocker:ci-red` off its own displaced run and re-affirmed it every
cadence (crew#227). A rollup of only self entries now honestly scores
NONE (#208).