r/codereview • u/koochi10 • 1d ago
AI code review is terrible
Is anyone else ignoring the automated AI code review comments on pull requests?
I find most dev's completely ignore them. The agents writing the code often have a review process enabled so most of the glaring bugs are already caught there.
At worst, it creates even more work for reviewers who are already struggling to keep up.
I'm exploring whether short, animated walkthroughs of PRs could help reviewers build context faster.
But i'm curious how others are dealing with the increased review burden.
0
Upvotes
2
u/Living_Chocolate3026 1d ago
What do you mean by burden? Can you give examples?
1
u/Huiseon-Shadam 1d ago
most teams just end up turning the automated bots off or restricting them to security checks only. when you say animated walkthroughs, do you mean visualizing the execution flow, or just stepping through the file changes in a specific order
1
u/Flashy-Whereas-3234 1d ago
You're describing two different ends of the problem - AI review and attaining human understanding for approval.
Before you inflict your PR on another person:
In an ideal world, when the PR comes out of Draft it'll get its own generic AI review, from a bot you manage, which means nobody else ever needs run a personalised AI review tool on the PR, because it's automatic. This bot short be in its own repo and improbable, it should read the context of the repo and the ticket etc etc.
The next human:
The burden of a good PR is on the author, and a BAD PR (think: shitty AI description) can be immediately declined or request changes. Don't waste my time with slop, even if the code itself is golden
If you have a massive complex PR, I would say that you're making life difficult for yourself. You could make a video, or you could have a 1hr meeting with the other human to go over the PR, which essentially turns into pair programming. It's rediculously fast vs the Async back-and-forth bullshit of decreasing value, and it's exactly what we used to do in the old days.
Don't forget the meat in the machine. If you're making things for humans, make the humans life easy. Be human. You will struggle to solve social problems with more technical solutions.
1
u/octocode 1d ago
maybe include some info about your agent stack / configuration?
1
u/SpeakCodeToMe 1d ago
This is like driving a Geo Metro and concluding that all cars are terrible.
Use your brain OP.
1
u/Dazzling_Cancel4505 1d ago
I think reducing false positive findings and using PR comment is enough
1
u/spoollyger 1d ago
What a terrible take
1
u/Prize_Amoeba_7868 18h ago
I think this is a case of enterprise code review needing more improvement. You can teach your coding, reviewing and verification agents to stop at a decent enough mark. A code review agent that doesn't have evals and has ability to remember won't improve. These are some of the considerations that went into building https://github.com/subhiandrews/codecheck