Repository navigation
Add cancel-superseded caller - #88
d-morrison wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019xfc9ojH5gMAJaAFRMPitW
|
Claude finished review — View run Confirmed: this PR touches exactly one file, a new 13-line ReviewScope & intent. Matches the stated rollout: a thin caller that triggers on Caller-permissions contract. Overlap with existing concurrency setups. YAML validity. Parsed cleanly; Runner selection. Minor: PR description line-count is off. The PR body says "this adds a 17-line caller," but the actual file (and the diff hunk, No bugs, no CLAUDE.md violations (this is pure CI infrastructure, not VerdictReady for merge — one cosmetic nit in the PR description (line-count claim), no blocking findings. Structured Review Data (JSON){
"schema_version": "1.1",
"reviewer": "claude",
"commit_sha": "fdd230215196dde97d04ddde51d03b33afac6df2",
"verdict": "CLEAN",
"findings": [],
"detailed_assessment": "The sole changed path, .github/workflows/cancel-superseded.yml, is a 13-line reusable-workflow caller whose permissions and trigger types match the Morrison-Lab/gha@v3 callee's requirements, so no failure mode or defect was found in the workflow file itself.",
"holistic_assessment": "Requirement traceability to gha#1400/#1401 checks out, the existing check-caller-permissions.yml contract is satisfied, no regression or duplication with lint-changed-files.yaml's own concurrency group, and scope stays limited to the single infra file with no validation gaps."
}Reviewed commit: fdd2302 |
Built to branch |
Ezra's standing rule (2026-11-02): "always cancel stale runs". On Ezra's decision (2026-11-03) to roll this out to every Morrison-Lab repo with PR CI, this adds a 17-line caller for
Morrison-Lab/gha'scancel-superseded.yml(gha#1400, gha#1401, onv3). On everysynchronizeandclosedof a pull request it cancels that PR's queued and running runs for any head other than the current one, and every earlier run of a closed PR. Runs not tied to a PR (push tomain) are not covered. Not exercised before merge: the first live run is this PR's own next push or close.Generated by Claude Code