Skip to content
Marvex

By need

Reduce Pull Request Cycle Time

Your average cycle time is four days. That single number is true and almost useless — until you know which of the four waits it is made of.

A stage-by-stage guide to reducing pull request cycle time, covering what long pickup, review, rework and merge times each indicate and which fixes actually apply to each.

Charts breaking a measurement down into component stages on a screen

Definition

The problem: Changes take days to get from opened to merged and nobody can say where the days go, so every proposed fix is a guess.

What changes

  • A stage-level breakdown of where every change loses time
  • The right fix for each stage instead of one blanket initiative
  • Rework loops made visible, having been invisible on the board
  • A re-measurable baseline so you know whether the change worked

What Marvex measures here

4
Stages: first response / pickup, review, rework, merge
2
Pull request attributes reported alongside the timings: size and review depth
2
Source control providers supported: GitHub and GitLab

Cycle time is a sum of four waits

Between a pull request opening and merging, a change passes through four distinct periods, and treating them as one number hides everything actionable. Marvex measures each separately: first response or pickup time, review time, rework time and merge time.

Two teams with identical four-day averages can need completely opposite interventions. One is spending three of those days waiting for anyone to look; the other gets a review within an hour but goes through five rounds of rework. Hiring a reviewer helps the first and does nothing for the second.

The breakdown is also the only honest way to evaluate a fix. "Cycle time went down" could mean the intervention worked, or that the mix of changes got easier. "Pickup time went from eighteen hours to three" is specific enough to believe.

Pickup: the cheapest hour you will ever win

First-response time is the interval between a pull request being ready and anyone engaging with it. It is the purest waste in the system, because no work is happening and no information is being produced. It is also usually the largest single stage, and the easiest to move.

Long pickup almost always has an ownership cause rather than a capacity one. Nobody was specifically responsible for looking, so everybody assumed someone else would. The interventions that work are unglamorous: a named review rota, a convention that requests go to a group rather than an individual, a bounded expectation such as "a first response within one working day", or a channel where open changes are visible.

Watch for the failure mode where a first-response target is met with a meaningless comment. That is why first-response time should be read alongside review depth, not on its own — an improvement in pickup that comes with a collapse in review substance is not an improvement.

  • Route review requests to a group, not to one person
  • Set an explicit first-response expectation, not a review-completion one
  • Make the queue of unreviewed changes visible somewhere the team already looks
  • Read pickup time next to review depth so the target cannot be gamed

Review: depth and latency are different problems

Once someone has engaged, review time is the interval until the change is approved. Long review time has two very different causes, and telling them apart requires the size and depth data alongside the timing.

Long review on a small diff usually indicates context switching: the reviewer engaged, then went back to their own work, and the change waits between comments. The fix is about protected review time or reducing the number of things a reviewer is holding, not about the change.

Long review on a very large diff is the change asking too much. A reviewer facing a thousand-line diff has three options — approve without really reading, spend a day on it, or leave it for later — and two of those are bad. This is where pull request size stops being a stylistic preference and becomes the throughput lever. Marvex reports size and review depth per pull request, so you can check on your own repositories whether your slow reviews are the large ones, rather than assuming it.

Rework: the loop nobody sees on the board

Rework time covers commits pushed after review has started. On a Jira board none of this exists — the ticket sits in "In Review" throughout — which is why rework is the stage most often missed and most often responsible for the difference between a team's perceived and actual cycle time.

Not all rework is waste. Review exists to change code, and a round of substantive feedback is the process working. The signal to look for is repetition: changes that go through three, four or five rounds. That pattern almost never means the author is careless. It usually means the approach was not agreed before implementation started, and review is being used to have a design conversation at the most expensive possible moment.

The fixes therefore sit before the pull request, not inside it: a short design discussion for anything non-trivial, a draft pull request opened early to surface direction, or simply breaking the change into a structural piece and a behavioural piece so each can be judged on its own terms.

  • One round of rework is review working; four rounds is a design conversation happening too late
  • Rework is invisible on a board — it lives entirely inside "In Review"
  • Fix it upstream of the pull request, not with faster reviewers

Merge: the queue after approval

Merge time is the wait between approval and the change actually landing. It is the most mechanical stage and the one least related to how anyone works: CI duration, required status checks, branch protection rules, merge queues, release windows and manual approval steps all live here.

Because it is mechanical, it is also the stage where an infrastructure investment has the most predictable payoff — but only if it is actually large. If merge time is five percent of your cycle time, halving CI duration will not change your lead time meaningfully, however satisfying it is to do. If merge time is a third of your cycle time, pipeline work is the highest-leverage thing your platform team could pick up.

This is the clearest case for measuring before investing, because CI improvement work is popular, visible and easy to justify without evidence.

Knowing whether it worked

Re-measure on the same definitions, over a comparable window, and look at the stage you targeted rather than at the headline number. A blanket cycle-time figure moves for many reasons — a quiet fortnight, a different mix of work — while a stage-level movement is much harder to explain away.

It also helps to keep the guardrail visible. Faster review with collapsing review depth, or shorter cycle time with a rising change failure rate, means the improvement was bought rather than made. Marvex holds the DORA metrics and the pull request breakdown in the same system, so the guardrail is one view away rather than in a different tool.

And accept null results. A change that does not move the stage it targeted tells you the constraint is elsewhere, which is genuinely useful information and much cheaper to learn in one sprint than in one quarter.

Frequently asked questions

What is pull request cycle time made up of?

In Marvex, cycle time is broken into four stages. First response or pickup time is the wait between a pull request being ready and anyone engaging with it. Review time is the interval from that first engagement to approval. Rework time covers commits pushed after review has started. Merge time is the wait between approval and the change actually landing, which absorbs CI runs, required checks and branch protection. A single cycle time average hides which of these dominates, and each has a different fix.

What does a long first-response time on pull requests indicate?

Almost always an ownership problem rather than a capacity one: nobody was specifically responsible for looking, so everyone assumed someone else would. It is the purest waiting time in the delivery process because no work is being done and no information is produced. Typical fixes are a named review rota, routing review requests to a group rather than an individual, an explicit first-response expectation, and making the queue of unreviewed changes visible where the team already looks.

What does repeated rework on a pull request usually mean?

One round of rework is review working as intended. Three, four or five rounds usually means the approach was not agreed before implementation began, so review is being used to have a design conversation at the most expensive possible moment. It is rarely a sign of carelessness. The fixes sit upstream of the pull request: a short design discussion for non-trivial work, opening a draft pull request early to surface direction, or splitting structural and behavioural changes so each can be judged separately.

Does pull request size affect review time?

It is widely believed to, and it is a relationship you should verify on your own repositories rather than assume. Marvex reports pull request size and review depth alongside the stage timings, so you can check whether your slow reviews really are the large ones. Mechanically the reason is straightforward: a reviewer facing a very large diff can approve it without reading closely, spend a long block of time on it, or defer it — and two of those three outcomes lengthen cycle time or reduce review quality.

Is faster cycle time always better?

No, and it is easy to buy rather than earn. Review depth collapsing, tests being skipped or staging being bypassed will all reduce cycle time while making delivery worse. Read cycle time alongside review depth and the stability metrics — change failure rate and mean time to recovery. If cycle time falls while change failure rate rises, the improvement moved cost downstream rather than removing it.

How do I tell whether a cycle time intervention actually worked?

Re-measure the specific stage you targeted, on the same definitions, over a comparable window — not the headline cycle time figure, which moves for unrelated reasons such as a quieter period or a different mix of work. A movement in pickup time from eighteen hours to three is specific enough to believe; a change in overall average is not. Also check the guardrails: review depth and change failure rate should not have degraded while the targeted stage improved.

Where does CI pipeline duration show up in cycle time?

In merge time, the stage between approval and the change landing, which also absorbs required status checks, branch protection rules, merge queues and release windows. Whether pipeline work is worth doing depends on how large that stage is in your data. If merge time is a small fraction of cycle time, halving CI duration will barely move lead time. If it is a third of cycle time, pipeline work is likely the highest-leverage available improvement.

Marvex

Put this in front of your teams whose changes take too long to get from open to merged

Connect GitHub, GitLab or Jira and Marvex builds your DORA, cycle-time and sprint views from the history you already have.