You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
guardrails: block-unresolved-pr-merge counts cancelled, superseded check runs as failing #8401
block-unresolved-pr-merge.sh (guardrails 0.52.0) refuses a guarded merge as "Failing checks: test-bash, test-python" when those check runs were cancelled and replaced by successful runs under a different name.
Evidence
PR #8397, head fcdfcf0f4185f05d50264ed9d64b0572ac1f025c, check runs on the head (GET commits/<sha>/check-runs):
started_at
name
conclusion
05:42:12Z
test-bash
cancelled
05:42:12Z
test-python
cancelled
05:42:12Z
ci-status
cancelled
05:42:42Z
test-bash (0)
success
05:42:42Z
test-python (0)
success
05:45:43Z
ci-status
success
The required check (ci-status) is green on its newest run, and pr-merge's own merge check is SUCCESS. The hook still blocks:
BLOCKED: melodic-software/claude-code-plugins#8397 is not ready to merge ...
Failing checks: test-bash, test-python
Expected
A cancelled check run whose workflow later produced a passing run (or whose ci-status aggregate is green on a newer run) does not count as failing. At minimum, cancelled should not be reported as failing when a newer ci-status run on the same head succeeded.
Fix
Per docs/conventions/hook-precision/README.md: land the fix with a stay-quiet test (cancelled superseded runs plus green ci-status → merge allowed) that fails before the fix.
Related
Blocks the guarded merge of #8397 (owner-decided, green).
Activity
github-actions commentedon Oct 19, 2026
Thanks for the report. Automated triage handed this issue to a maintainer.
Proposed work class: work-class: scoped
Basis: automated intake triage; a maintainer confirms or changes it.
Automated triage. A maintainer reviews it.
kyle-sexton commentedon Oct 19, 2026
Closing as a duplicate of #8255, with the owner's approval (2026-10-19, "go w/ recommendations"). The check-run evidence moved to #8255 (comment).