GitHub 新增 Repository insights 以追踪 Copilot 代码审查效果
Track Copilot code review outcomes in Repository insights
GitHub 在代码仓库 Insights 选项卡中新增 Repository insights 页面,支持集中追踪 Copilot 代码审查的采纳效果。该页面提供已采纳意见数、高危意见采纳数、无后续人工修改要求的 PR 数以及未被审查即合并的 PR 数等汇总指标,并展示采纳率趋势与评论类型分布。
该功能将审查采纳率与后续人工介入情况量化为具体指标,便于团队直观评估 AI 辅助评审的落地质量与覆盖盲区。

You can now see how Copilot code review feedback lands in each repository. A new “Repository insights” page, the first item in a repository’s Insights tab, brings Copilot code review outcomes together in one place.
What’s new
Repository insights show four summary signals for each repository:
- Comments addressed: Copilot code review comments that were acted on.
- High-severity comments addressed: High-severity Copilot code review comments that were acted on.
- Pull requests with no later human change request: Pull requests reviewed by Copilot that didn’t receive a later change request from a human reviewer.
- Merged pull requests without Copilot review: Merged pull requests that Copilot code review didn’t review.
You can also explore:
- Addressed rate: The share of evaluable comments that were addressed, with its numerator, denominator, unevaluable exclusions, trend over time, and supported breakdowns.
- Comment categories: The types of feedback Copilot code review leaves in the repository.
The same metrics are also available in the enterprise and organization repository 1-day reports (repos-1-day) in the Copilot usage metrics API.
Why this matters
Repository insights show whether developers act on Copilot code review feedback, whether human reviewers still request changes after Copilot reviews a pull request, and where merged work skips Copilot review entirely. Use these insights to find repositories with coverage gaps and focus enablement where it will have the most impact.
Important notes
- You can view Copilot code review outcomes in the Repository insights page if you have read access to the repository.
- Enterprise owners and billing managers, organization owners, and anyone with a custom organization or enterprise role that grants the
View Copilot Metricspermission can access the repository 1-day reports through the API. - The Copilot usage metrics policy must be enabled to support this functionality.
Visit the Repository insights documentation and Copilot usage metrics API documentation to get started.
The post Track Copilot code review outcomes in Repository insights appeared first on The GitHub Blog.
来源:GitHub Changelog · github.blog