prcodereview Guides · by the Mergestorm team Try it free on a PR

Guides · Practice

How to reduce pull request review time with AI

28 Nov 2026 · ~7 min

Written by the Mergestorm team.

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.

How AI makes review slower

An AI reviewer can add time instead of removing it. These are the ways it happens.

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

  1. Run the command above and save the output.
  2. Install an AI reviewer on one active repository, as advisory, not a required check.
  3. Authors open pull requests as drafts and mark them ready once the AI pass has no open findings.
  4. Turn on automatic patches only for mechanical findings, and only after two weeks of reading the comments yourselves.
  5. After 30 days, run the command again. Compare median time to merge, not only time to first review.
  6. 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.