r/claudeskills • • 8d ago

Discussion RIP manual code review

https://leaddev.com/software-quality/the-end-of-manual-code-review

JetBrains CEO gives it two years.

140 Upvotes

69 comments sorted by

76

u/InstanceEvening1219 8d ago

Y'all manually review code today?

13

u/FWitU 8d ago

I still push the merge button on my personal projects but I don’t give it more than a 30s glance at 1k line PRs. It’s basically dead for me. I should just get the rest of the pipeline set up to follow through and merge it itself and spend my time on the planning and architecture

3

u/Ok-Form1598 8d ago

i wouldn't automate the merge yet, that glance is the only time anyone checks ci on main before the next pr stacks on it

1

u/OtherwiseAlbatross14 4d ago

They aren't actually looking at it anyway

2

u/r0g0b0 8d ago

Y'all review code today?

1

u/euthanize-me-123 7d ago

Yes. I've caught Opus 5.5 making pretty amateurish security errors a couple times. It's rare but at least my skills are still useful for something.

1

u/Realichu 5d ago

Yes absolutely. If you don't, your org will failm

1

u/jess-sch 4d ago

I manually review the code, then do "@GitLabDuo does this MR fulfill [acceptance criteria]?" anyway because it feels more satisfying to have the AI complain about how obviously wrong their slop is.

1

u/OverallResolve 3d ago

I’m vibing but I have a separate workflow that determines if a review would make sense (e.g. not docs) and kicks off a review which can kick it back to dev. All personal projects with minimal risk

8

u/Nearby_Durian_5370 8d ago

we need claude review

2

u/-kora 7d ago

If we had claude security and claude review, I would live like a king

5

u/Healthy_Blueberr6404 7d ago

i dont read ai code- i measure the results and chart the friction of growing it to diagnose why it's brittle and DRY it at the source. none of it requires manual review

"it works or it doesn't" is one thing.

"10Million of them work at once at 3.5ms/frame, all while each is 256bytes of memory and only declares 5 in/out params" means the code is doing something right, not just showing off.

you probe the friction and solve it. it's practically the same thing.

1

u/--San-- 7d ago

You can't probe for the lack of bugs.

1

u/Healthy_Blueberr6404 6d ago

wicked problems can't be located by a manual review either. the errors 3-5 different auditing agents can miss aren't typos or surface level errors- they're deep nested failure states and hidden/silent bugs. those same class of error are better found through targeted stress testing or accidentally years down the line by consumers.

asking a few agents to read a file line-by-line and identify redundancy, errors and issues IS a manual review. that's what most people don't do in the first place.

4

u/kriptojew 6d ago

Yes, it's true. Adversarial reviews with quality input from experience fills the gap.

I like to have the reviews give code examples and compare solutions and styles to understand things still. Understanding code matters, but you're not getting lost in syntax.

It sounds crazy, but self-review of code is like proofreading your own writing, and an adversarial review is better than any PM or junior.

For security critical infrastructure, in person whiteboard and discussions of design patterns and risks is vital.

3

u/ChemicalExcellent463 8d ago

a 30 second glance at 1k lines is basically merging blind. before a big push i get a different model to review in a fresh session that never saw the chat, then fix what comes back; anything over the cap on files or changed lines gets split or doesn't merge.

3

u/trakdtor 8d ago

This is basically blind as well

1

u/ChemicalExcellent463 8d ago

what would a review you'd trust look like on a 1k line change?

0

u/elmorepalmer 7d ago

Why not have same model review it in a new session? If its the model you trust to write the code?

2

u/ChemicalExcellent463 7d ago

a new session is still the same model. i want the second opinion from a different model family, from a different vendor, so i have Claude write and Codex review.

1

u/elmorepalmer 7d ago

Seems sort of arbitrary to me, but if its working well for you, then good.

1

u/ChemicalExcellent463 7d ago

what does the same model in a new session usually catch in your code?

2

u/elmorepalmer 6d ago

