software engineering3 min read

Usage metrics API adds pull request review stages in GitHub Changelog

27 similar posts
  • GitHub Copilot
  • GitHub Usage Metrics API

AI Summary

GitHub's usage metrics API now includes pull request review stages in enterprise and organization repository-level reports. A new pull_request_review_times array breaks down durations into median and 90th percentile metrics for ready-to-first-review, first-to-final-review, and final-review-to-merge stages. This update helps engineering teams identify specific bottlenecks in their code review workflows, distinguishing between review delays, revision cycles, and unmerged approved PRs.

Key Takeaways

  • Introduces pull_request_review_times array in repos-1-day reports.
  • Tracks median and 90th percentile durations for three distinct review stages.
  • Only includes human reviews and builds data forward from the release date without backfilling.

Why it matters

Granular metrics on pull request review stages allow engineering managers and teams to identify exact bottlenecks in the code review pipeline, differentiating between review latency, back-and-forth revision time, and delays before merging.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.