In October 2026, a developer on Hacker News wrote: "No one's going to come out and admit that they're just stamping LGTM on every pull request because they can't bear to review another net 2,000 lines of AI-generated code." Earlier that year, another complained that "corporate has mandated AI usage and is asking people to do 10k LOC PRs every day."
If your team works in Cursor, Claude Code, Copilot or with coding agents, output has probably gone up. In March 2025 we wrote about how coding assistants speed up development. This post covers who checks all that code, and how to keep review from turning into a rubber stamp.
The numbers
Most of the data below comes from companies that sell a way to check code, so treat each study as one signal. Veracode has run the same security tasks against AI models since 2025, when code from more than 100 models introduced security vulnerabilities in 45 percent of cases. Its October 2026 update, covering 18 current models in Python, C#, JavaScript and Java, found the first real improvement: the average pass rate went from 56 percent to 62 percent. That still leaves 38% of samples failing. Java code passed only 31% of the time, and log injection fixes passed 13% of the time, unchanged, because, in Veracode's words, log injection "requires data-flow reasoning across multiple functions, where LLMs continue to stall."
Faros AI, an engineering analytics company, published two years of telemetry from 22,000 developers on more than 4,000 teams in April 2026. Comparing each organisation's periods of lowest and highest AI adoption, median time in review rose 441.5%, pull requests merged without any review, human or agentic, rose 31.3%, and the ratio of incidents to pull requests rose 242.7%. Faros reports these as associations within its own data.
Google's DORA research, a survey of nearly 5,000 professionals, points the same way. Its 2025 report found AI adoption now has a positive relationship with throughput, but "does continue to have a negative relationship with software delivery stability."
In Fortune 50 repositories, the security vendor Apiiro found AI-assisted developers produced three to four times more code, but packed it into fewer pull requests that touched more parts of the codebase, and exposed cloud credentials and keys nearly twice as often. Our plan for inherited vibe-coded apps covers its other findings. In one case an AI-driven pull request changed an authorization header across several services, and one downstream service wasn't updated, which left a silent authentication failure, Apiiro's Itay Nussbaum said, as reported by The Register.
Why reviews stop working
Most review habits assume the author wrote the code and can explain it. With agents, the reviewer is often the first person to read it closely. One developer described the moment they noticed: "I am not reviewing the work my teammate did." In their words, the real work is "the decisions made in the conversation" with the agent, and those never reach the pull request.
Volume makes it worse. SmartBear, which sells a code review tool, says, based on a study of a Cisco team, to "review no more than 200 to 400 lines of code (LOC) at a time", and its research finds defect density drops at rates faster than 500 lines an hour. A 2,000-line pull request needs several sittings to read properly.
Let machines go first
Anything a tool can check should be checked before a person opens the pull request.
Check | What it catches | What it misses |
|---|---|---|
Types | Wrong shapes, missing fields | Right type, wrong value |
Linter and duplication | Dead code, copy-paste | Whether the design fits |
Tests in CI | Broken behaviour you specified | Cases nobody wrote down |
SAST scanner | Injection, XSS, unsafe calls | Access control, business rules |
Dependency scan | Known vulnerable versions | Packages that shouldn't exist |
Secrets | Keys and tokens in commits | Secrets in logs or settings |
Make the checks required. A GitHub branch protection rule with required status checks blocks the merge until CI passes. Turn on "Do not allow bypassing the above settings", because admins skip the rules by default. On a private repository this needs GitHub Pro or Team. To test it, ask someone without admin rights to open a pull request with a deliberately failing test, and confirm they can't merge it.
Block secrets at push time. GitHub's push protection blocks pushes that contain supported secret types. It needs GitHub Secret Protection and is off by default, so check every repository. Anyone blocked can also pick a reason and push anyway. Turn on delegated bypass so a named reviewer has to approve it.
Check each new dependency by hand. In a USENIX Security 2025 study of 16 models, on average at least 5.2% of the packages commercial models suggested didn't exist, and 21.7% for open-source models. Attackers can register those names. For every new entry in package.json or requirements.txt, open its registry page and check its age, its maintainers and the repository it links to.
Start SAST strict and narrow. OWASP lists "High numbers of false positives" among scanner weaknesses. If the first run shows 400 warnings, people learn to ignore it. Fail the build on high-severity findings only, and work through the rest weekly.
Prove the tests test something. Agents write tests that pass. Revert the code change locally, keep the new test and run it. If it still passes, it doesn't cover the change.
Where a human must look
OWASP lists authentication, access control and insecure use of cryptography among the flaws scanners find hard. Apiiro's header change and Veracode's log injection results add flaws that show up only when you follow data across files and services.
Put those paths under CODEOWNERS with "Require review from Code Owners" on, as in our guardrails for teams that keep prompting. List at least two owners per path, because authors can't approve their own pull requests. Typical paths:
sign-in, sessions and permission checks;
payments, refunds, credits and pricing;
database migrations and anything that deletes data;
API contracts, shared headers, events and queues;
the .github folder, with CI workflows and CODEOWNERS.
On these paths, the author reviews first. The pull request description says what the agent was asked to do, how the result was tested, and which parts the author is least sure of. As the developer tired of 10k-line pull requests put it, "I don't want to read your code if you haven't bothered to read it yourselves."
Size PRs for one sitting
Google's engineering guide says "100 lines is usually a reasonable size" for a change and "1000 lines is usually too large". The right size is "one self-contained change", with refactoring in a separate change from new behaviour. DORA's 2025 AI Capabilities Model lists working in small batches as one of seven practices that decide whether AI helps, and calls it "especially powerful in an AI-assisted environment."
Ask the agent for a plan first, then one pull request per step of the plan.
Have CI post a warning when a pull request changes more than about 400 lines, leaving lockfiles and generated code out of the count. Mark those files "linguist-generated" in .gitattributes too, so GitHub collapses them in the diff and reviewers start on the code a person wrote.
AI reviewers, with limits
AI reviewers such as Copilot code review and CodeRabbit make a quick first pass. GitHub's own docs say "Copilot is not guaranteed to spot all problems" and tell you to "Supplement Copilot's feedback with a human review." By default its reviews don't count toward required approvals. GitHub lets you change that so Copilot can approve; leave it off.
Tell the reviewer what to look for. CodeRabbit, itself an AI review vendor, found in 470 open-source pull requests that AI co-authored ones had more than three times the readability issues, nearly twice the error-handling gaps and about eight times the excessive I/O operations. Its suggested checklist includes "Are error paths covered?" Put your own list, built from the bugs your team actually ships, into the reviewer's instructions file, such as .github/copilot-instructions.md for Copilot.
Let it review when the pull request opens, and have the author resolve its comments before asking a person. Once a month, take 20 of its comments and count how many led to a change. If few did, tune its instructions or drop it.
Metrics worth watching
In METR's 2025 study, experienced developers took 19% longer with AI while believing they'd been 20% faster. METR's 2026 update says developers are likely sped up more now, though its data is weak evidence of how much, so a team's sense of speed still can't replace its numbers.
Metric | What it tells you | Watch for |
|---|---|---|
PR size | Whether review is possible | Median creeping up |
Time to first review | Reviewer load | Rising week on week |
Merged without review | Holes in the gate | Anything above zero |
Change fail rate | Problems reaching users | Rising with output |
High-severity findings | Security debt | Open over 30 days |
Rework rate | Unplanned fix deploys | Rising with output |
To find unreviewed merges, search GitHub for "is:pr is:merged review:none". Change fail rate and deployment rework rate are two of DORA's five delivery metrics; rework rate counts deployments that are unplanned and happen because of an incident in production.
How we audit this
Our code and security audits start from your repository and pipeline as they are. We check which gates actually block a merge, read the sign-in, payment and data paths line by line, try to open other customers' records from a second test account, and leave the missing checks wired into CI, with a short list of what to fix first.

