官方更新 GitHub Changelog Thu, 27 Aug 2026 正文 ok 252 words

Copilot 代码审查新增解决原因并扩展审查能力

英文标题:Copilot code review: Resolution reasons and expanded capabilities

GitHub Copilot code review 现可审查此前未覆盖的两类拉取请求:由机器人(包括 Copilot cloud agent)创建并自动请求审查的 PR,以及超大型 PR。对于机器人创建的 PR,启用相应组织策略后,审查用量可直接计入组织账单;Copilot cloud agent 创建的 PR 也将获得完整的 Agent 式审查体验。此前每个 PR 最多 300 个文件或 20,000 行代码的审查限制已取消。开发者现在还可在解决 Copilot 审查评论时标注“已处理”“不会修复”或“不正确”,为产品团队提供反馈。
打开原文相关 3 · 机会 4
media112.6 KB media16.2 KB media85.4 KB media225.2 KB

中文

Copilot code review 现在可以审查此前未覆盖的两类拉取请求:

  • 对由机器人(包括 Copilot cloud agent)创建的拉取请求自动发起的审查
  • 超大型拉取请求

此外,现在你还可以提交解决某条 Copilot code review 评论的原因。

当拉取请求由机器人创建且自动请求审查时,没有可用于归属该审查的 Copilot 许可账户。启用“Allow members without a Copilot license to use Copilot code review in GitHub.com”策略后,Copilot code review 现在可以审查这些拉取请求,并将使用量直接计入你的组织账单。详情请参阅 无需 Copilot 许可证的 Copilot code review。

此前,当因自动审查设置而在由 Copilot cloud agent 创建的拉取请求上自动请求 Copilot code review 时,Copilot code review 会回退到功能受限的体验。现在,Copilot code review 可以为由 Copilot cloud agent 创建的拉取请求提供完整的 Agent 式审查。

此前,Copilot code review 对可审查的拉取请求规模设有上限:最多 300 个文件或 20,000 行代码。该限制现已取消。

现在,在任意 Copilot code review 评论底部的“Resolve conversation”按钮旁点击新增下拉菜单后,你可以选择“Addressed”“Won’t fix”或“Incorrect”,以说明解决该评论的原因。选择这些选项可向产品团队提供有价值的反馈,并帮助改进产品。

解决原因“已处理”“不会修复”和“不正确”的截图

English / 原文

Copilot code review can now review two types of pull requests it didn’t cover before:

  • Reviews requested automatically on pull requests authored by bots, including Copilot cloud agent
  • Very large pull requests

Additionally, you can now submit the reason for why you’re resolving a particular Copilot code review comment.

When a pull request is authored by a bot and requested automatically, there’s no Copilot-licensed account to attribute the review to. With the “Allow members without a Copilot license to use Copilot code review in GitHub.com” policy enabled, Copilot code review can now review these pull requests and bill the usage directly to your organization. To learn more, see Copilot code review without a Copilot license.

Previously, when Copilot code review was automatically requested due to automatic review settings on pull requests authored by Copilot cloud agent, Copilot code review would fall back to a limited experience. Copilot code review can now give pull requests opened by Copilot cloud agent a full agentic review.

Copilot code review previously had a 300 file or 20,000 lines of code limit on the size of a pull request it could review. This limitation no longer applies.

You can now specify the reason for resolving a Copilot code review comment by either selecting “Addressed”, “Won’t fix”, or “Incorrect”, after clicking the new dropdown next to the “Resolve conversation” button, located at the bottom of any Copilot code review comment. Selecting one of these options provides valuable feedback to the product team and helps improve the product.

screenshot of resolution reasons Addressed, Won't fix, and Incorrect