Code Review Turnaround Time
What Is Code Review Turnaround Time?
Code review turnaround time is the time between a pull request being opened for review and the first response from a reviewer. A response is a comment, a change request or an approval. The metric is also called time to first review or pickup time.
Why Code Review Turnaround Time Matters
While a pull request waits, its author starts something else. When feedback arrives two days later, the author has to stop the new task and reload the old one, and the branch has drifted from main. Slow first response is one of the most common reasons a change that took three hours to write takes a week to merge.
How Code Review Turnaround Time Is Measured
turnaround time = time of first review activity − time the pull request was opened for review
The unit is hours, and the median over a period is the usual summary, since a few forgotten pull requests distort the average. For example, a pull request is opened on Monday at 10:00. The first reviewer comment arrives on Tuesday at 14:00. Turnaround time is 28 elapsed hours. If the team has five pull requests in a week with turnaround times of 1, 2, 4, 6 and 28 hours, the median is 4 hours and the average is 8.2 hours.
Draft pull requests are normally excluded until they are marked ready.
Code Review Turnaround Time vs PR Time to Merge
Turnaround time ends at the first review response. PR time to merge ends when the pull request is merged, so it also includes the review rounds, rework and final approval. A team can have fast turnaround and slow merges if reviews go through many rounds.
How Oobeya Uses Code Review Turnaround Time
Oobeya reports review timing on the Pull Requests tab under Analytics > Coding, Review & Delivery. The tab shows pickup and review time, time to merge, cycle time and pull request size per repository. The same review metrics appear on each team scorecard in Team Health. The high code review time (stale pull requests) Symptom is raised when pull requests wait longer than a threshold that administrators can change.
Frequently Asked Questions
What is a good code review turnaround time?
Shorter is better. Many teams set a working agreement that every pull request gets a first response within one working day, and often within a few hours.
How can a team shorten review turnaround time?
Smaller pull requests, a daily review slot, automatic reviewer assignment and a limit on open work per person all shorten the wait.
Related Terms
Related Pages
Move from definition to product context with the most relevant Oobeya pages for this term.