Agent 迭代瓶颈在 CI:换一行 YAML 让构建快 40%

ghumare64 · x · 2026-11-18

作者分享一个工程观察:他的编码 agent 修一个失败测试跑了 9 轮,模型响应只要几秒,真正的耗时全在等 GitHub Actions 跑 CI——一旦 agent 被绿勾卡住,CI 时长就是它的迭代时长,而 AI 写码越多、commit 越多、排队越久。

他引用 WarpBuild 的公开 benchmark(spotify-player、Rust 构建、4 vCPU、3 次中位数):GitHub 托管 runner 4m34s,WarpBuild 2m43s;按 9 次 agent 迭代算,等待时间从 45m40s 降到 27m10s。

切换方式只需改一行 runs-on: warp-ubuntu-latest-x64-4x,workflow 和 YAML 无需改动,无并发上限,macOS 跑在 M5 Pro 上。注意这是 WarpBuild 的推广内容,数据来自其自家 benchmark,参考时留个心眼。

原文链接 →

「编程与Agent」频道最新

更多「编程与Agent」频道 AI 资讯 →