Skip to content

ci(queue): reject PRs with unresolved CodeRabbit threads - #5210

Merged
zackees merged 1 commit into
masterfrom
ci/coderabbit-queue-gate
Nov 9, 2026
Merged

zackees merged 1 commit into
masterfrom
ci/coderabbit-queue-gate

Conversation

@zackees

@zackees zackees commented Nov 9, 2026

Copy link
Copy Markdown
Member

Merge-queue gate: a PR with unresolved CodeRabbit review threads can no longer pass the queue.

  • New queue-coderabbit job in ci-labels.yml (merge_group only), added to the needs of the required CI summary check, so a failure ejects the PR.
  • ci/coderabbit_gate.py reads the PR number from the queue ref, lists review threads over GraphQL, and fails on any unresolved thread started by CodeRabbit.
  • Exhausted CodeRabbit passes: when CodeRabbit's summary comment has the rate limited by coderabbit.ai marker ("Review limit reached"), the gate passes with a note, because CodeRabbit cannot re-review.
  • Human review threads do not block.

Evidence (live runs of the script):

Tests: ci/tests/test_coderabbit_gate.py (6 passed). test_readme_badge_wall fails on master already and is unrelated.

🤖 Generated with Claude Code

The merge queue now runs ci/coderabbit_gate.py as a dependency of the
required CI summary check. A PR with any unresolved CodeRabbit review
thread is ejected. A PR passes when every thread is resolved, or when
CodeRabbit is rate limited (its summary comment carries the
'rate limited by coderabbit.ai' marker) and so cannot re-review.

Co-Authored-By: Claude <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 16 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 8 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between a7c15ec and 8470129.

Files selected for processing: 3

  • .github/workflows/ci-labels.yml
  • ci/coderabbit_gate.py
  • ci/tests/test_coderabbit_gate.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@zackees
zackees enabled auto-merge November 9, 2026 01:03
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 9, 2026
@github-actions github-actions Bot added the sanitized Title, body and conversation screened; review text requires separate screening. label Nov 9, 2026
@zackees
zackees added this pull request to the merge queue Nov 9, 2026
Merged via the queue into master with commit 20cffff Nov 9, 2026
127 of 128 checks passed
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Nov 9, 2026
@zackees
zackees deleted the ci/coderabbit-queue-gate branch November 17, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sanitized Title, body and conversation screened; review text requires separate screening.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant