Skip to content

ci(was): ref-scoped concurrency retrofit#18

Merged
yakimoto merged 1 commit into
mainfrom
ci/was-concurrency-retrofit
Jul 22, 2026
Merged

ci(was): ref-scoped concurrency retrofit#18
yakimoto merged 1 commit into
mainfrom
ci/was-concurrency-retrofit

Conversation

@yakimoto

@yakimoto yakimoto commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

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.yml

Note

Low Risk
CI-only workflow metadata change; no application code or secrets handling.

Overview
Adds a ref-scoped concurrency block to foundation-gate.yml so only the latest run per branch/ref is kept and older in-flight runs are cancelled (cancel-in-progress: true).

The group is ${{ github.workflow }}-${{ github.ref }}, matching the WAS Phase 3 retrofit used elsewhere (e.g. public-repo-guard, python-lint) and staying merge-queue-safe because queue runs use a different ref than the PR branch.

Reviewed by Cursor Bugbot for commit 5bd3fa3. Configure here.


Summary by cubic

Add a ref-scoped concurrency block to foundation-gate.yml to prevent duplicate runs on the same ref and reduce CI fan-out. Uses group ${{ github.workflow }}-${{ github.ref }} with cancel-in-progress: true, which is merge-queue safe.

Written for commit 5bd3fa3. Summary will update on new commits.

Review in cubic

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.
@yakimoto
yakimoto enabled auto-merge July 22, 2026 03:46
@changeset-bot

changeset-bot Bot commented Jul 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5bd3fa3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cursor

cursor Bot commented Jul 22, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot 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_2bd18c5a-9987-490f-8430-73c4df354f70)

@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 45 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: fe9b6373-d1a1-4e1a-a19d-76563698fce2

📥 Commits

Reviewing files that changed from the base of the PR and between 26a8b8a and 5bd3fa3.

📒 Files selected for processing (1)
  • .github/workflows/foundation-gate.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/was-concurrency-retrofit
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch ci/was-concurrency-retrofit

Comment @coderabbitai help to get the list of available commands.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low. Cursor Bugbot did not complete successfully (check skipped due to usage limit), so the required automated review signal is unavailable. Human review is needed before merge; no reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@wave-av-reviewbot wave-av-reviewbot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved by wave-av-reviewbot: WAS Phase 3 concurrency retrofit, maintainer-authored (yakimoto), all required checks green. Operator (Jake) synchronously authorized this batch. (governance/auto-approve)

@yakimoto
yakimoto merged commit 0e79241 into main Jul 22, 2026
16 checks passed
@yakimoto
yakimoto deleted the ci/was-concurrency-retrofit branch July 22, 2026 05:04
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