To reduce pull request review time with AI, point the AI at the two parts of review that are waiting, not thinking: the wait for a first response, and the rounds spent on mechanical fixes. An AI reviewer answers in minutes at any hour and can patch the simple findings itself. It does not shorten the part where a person decides whether the change should exist. Set it up so the human arrives at a pull request that is already clean, and measure the result with the command below.
Where pull request review time goes
“Review time” is three different waits added together. They have different causes, and AI helps with each to a different degree.
| Wait | What it is | Can AI shorten it? |
|---|---|---|
| Time to first review | From opening the PR to the first comment from anyone | Yes, to minutes |
| Review rounds | Comment, fix, push, wait, repeat | Partly: the mechanical rounds |
| Decision | A person with authority reads it and approves | No. It can make the read shorter. |
Measure it first
Get a baseline before changing anything. This uses the GitHub CLI
and jq, and reads the last 50 merged pull requests of a
repository:
gh pr list --repo OWNER/REPO --state merged --limit 50 \
--json number,createdAt,mergedAt,reviews | jq '{
prs: length,
reviewed: (map(select(.reviews | length > 0)) | length),
median_hours_to_first_review: (
map(select(.reviews | length > 0)
| ((.reviews | map(.submittedAt) | min | fromdateiso8601)
- (.createdAt | fromdateiso8601)) / 3600)
| sort | .[length / 2 | floor] | . * 10 | round / 10),
median_hours_to_merge: (
map(((.mergedAt | fromdateiso8601)
- (.createdAt | fromdateiso8601)) / 3600)
| sort | .[length / 2 | floor] | . * 10 | round / 10)
}'
We ran it against vitejs/vite on 28 November 2026. Of
the 50 most recently merged pull requests, 41 had a review; the
median time to first review was 3.9 hours and the median time to
merge was 9.4 hours. That is a fast, well-staffed open source
project. Your numbers are the ones that matter, so run it on your
own repository and keep the output.
1. Remove the wait for a first response
The longest single gap in most pull requests is the first one: the author is finished and nobody has looked. A human reviewer is in a meeting, asleep, or deep in their own work. An AI reviewer installed on the repository reads every pull request when it opens and comments within minutes.
The gain is not the comments alone. It is that the author is still in context when they arrive. A bug pointed out four minutes after the push is fixed in the same sitting. The same bug pointed out the next morning costs a context switch on both sides.
2. Take the mechanical rounds off the human
Many review rounds are not about design. A null check is missing, an error is swallowed, a test was not updated, a renamed field was missed in one place. Each costs a full loop: reviewer comments, author fixes, CI runs, reviewer returns.
Let the AI run that loop before the human is asked. The reviewer flags the finding, the author or a patching agent fixes it, the reviewer checks the fix on the next push. When the pull request reaches a person, those rounds have already happened.
How to keep that loop from running forever, or from costing a full review on every push, is covered in How to structure an AI PR review loop.
3. Make the human read shorter
The decision still belongs to a person. What you can change is how long the read takes.
- Request human review after the AI pass is clean. Open as a draft, let the AI review and the fixes land, then mark it ready. The reviewer sees the finished version once.
- Write the description for the reviewer. What changed, why, how it was tested, what to look at first. An AI reviewer reads it too and reviews against the stated intent. There is a copyable one in our pull request description template.
- Keep pull requests small. AI review does not change the fact that a 1,500-line diff is harder for a person to review well than three 500-line ones.
- Tell reviewers what the AI already covered. If the AI has checked error handling and test updates, the human can spend their time on design, naming and risk. The split is in our pull request review checklist.
How AI makes review slower
An AI reviewer can add time instead of removing it. These are the ways it happens.
- Noise. If a third of the comments are style opinions or wrong, authors spend review time arguing with a bot, then learn to ignore it. A reviewer that is quiet on a clean diff is worth more than one that always finds something.
- A full review on every push. Re-reviewing the whole diff after each commit produces new comments on old code and resets the conversation. Follow-up reviews should check what was open and look at what changed.
- Blocking on the bot. Making AI approval a required check turns every false positive into a stuck pull request. Keep it advisory until you have measured its accuracy.
- Treating it as the approval. If people stop reading because the AI passed it, review gets faster and worse. That is not the goal.
To check which of these you have, label a month of AI comments as acted on, ignored or wrong. The method is in AI code review metrics: a 30-day scorecard.
A setup to copy
- Run the command above and save the output.
- Install an AI reviewer on one active repository, as advisory, not a required check.
- Authors open pull requests as drafts and mark them ready once the AI pass has no open findings.
- Turn on automatic patches only for mechanical findings, and only after two weeks of reading the comments yourselves.
- After 30 days, run the command again. Compare median time to merge, not only time to first review.
- Label a sample of AI comments. If more than a few in ten were ignored or wrong, fix the noise before rolling out further.
What to expect
Time to first review will fall to minutes, because a bot answers first. Whether time to merge falls depends on where your time was going. If pull requests waited a day for a first look and then went two rounds on small fixes, expect a real change. If they wait on one senior engineer’s approval, AI review will make their read shorter but will not move the queue. That needs more approvers or smaller pull requests.
On Mergestorm the pieces above are Vortex, which reviews each pull request when it opens and on each push, and Cyclone, which pushes fixes for the findings. For how one reviewer compares with several, see Swarm vs fleet.