ci: stop CodeRabbit marking PRs failed on review rate limit#1631
Merged
Conversation
Add .coderabbit.yaml with reviews.fail_commit_status disabled so a rate-limited review no longer sets a failing commit status, while keeping the passing status for completed reviews.
Contributor
|
Warning Ignoring CodeRabbit configuration file changes. For security, only the configuration from the base branch is applied for open source repositories. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe CodeRabbit YAML configuration now references the integrations schema v2 and enables review commit-status reporting. Review failures are configured not to fail the associated commit status. 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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
Adds a repo-level
.coderabbit.yamlthat disables CodeRabbit's failing commit status:Why
Open PRs are currently showing a red
CodeRabbitcheck with the reason "Review rate limited" (e.g. #1630, #1629, #1627), even though nothing is actually wrong with the change. A completed review showspass(e.g. #1626).commit_status: truekeeps the useful passing check for completed reviews.fail_commit_status: falsestops CodeRabbit from setting afailurestatus when it can't review (which is what the rate-limit case triggers).Committing the config overrides CodeRabbit's cloud/org defaults.
Note
If a rate-limited PR still goes red after this lands, the rate-limit failure path ignores this flag and the only remaining lever is
commit_status: false(disables the check entirely, losing the green pass too).