← 事件库 / Developer Tools

GitHub 将 code scanning 的 agentic autofix 推向 GA

GitHub 将 CodeQL alert 的 agentic autofix 推向 GA。Copilot 会浏览仓库、提出修复、重新运行 CodeQL,再迭代到可打开 draft pull request。团队可以分配一个默认分支 alert、同一 pull request 关联的最多 25 个 alert,或通过 REST API 调用。它需要 GitHub Code Security 或 Advanced Security、管理员启用和 Copilot 计费方式,并消耗 Code Security AI Credits 与 GitHub Actions 分钟。

可用状态:Public Preview

本文来自既有扫描档案。迁移保留原判断,不代表在迁移时重新核验。

对你意味着什么

对安全团队来说,这把流程从“给建议”推进到“生成并用 CodeQL 复查 draft patch”。CodeQL 重跑是有价值的证据,不等于语义正确;人工审查和代表性测试仍不可省。

证据与关联材料

背景材料 · 历史记录,未重新核验

GitHub agentic autofix 现在会在处理安全告警前读取 Copilot Memory,并把成功修复方式保存下来,供后续任务复用。同一份仓库记忆还能提供给 Copilot code review 与 Copilot cloud agent。agentic autofix 和 Copilot Memory 都仍处于 public preview。GitHub 尚未公布引入记忆后的修复成功率或误报数据。

后续变化

重要更新 · 2026-10-15

Agentic autofix 从 public preview 进入 GA

技术细节与六维评分
可用性 Public Preview
读取路径 agentic autofix 生成修复前读取现有仓库记忆
写入路径 成功修复方式保存为 Copilot Memory
使用方 agentic autofix、Copilot code review 与 Copilot cloud agent
证据边界 尚无公开的接受率、回归或误报指标
状态 GA
流程 浏览仓库、生成补丁、重跑 CodeQL、迭代并打开 draft PR
范围 一个默认分支 alert,或一个 PR 关联的最多 25 个 alert;支持 REST API
条件 GitHub Code Security 或 Advanced Security、管理员启用、Copilot 计费方式
计费 Code Security AI Credits 与 GitHub Actions 分钟
技术影响 3
工程价值 4
采用信号 4
成熟度 2
验证成本 2
风险 3