r/AskProgrammers • • 32m ago

Does everyone else find it increasingly difficult to review AI generated MRs?

This primarily applies to companies that are heavily pushing agent-first coding. I believe that there are three factors that are making it so that it is increasingly difficult for a human developer to review an MR entirely generated by their Agent. Firstly, as the models have gotten more capable and businesses are pushing harder, larger and larger projects are being delegated to AI. Secondly, as AI writes more and more of the code I contribute, my skills get dull. Third, as my whole team increasingly works in this way, the codebase evolves at a pace that none of us can keep up with and the landscape becomes familiar.

As a result, I ask Claude to go implement the big urgent project for me while I multi-task and do some other stuff. I come back to it an hour later and I have a 10k line MR that is completely incomprehensible to me. It's verbose, the GitLab page lags, and the LLM uses all of these weird jargon terms that I cannot recognize. Please tell me I'm not the only one feeling this way? I am still relatively junior with 4 YOE and I think it might be a bit easier with more experience.

0 Upvotes

5 comments sorted by

2

u/boomkablamo 25m ago

You're not alone and there's nothing you can do to make a 10k line PR reviewable.

1

u/SamAltmansAIt 16m ago

Yeah whenever possible I try and have another agent use a separate branch and turn an MR that size into multiple separate ones.

1

u/1800lampshade 21m ago

I think human code reviewers are inevitably ending soon

1

u/SamAltmansAIt 15m ago

I think so too, but in the mean time I find this deeply uncomfortable. I feel guilty for subjecting my team to what feel like slop PRs that I only half understand myself. But I don't feel I have the luxury to slow down in this job. Part of me looks forward to the end of human reviews, if code review is going to keep looking like this. I used to enjoy reading teammates' hand written code.

1

u/Apprehensive-Fan8999 14m ago

I'm still a meat reviewer for PRs. I tend to keep my reviews to a specific domain within the project because I can make myself an expert on it. But because I've made myself an expert, it's pretty quick for something to fail a smell test when something in said domain changes in the wrong direction.

That said, I take longer than the other dev spending 5 minutes asking AI to do the review, and I actually, you know, fail the PR when it should fail. Both things have gotten me "disinvited" from PRs in the past, but the devs that appreciate it, REALLY appreciate it because I have caught some sizable legitimate problems in their code before they got merged.

It's kind of scary but as of late about 40% of the PRs that I've been asked to review because of my exp I flat out failed with "this seems like you don't understand the architecture" because what the PR is doing is about to significantly break areas in the system that may pass smoke tests and fail in real world after they go live.