Claude Code 推出雲端 Auto-fix:CI 失敗自動修復,走開就好,回來 PR 已是綠燈

ChainNewsAbmedia

Anthropic 工程師 Noah Zweben(@noahzweben)宣布,Claude Code 正式推出雲端 Auto-fix 功能:網頁版和行動版工作階段,現在可以自動追蹤 Pull Request,持續修復 CI 失敗並回應 code review 留言,讓 PR 始終保持綠燈狀態——整個過程完全在遠端執行,你可以完全離開,回來時 PR 已準備好合併。

三種使用方式

根據官方說明,有三種方式可以啟用 Auto-fix:

在 Claude Code 網頁版直接建立的 PR,點選「CI > auto-fix」

行動版直接告訴 AI agent 執行 auto-fix(快速操作按鈕即將推出)

貼入任何想監控的 PR 連結,告訴 agent 執行 auto-fix

使用此功能需要安裝 Claude GitHub App,若要使用 Auto-merge(自動合併)功能,則需在 repo 中先行啟用。

「工程師的工作從寫程式,變成審核 AI 的決策」

這次更新在開發者社群引發了關於軟體開發本質的深刻討論。有人興奮地說「以前要開著筆電盯著 CI 整晚,現在可以睡覺了」;也有人提出更根本的問題:如果 AI agent 從寫程式、跑測試、修錯誤到合併 PR 都全包了,工程師在審核什麼?

部分開發者提出風險:沒有人工審閱的自動修復,可能在凌晨 2 點把錯誤的東西送上線,而且沒有人注意到。MergeShield 的觀察切中要害:「不是所有通過 CI 的 PR 風險都一樣。一個依賴套件版本升級自動合併沒問題,但 auth middleware 的重寫即便通過測試,也應該有人看一眼。」

從「讓 AI 寫程式」到「讓 AI 擁有整個反饋迴圈」

觀察者指出,這次更新標誌著一個真正的質變。過去 AI 工具的重點是「生成程式碼」,現在 Claude Code 是在「擁有反饋迴圈」——CI 失敗,agent 讀取錯誤,agent 修補,CI 重跑,直到通過。這個閉環代理模式,讓工作的基本單位從「提交(commit)」轉移到「意圖(intention)」:你說出你要做什麼,agent 負責把它做完。

這也與Claude Code Auto Mode的推出同步進行,整個 Claude Code 的方向是:讓 AI 接管更多執行層面的工作,工程師的角色愈來愈向「審核者」而非「執行者」轉移。

這篇文章 Claude Code 推出雲端 Auto-fix:CI 失敗自動修復,走開就好,回來 PR 已是綠燈 最早出現於 鏈新聞 ABMedia。

Disclaimer: The information on this page may come from third parties and does not represent the views or opinions of Gate. The content displayed on this page is for reference only and does not constitute any financial, investment, or legal advice. Gate does not guarantee the accuracy or completeness of the information and shall not be liable for any losses arising from the use of this information. Virtual asset investments carry high risks and are subject to significant price volatility. You may lose all of your invested principal. Please fully understand the relevant risks and make prudent decisions based on your own financial situation and risk tolerance. For details, please refer to Disclaimer.
Opmerking
0/400
Geen opmerkingen