AI Writes Code Faster. Why Are PRs Taking 49% Longer to Merge?
After more than 20 years as a Tech Lead, what worries me most is not developers failing to deliver code. It is seeing Pull Requests (PRs) balloon at breakneck speed.
According to a Harvard University study cited by Ars Technica, as AI coding agents became more widely used, total lines of code at major IT companies increased by 30%, and the number of PRs rose by 23%. The irony? There was no significant increase in software features actually merged and shipped, while the average time to merge a PR jumped by 49%!
Why? The Human Review Bottleneck.
1. Writing code is easy. Cleaning up afterwards is hard.
AI generates code quickly, but it often focuses only on fixing the current bug, without considering long-term coupling in the system architecture or technical debt. The result is a pile of code that looks workable but lacks elegance and may hide risks.
2. Reviewing can be harder than writing it yourself.
When reviewing human-written PRs, we used to have shared protocols and an understanding of how each other worked. Now we have to re-verify hundreds of lines that AI generated in seconds, potentially hiding edge cases, security vulnerabilities or redundancy. Reviewing AI code demands constant vigilance: it can be confidently wrong.
The time spent reviewing PRs can completely offset the time AI saves during coding.
3. There is more back and forth.
The study reports 35% more comments, with the proportion of reviews requesting changes doubling. As a Tech Lead, when I see an elaborate AI-written PR that does not fit the system’s logic at all, I would honestly rather close it and ask the developer to rethink the implementation.
Faster coding does not mean faster delivery.
AI is an excellent tool. But if our capacity for human review, acceptance and deployment does not improve alongside coding speed, everything just gets stuck downstream.
Have you also found reviewing AI code exhausting lately, with the cleanup work landing on you?

Source: Ars Technica: AI coding agents generate more code, but not more software
#TechHK #SoftwareEngineering #TechLead日記 #AICoding #CodeReview #PRReview #IT人生 #HarvardStudy