跳到主内容
精选75GitHub ChangelogAI 编程与模型

GitHub Copilot 代码审查扩展:支持机器人及大型 PR,新增解决原因

Copilot code review: Resolution reasons and expanded capabilities

原文
推荐理由

AI 编程重度用户注意:Copilot code review 现在能审机器人提交和超大 PR,且能标注解决原因。建议开启无 Copilot 许可成员使用策略,以覆盖机器人 PR 审查。

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

Copilot 代码审查现在可以审查之前未覆盖的两种拉取请求:

  • Reviews requested automatically on pull requests authored by bots, including Copilot cloud agent
  • Very large pull requests
  • 自动请求审查的由机器人(包括 Copilot 云代理)编写的拉取请求
  • 非常大的拉取请求

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

此外,您现在可以提交解决特定 Copilot 代码审查评论的原因。

🤖 Expanded capabilities

🤖 扩展功能

Pull requests authored by bots

由机器人编写的拉取请求

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.

当拉取请求由机器人编写并自动请求审查时,没有 Copilot 许可账户来归属审查。启用“允许没有 Copilot 许可的成员在 GitHub.com 上使用 Copilot 代码审查”策略后,Copilot 代码审查现在可以审查这些拉取请求,并将使用量直接计入您的组织。要了解更多信息,请参阅无 Copilot 许可的 Copilot 代码审查。

Copilot cloud agent pull requests

Copilot 云代理拉取请求

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 云代理编写的拉取请求自动请求 Copilot 代码审查时,Copilot 代码审查会回退到有限的体验。现在,Copilot 代码审查可以对 Copilot 云代理打开的拉取请求进行完整的代理式审查。

Large pull requests

大型拉取请求

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.

Copilot 代码审查之前对可审查的拉取请求大小有 300 个文件或 20,000 行代码的限制。此限制不再适用。

☑️ Comment resolution reasons

☑️ 评论解决原因

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.

您现在可以通过在“解决对话”按钮旁边的新下拉菜单中选择“已解决”、“不修复”或“不正确”来指定解决 Copilot 代码审查评论的原因,该按钮位于任何 Copilot 代码审查评论的底部。选择这些选项之一可为产品团队提供宝贵的反馈,并有助于改进产品。

The post Copilot code review: Resolution reasons and expanded capabilities appeared first on The GitHub Blog.

文章 Copilot 代码审查:解决原因和扩展功能 首次出现在 GitHub 博客上。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近