ci(was): ref-scoped concurrency retrofit - #22
Conversation
Intent: prevent runaway CI fan-out by giving each per-commit/scheduled workflow a ref-scoped concurrency group (github.ref => merge-queue-safe, no #852 self-eviction). Additive only.
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_32094b10-66a7-4977-ba54-486ff4d80957) |
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 46 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
|


Adds a ref-scoped
concurrency:block to per-commit/scheduled workflows lacking one (WAS Phase 3 retrofit).Group
${{ github.workflow }}-${{ github.ref }}is merge-queue-safe (queue runs on a different ref, so no #852 self-eviction). Reusables + release workflows exempt.Files:
foundation-gate.ymlNote
Low Risk
CI-only workflow metadata change; no application code, secrets, or runtime behavior.
Overview
WAS Phase 3 retrofit:
foundation-gatenow uses ref-scoped concurrency so only one run per workflow + ref is active at a time, withcancel-in-progress: trueto drop superseded runs when new commits land on the same ref.The group is
${{ github.workflow }}-${{ github.ref }}, matching the merge-queue-safe pattern used elsewhere (e.g.public-repo-guard); queue runs on a different ref so they do not cancel each other.Reviewed by Cursor Bugbot for commit 3c8bb65. Configure here.
Summary by cubic
Adds a ref-scoped concurrency block to the
foundation-gateworkflow to limit CI to one run per ref and avoid merge-queue self-eviction. Usesgroup: ${{ github.workflow }}-${{ github.ref }}withcancel-in-progress: true.Written for commit 3c8bb65. Summary will update on new commits.