Anything that a normal code review would catch, errors, bugs, misused/frail interfaces

1

u/ChemicalExcellent463 5d ago

what was the last misused interface it flagged?

2

u/elmorepalmer 5d ago

Not sure if literally the last, but yesterday flagged a mistyped protocol in a service that communicated in SOAP with a really old provider that would have caused a hard to debug crash (codebase is in Elixir)

→ More replies

3

u/FrugalityPays 7d ago

I don’t know anything about code review but I’m having Claude write and then sending it to Codex for review. The. Having Claude correct before pushing to GitHub. Is this a reasonable approach?

1

u/ChemicalExcellent463 7d ago

yes, I use Claude to write and Codex to review too. just don't let Claude fix everything Codex says: I only fix problems in normal use where the smallest fix adds no new behavior, the rest just gets listed.

4

u/bwat47 7d ago

just don't let Claude fix everything Codex says

Especially if using 6.2 lol, its become way to pedantic at code review and will come up with 15 "major" issues for a 10 line code change, all of which are the most absurd of edge cases

1

u/ChemicalExcellent463 7d ago

i don't add a safeguard unless there's a log line or a red test showing the failure. how many of those 15 did you end up fixing?

2

u/bwat47 7d ago

yeah with 6.2 I have to ignore 75% of its feedback or it becomes an overengineered mess

1

u/ChemicalExcellent463 7d ago

75% is a lot to read just to throw out. how do you pick the 25% worth fixing?

3

u/bwat47 7d ago

Sometimes its immediately obvious that its a stupid edge case that no one will run into, other times I will ask it to give me steps to manually reproduce the issue to see if it seems reasonable to fix or not (e.g. if the steps involve metaphorically standing on one leg and spinning around, I think we can ignore that one)

Maybe there's some agents.md guidance or something that could make it use better judgement when identifying issues, but it's not something I've tried tweaking, I've mostly just been using other models for code review lately

1

u/ChemicalExcellent463 7d ago

standing on one leg is a good cutoff. which model do you hand the reviews to now?

2

u/FrugalityPays 7d ago

Ooohhhh, how do I know how to discern what should and should t be fixed? I usually just have them going back and forth until everything seems resolved and what I’m looking is produced

2

u/ChemicalExcellent463 7d ago

ask codex: "what would someone click or run in normal use to hit this, and can you show it failing in a test?" don't have claude change it just to make the back and forth stop, get that failure first.

2

u/FrugalityPays 7d ago

Oh this is super helpful, thank you!

1

u/ChemicalExcellent463 7d ago

try it on the last thing those two kept going back and forth on. what was it?

2

u/FrugalityPays 7d ago

Claude creating videos based on my notes and using images as inspiration for the style. So this sound like it might be a great target.

The other is a brain.fm copycat I wanted to see if it could do just for shits and giggles. Turning out really nice so far

2

u/ChemicalExcellent463 6d ago

what has codex been asking you to change on the videos from your notes?

2

u/FrugalityPays 6d ago

Honestly, I don’t know, haha

It all seems to be technical stuff on the backend

I just know that when I send the changes back to Claude it seems to agree or just make the changes. Everything seems to work as an idiot who asked for a thing and got the thing.

Claude pushes everything to GitHub so I get my little green square and can jump between my desktop windows machine and apple laptop

→ More replies

3

u/WillDanceForGp 7d ago

Until the day when every PR opened by an agent doesn't require a carpet bombing of comments to make it shippable I'll be scrutinizing them the same way I always have

4

u/smoke-bubble 6d ago

one of very few comments here knowing what they are doing. people here seem to accept any kind of garbage

1

u/egonosz 6d ago

Well, there are many companies who are pushing people because with AI you should be like 5x faster. Many companies reward that when people not doing proper reviews, a “high performer” will not review they code just ask ai test it and they push it, after a low performer will actually take time to review it, and the company will reward the “high performer”.

1

u/CraftyCrooksie 5d ago

The industry has once again forgotten that producing huge amounts of code isn't the same as being productive.

