GitHub API adds three-stage pull request review timing metrics

Editorial illustration of a transparent three-chamber hourglass representing pull-request review stages, with a few code sheets stalled to show long-tail delays.

GitHub has added pull request review-stage timing data to its enterprise and organization repository-level Copilot usage metrics reports. The new `pull_request_review_times` array shows how long qualifying pull requests spend waiting for a first review, moving from first review to final review, and waiting between final review and merge.

Three points of delay

Each daily repository record reports median and 90th-percentile durations for all three stages, measured in minutes. It also includes the number of qualifying pull requests merged that day and identifies whether the entries concern pull requests authored and reviewed by people. The timings are attributed to the day the pull request was merged.

What the breakdown reveals

The split gives teams more detail than a single merge-latency figure. A long first stage can indicate that a pull request is waiting to be noticed, while a long interval between the first and final review may point to extended review discussion. Time after final review can show that approved changes are still waiting for the merge step. Comparing the median with the 90th percentile can also distinguish a broad delay from a smaller group of unusually slow pull requests.

Narrower than total merges

The new metrics count pull requests opened by one person and reviewed by at least one other person. Only human reviews are timed: the author’s review, Copilot code review, and other bot reviews are excluded. A pull request reviewed by both a person and Copilot code review can still qualify. Because of that rule, `pull_request_review_times[].total_merged` will generally be lower than the existing `pull_requests.total_merged` value, which also includes merges without reviews.

Availability and data limits

The data is available in enterprise and organization `repos-1-day` reports when the Copilot usage metrics policy is enabled. Access is provided to enterprise owners and billing managers, organization owners, and users with a custom role granting the View Copilot Metrics permission. GitHub says the data is not backfilled: pull requests that became ready for review before September 21, 2026 are omitted from this section, although they remain in the broader merge totals. Early records may therefore be sparse, and a day with no qualifying merges appears as an empty array rather than a zero value. The existing pull request fields are unchanged.

AI-generated editorial illustration; not a documentary photograph.

Source: Usage metrics API adds pull request review stages

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *