Glossary

PR Time To Merge

PR time to merge is the elapsed time between opening a pull request and merging it into the target branch, usually reported as a median in hours.

PR Time To Merge

What Is PR Time To Merge?

PR time to merge is the elapsed time between the moment a pull request is opened and the moment it is merged into the target branch. It covers the wait for a first review, the review rounds, any rework, and the wait for approval and automated checks. Teams usually report it as a median in hours or days.

Why PR Time To Merge Matters

Code that sits in an open pull request delivers nothing and keeps drifting from the main branch. When time to merge grows from hours to several days, authors start new work while they wait, merge conflicts increase, and reviewers face larger batches of stale code.

How PR Time To Merge Is Measured

The formula is time to merge = merge timestamp - open timestamp, expressed in hours or days.

A pull request opened on Monday at 10:00 and merged on Wednesday at 16:00 has a time to merge of 54 hours. For a set of pull requests, the median is more useful than the mean. Five pull requests that took 2, 5, 8, 20 and 70 hours have a median of 8 hours and a mean of 21 hours, because one slow pull request pulls the mean up.

PR Time To Merge vs PR Cycle Time

PR cycle time usually starts at the first commit on the branch and ends at merge, so it includes the coding time before the pull request exists. PR time to merge, in its common definition, starts when the pull request is opened.

How Oobeya Uses PR Time To Merge

Oobeya shows pull request times on the Pull Requests tab of each repository under Coding, Review & Delivery. It reports coding time from first commit to pull request open, review time from open to close, and time to merge from first commit to close. The open-to-merge interval described above therefore appears as review time in Oobeya. The Symptoms catalog flags a team with high code review time, with a threshold administrators can change.

Frequently Asked Questions

What is a good PR time to merge?

There is no universal target. The value depends on pull request size and review policy, so teams judge their own median over time and look closely at the slowest pull requests.

Why is the median used instead of the average?

A few pull requests that stay open for weeks distort the average. The median shows the typical pull request.

What makes PR time to merge long?

The usual causes are large pull requests, a long wait for the first review, too few people allowed to approve, and slow or failing automated checks.

Related Pages

Move from definition to product context with the most relevant Oobeya pages for this term.

Turn Engineering Terms Into Actionable Visibility
Move from definitions to real delivery, quality, workflow, and AI-assisted development signals.
Talk to our experts and see how Oobeya connects the metrics behind your engineering organization.