Skip to content

CI: key the pages concurrency group by ref so PR pushes stop cancelling each other's site checks - #418

Merged
MaxGhenis merged 1 commit into
masterfrom
pages-concurrency-per-ref-0904
Sep 4, 2026
Merged

CI: key the pages concurrency group by ref so PR pushes stop cancelling each other's site checks#418
MaxGhenis merged 1 commit into
masterfrom
pages-concurrency-per-ref-0904

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

deploy.yml declares concurrency: group: "pages" with cancel-in-progress: true and no per-ref key, so any push in the repo cancels whatever site run is in flight: a second PR's push cancels the first PR's build/lint/deploy checks (rendered as fail with empty logs), and a PR push cancels an in-progress master deploy. Seen today: PR #417's push cancelled PR #416's run 33872523405, and #417's merge cancelled the master deploy for e28f479.

Keys the group by github.ref (pages-${{ github.ref }}): each PR branch and master get their own group, so runs on the same ref still supersede each other while unrelated refs no longer interfere. One-line change; no other behavior touched. (Cherry-picks the long-standing unmerged branch fix/pages-concurrency-per-ref onto current master.)

🤖 Generated with Claude Code

…ter deploys

The workflow-wide "pages" group made every pull_request run and every
master push share one concurrency slot with cancel-in-progress: true, so
a PR run could cancel master's site deploy (observed on the #235 merge,
run 31521424173) and master pushes cancelled PR lint jobs before Ruff
ran (observed on #386, job 93765266885). Keying the group by ref keeps
cancellation within a single ref: a newer push to the same PR or to
master cancels only its own older run.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
social-security-model Ready Ready Preview Sep 4, 2026 1:04pm UTC

Request Review

@MaxGhenis
MaxGhenis merged commit 23c5649 into master Sep 4, 2026
10 checks passed
@MaxGhenis
MaxGhenis deleted the pages-concurrency-per-ref-0904 branch September 4, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant