Repository navigation
ci(coderabbit): review pull requests against dev automatically - #2091
Merged
Merged
Conversation
With no config file, CodeRabbit used its defaults, which auto-review only pull requests against the default branch, main. Pull requests merge through dev, so every one was skipped. CodeRabbit reads this file from each pull request's head branch, so branches cut from dev before this lands still need `@coderabbitai review`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: MODSetter/SurfSense/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 branch was successfully deployed
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
.coderabbit.yamlat the repo root so CodeRabbit auto-reviews pull requests whose base branch isdev:mainis the default branch, so its pull requests are still reviewed.developorfeat/dev-toolsdo not match.Why
With no config file, CodeRabbit uses its defaults, which auto-review only pull requests against the default branch. Pull requests merge through
dev(CONTRIBUTING.md), so each one was skipped with "Auto reviews are disabled on base/target branches other than the default branch", as on #2090.CodeRabbit reads this file from the pull request's head branch, not from
dev. Once this merges, branches cut fromdevare reviewed automatically. Branches cut earlier stay skipped until they mergedevin; on those, comment@coderabbitai reviewfor a single review.Fixes #
How to test
This pull request carries the file, so CodeRabbit should review it on its own instead of posting "Review skipped".
The file validates against CodeRabbit's published schema:
uv run --no-project --with pyyaml --with jsonschema python -c "import json, urllib.request, yaml, jsonschema; schema = json.load(urllib.request.urlopen('https://coderabbit.ai/integrations/schema.v2.json')); jsonschema.validate(yaml.safe_load(open('.coderabbit.yaml')), schema); print('valid')"Draft pull requests stay skipped by default, so test with one that is ready for review.
🤖 Generated with Claude Code
High-level PR Summary
This PR adds a CodeRabbit configuration file to enable automatic code reviews for pull requests targeting the
devbranch. Previously, only PRs against the defaultmainbranch were auto-reviewed, but since the project's workflow merges changes throughdevfirst (as documented in CONTRIBUTING.md), this meant most PRs were being skipped. The configuration uses a regex pattern to specifically match thedevbranch while preserving all other CodeRabbit default settings.⏱️ Estimated Review Time: 5-15 minutes
💡 Review Order Suggestion
.coderabbit.yamlSummary by CodeRabbit
devbranch.