I spend large parts of my working week reviewing 2000+ line PR's, which could have been implemented in 200 lines of code with a couple of abstractions, or by reusing existing code in the repo.

The llms are clearly better than they were a year ago but as far as I can see, the only reason they are getting better is that they now write tests to prove their code works before they say it's done. The issue is, our work projects now have 1000's of unit tests and they are really brittle. I changed the capitalisation of the text of a button yesterday and had to update 15 files of tests that depended on the capitalisation of that button.

If Claude was a junior engineer on my team, we would be having performance management conversations. What's more worrying is now my senior engineers are delivering code of worse quality than a junior used to.

1

u/Puree-Cucumber 7d ago

I’m sure their investors love the idea of their CEO courting an existential threat against their entire product line.

1

u/SensitiveChoice153 6d ago

It’s a private company

1

u/rednix 7d ago

We developer https://dengel.dev for this - with a European angle. And a bit more like a Git Server and a software factory.

1

u/Lizardgic 7d ago

Seems interesting but it sounds like dengue

1

u/rednix 7d ago

It’s a Northern German language called plattdeutsch. To dengel means using a hammer to bring a blade into shape. It can also mean to bring something into shape.

1

u/Lizardgic 7d ago

Thanks for the explanation! Sorry if it came off rude :)

1

u/rednix 7d ago

No problem, I love to educate people about an old Northern German language called Plattdeutsch. :) I love using it to name my software modules in Plattdeutsch…

1

u/andreagrandi 7d ago

RIP pay walled / login walled articles

1

u/reliant-labs 6d ago

we built https://reliantlabs.io/ to automate this. hard to keep up, the pace is crazy, ie: now that claude has /ship, but ours is still more customizable

1

u/Faangdevmanager 6d ago

We do semi-automatic code reviews. AI can catch syntax errors, missed returns, overflows, etc. But AI also helps us focus code reviews on architecture rather than making sure memory is preallocated correctly.

1

u/andlewis 6d ago

Studies show that humans can (on average) review about 450 lines of code an hour with meaningful understanding. And that an hour of that kind of focus drains your ability to do it multiple times a day.

The sloppiest of slop canons can generate more code than that by orders of magnitude in the time it takes to start a manual review.

Human review doesn’t scale, even with prioritization and risk assessment, you’ll find yourself out run by agents. I don’t see any pressure to slow down the agents, so the only solution is finding efficiencies in reviews, which mostly means getting rid of the human component.

1

u/behusbwj 5d ago

CC is still pretty terrible at architecture. If you don’t review the code, chances are it wrote spaghetti that you won’t be able to debug for your life (or career) at 3 am

1

u/Competitive_Will2991 5d ago

Code reviews are bullshit and always have been. 

“Hey I’ve asked you 3 times to review my pr this week, can you get to it? I’m trying to get it merged this century.”

“LGTM”

Every damn time. 

1

u/THROWAWTRY 5d ago

Garbage in, Garbage out.

1

u/Broken_By_Default 3d ago

Let's not all pretend you weren't just typing 'LGTM' responses in your reviews.

0

u/GrayLiterature 7d ago

I only do manual code reviews when someone asks me a question or isn’t sure about what they’re shipping.

Otherwise, I assume it’s either fine or has bugs we’ll deal with later at some point. My job is not to review code anymore its to increase pipeline throughput in GitHub and god dammit I’ll do the best job I can do.

1

u/AminoOxi 7d ago

"we'll deal later with the bugs" ... Well what could possibly go wrong there.

-1

u/alewex 7d ago edited 7d ago

At work we recently did a 2 week sprint test where we worked on the tech debt backlog and had automated review loops that basically raised any major blocking issues and other agents addressed those issues to a point that satisfied the reviewing agent, then automatically merged once it got approved, no human-in-the-loop.

The result was a hot mess, features that were working perfectly fine were now broken, countless regressions introduced and some went on to implement completely unrelated bug fixes and feature “improvements”.

Manual code review is far from over.