17 points · by davidest · 8h ago · 15 comments
I'm wondering how you guys are dealing with them now, and whether the concept of a PR should be updated for modern times?
If you have opinions or ideas, hit me up, I'd love to chat :) (@DavidEstrine on X)
Without digging deep enough to answer all those questions, I'm not sure we have enough of a vision of the future to answer just the small slice of how we manage PRs.
2. Human author opens a PR (please don't send me a wall of Claude text as the PR description, try to write it yourself).
3. (optional: AI bot automatically reviews the PR and leaves some comments - mixed experience with these so far)
4. Another human reviews the PR, either just by reading, or by pulling it locally and inspecting it with the help with an agent.
5. Some comments left by human, author keeps iterating until everyone is happy and the reviewer approves the PR.
6. Author merges.
For 1. and 4. it's down to the human's own discretion how closely they'll read the code and understand every detail as opposed to skimming, checking general approach or trusting that it's a mechanical enough change that reading every line doesn't matter.
Humans in the loop to get agents unstuck and to make sure they aren’t being dumb. This doesn’t require code review.
How is that a replacement? We've had automated tests for a very long time and we've been doing code reviews because passing tests aren't enough.
You can do mutation testing, but I don't think that covers all of your bases.
But they do have extensive documentation about the vision/mission/strategy/tactics, combined with client info, adrs for architectural choices (that they write themselves), hundreds of loops (most code) that check lots of things etc
- I generally like to chat beforehand with who would review (I guess its mostly stamping these days) the PR whether the idea makes sense. If it's nontrivial. - If I get a large-ish PR to review I generally go chat with the author to see if they are able to articulate what's happening in it and why. Not really reviewing code these days, but reviewing the human haha.
Every bottlenecked code review process I've ever experienced had very little to do with risk to the customers production environment. A lot of developers seem to use the PR as an opportunity to play PvP with their peers rather than advocate for the customer or business.
If we are looking at PRs entirely through the lens of risk and liability to the business, we can eliminate most of the bullshit here.
Note that this has nothing to do with AI in principle. AI is just a scalar over something that was already a broken trash fire in many cases.