Add CodeRabbit config to limit review frequency#21
Conversation
Configure CodeRabbit to: - Skip draft PRs to avoid reviewing work-in-progress - Exclude documentation and lock files from reviews - Disable poems and request_changes workflow for concise output - Only auto-review PRs targeting main branch Slack thread: https://scalinitybio.slack.com/archives/C0A5ET7ANLA/p1779903789472939 https://claude.ai/code/session_019VigqCmPL8XtZWdXw63NHg
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR introduces a new ChangesCodeRabbit Configuration Setup
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2249a4fc41
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| # Only review when PR is ready for review (not drafts) | ||
| drafts: false | ||
| # Require manual trigger for incremental reviews to save usage | ||
| base_branches: |
There was a problem hiding this comment.
Disable incremental reviews explicitly
If the intent is to require manual triggers after the initial review, this setting does not do it: CodeRabbit's auto_incremental_review defaults to true, so every new push to an eligible PR is still reviewed automatically, and base_branches only controls target-branch eligibility. Add auto_incremental_review: false under reviews.auto_review to actually stop per-push incremental reviews. Reference checked: https://docs.coderabbit.ai/configuration/auto-review#incremental-review
Useful? React with 👍 / 👎.
|
|
||
| # Limit the scope of reviews | ||
| path_filters: | ||
| - "!**/*.md" |
There was a problem hiding this comment.
Keep setup docs in review scope
This excludes every Markdown file from automated reviews, including docs/SETUP.md, but this repository's review policy requires setup docs to stay in sync with the actual Slack env vars and slash command names. With this filter, a PR that changes only the Slack setup instructions will not get CodeRabbit coverage for that required consistency check, so narrow the Markdown exclusion or explicitly include docs/SETUP.md.
Useful? React with 👍 / 👎.
Combine schema and path filters from main with throttle settings (review_status: false, chat auto_reply: false) from this branch. Co-authored-by: Daniel Escalante <scalinity@users.noreply.github.com>
Summary
.coderabbit.yamlconfiguration to reduce CodeRabbit review frequency and usage.md,.txt), license, and lock files from reviewsThis completes the work started in #17 (which was closed without merging).
Test plan
Slack thread: https://scalinitybio.slack.com/archives/C0A5ET7ANLA/p1779903789472939
https://claude.ai/code/session_019VigqCmPL8XtZWdXw63NHg
Generated by Claude Code
Summary by CodeRabbit