Skip to content

fix(ci): wire required checks for the merge queue#58

Open
williaby wants to merge 1 commit into
mainfrom
claude/merge-queue-merge-group-0
Open

fix(ci): wire required checks for the merge queue#58
williaby wants to merge 1 commit into
mainfrom
claude/merge-queue-merge-group-0

Conversation

@williaby

Copy link
Copy Markdown
Contributor

Summary

Adds a merge_group trigger to the four required-check workflows so each required context reports inside the merge queue.

Files changed

  • .github/workflows/ci.yml
  • .github/workflows/pr-validation.yml
  • .github/workflows/reuse.yml
  • .github/workflows/security-analysis.yml

Why

GitHub merge queues dispatch a merge_group event, not pull_request. A
required status check whose workflow does not trigger on merge_group never
reports on the queued commit, so the entry waits the full timeout and fails.
Required checks produced by reusable workflows surface as caller-job / callee-job, which cannot match a bare ruleset context; the org pattern is an
in-line aggregator job named exactly the bare context.

Landing this PR (deadlock)

For merge_group events GitHub uses the workflow definition from the default
branch, so this fix does not take effect in the queue until it is on main.
This repo's merge-queue ruleset has no bypass actor, so an admin must break the
deadlock once: temporarily set the merge-queue ruleset to Evaluate (or
Disabled), squash-merge this PR, then re-enable. Subsequent PRs drain normally.

Validation

actionlint and yamllint (repo config) pass on the changed files; no new
findings introduced. Generated as part of an org-wide read-only audit.

Adds a `merge_group` trigger to the four required-check workflows so each required context reports inside the merge queue.

Part of the org-wide merge-queue stall remediation. A required merge queue
stalls when required-check workflows do not trigger on the merge_group event;
the queue dispatches merge_group, waits for checks that never report, and times
out. See reference-library PR #64 for the reference fix.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@williaby, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 28 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: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 49dd2aef-5d65-46d5-b8ec-5eb8ca6b5c40

📥 Commits

Reviewing files that changed from the base of the PR and between e3ea1fc and c3953f2.

📒 Files selected for processing (4)
  • .github/workflows/ci.yml
  • .github/workflows/pr-validation.yml
  • .github/workflows/reuse.yml
  • .github/workflows/security-analysis.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/merge-queue-merge-group-0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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