-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CodeRabbit for AI code reviews #15439
Comments
It would be nice to give it a try. Are you going to implement it to see how it does? |
Sure, it's just a few minutes. |
I've set it up, as an experiment for now: all non-draft PRs will get CodeRabbit review when opened, and you can ask it to review existing PRs too with Core contributors: You should be able to log in under https://app.coderabbit.ai/ with your GitHub account and see the OC repo settings. But this shouldn't be necessary going forward, since CodeRabbit can also be configured from code, what I did under #15813. I'll wait a few weeks to see how it goes, gather feedback, fine-tune the config, and we should only adopt it long-term if we're all happy with it. |
The bot comments don't skew the PR metrics, since they're excluded, only human replies count for "Time to first response": #15929 |
Please vote: #15935. |
I've disabled automatic reviews for now, but am waiting a bit more on #15935. |
CodeRabbit is good and bad, sometimes I find it annoying rather than it helps someone :) |
Yeah, same. |
I am okay with keeping it if we trigger it manually. |
Sometimes the suggestion is excellent, thanks for having this experiment, we can leave before releasing |
I've finalized the config and docs under #15813, then, please review. It's off by default but available. |
Attention, contributors: See #15439 (comment).
Is your feature request related to a problem? Please describe.
PRs usually sit open for too long (related: #15029), partially due to nobody coming to review earlier.
Describe the solution you'd like
We could try CodeRabbit, which is an AI code review bot: it uses ChatGPT and perhaps other similar LLM tools to provide code review comments. Additionally:
For a while now we at Lombiq tested it on a couple of repositories. It's a mixed bag, with perhaps 50-50 useful and useless comments, but the experience varies greatly PR by PR. Some examples:
So, I'm not entirely convinced, but we could try if it's useful for us and helps with reviews, or it's more like noise.
This will throw off our community metrics a bit, since the time to first reply for PRs will be down to a few minutes, so we won't be able to track the time to human reviews (and the useful remaining metric will be time to close). Also, if as a reviewer you scan for PRs to review by looking at the number of comments (as an indicator that somebody else reviewed already) then that won't apply anymore. Using the "No reviews" filter can be appropriate, but a "review" here is a changes requested/approved flag, what some people don't use during review (but they just comment).
Describe alternatives you've considered
Perhaps there are other such tools that we can check.
The text was updated successfully, but these errors were encountered: