forked from heavy-duty/ceremony
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>
591 B
591 B
Fixed
checks_statedrops rollup entries belonging to the workflow it runs inside —SELF_WORKFLOW, defaulting to the ambientGITHUB_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-redoff its own displaced run and re-affirmed it every cadence (crew#227). A rollup of only self entries now honestly scores NONE (#208).