Does anyone find AI code review useful?
Once an LLM generated change gets into a few hundreds or thousands of lines, a human reviewer can barely read the whole thing in any meaningful way. And even if they can, why should they spend their time reviewing thousands of lines generated by someone else’s AI?
If the code is going to be reviewed by another AI anyway, why doesn’t the developer opening the PR just run one more iteration before submitting it?
Is the assumption that after a thorough implementation pass, having a different AI review the code “some time later” will catch things the original AI somehow missed?
Or is the assumption that my precious "Code Review AI" has some superior prompt and sacred collection of skills that makes it meaningfully different from the AI the developer used to write the code?
If that’s the case, why not just give developers that reviewer AI locally and have them iterate against it before opening the PR?
What’s the point? Why not just blindly merge everything and see if it breaks or not?
10 comments
[ 2.2 ms ] story [ 8.5 ms ] threadCan't really see the point of settings up a separate AI code review step and make that into some sort of stage that everybody pretends to care. Just to make it look like something extra is, hopefully, happening?
Plus, I feel like any previous context a developer had before submitting the PR must have the most accurate context rather than a code review AI.
It's more on pure curiosity than ranting.
The AI reviewers just make this easier for us, I’m not talking about the walls of text it adds as it is exhausting to read (I know) but the fact that it could catch real bugs before you even read the actual code is the benefit, and I’ve integrated this flow into my routine, a loop of a coder and a reviewer taking turns before handing me the results to read myself.
The more I find stuff, the more I improve my own code review skill. And I actually created my initial skill by distilling the code reviews and comments I made myself on github for the past 2 years, training an AI on how I review and give feedback on PRs, that produced a skill that is like another copy of me reviewing the code and refining the code before I read it myself.
That being said, the reason I think cloud AI review companies (that review on PRs) work is that at a large org you need a way to ensure that the review indeed happens. And you can't blindly trust that the dev did this locally.
We're a small team, so shifting left works. Just review locally. If you're a large org, that's a different problem space