GitHub Actions CI/CD 工作流中 AI 机器人足迹的可靠性
Reliability of AI Bots Footprints in GitHub Actions CI/CD Workflows
AI总结:
研究分析了AI机器人在GitHub Actions CI/CD工作流中的可靠性,发现不同AI机器人成功率差异显著,且高频的AI PR可能影响工作流可靠性。
摘要:
持续集成和部署(CI/CD)工作流是现代软件交付的核心,但其中代理AI机器人可靠性研究不足。通过AIDev数据集中的拉取请求、提交和仓库,利用GitHub Actions API获取了61,837个工作流运行记录,分析了由五个AI机器人(Claude、Devin、Cursor、Copilot、Codex)生成的PR触发的工作流。观察到不同AI机器人在工作流可靠性上存在显著差异,Copilot和Codex的成功率分别达到约93%和94%。在仓库层面,发现AI代理贡献频率与工作流成功率呈负相关,表明高频的代理PR可能损害CI/CD工作流可靠性。通过定义13个类别,分析了3,067个失败工作流关联的代理PR,发现从功能性到非功能性PR类别的视觉可观察转变趋势,但该趋势不具有统计显著性。研究结果促使需要制定可操作的指导方针,以整合AI代理到CI/CD工作流中,并优先在高失败风险的工作流中实施保护措施。
英文摘要:
Continuous Integration and Deployment (CI/CD) workflows are central to modern software delivery, yet the reliability of agentic AI bots operating within these workflows remain underexplored. Using pull requests (PRs), commits, and repositories from the AIDev dataset, we retrieved associated CI/CD workflow runs via the GitHub Actions API and analyzed 61,837 runs from 2,355 repositories, all triggered by PRs generated by five AI bots: Claude, Devin, Cursor, Copilot, and Codex. We observed substantial agent-dependent differences in workflow reliability, with Copilot and Codex achieving the highest success rates ~93% and ~94% respectively. At the repository level, we find a negative correlation between AI agent contribution frequency and workflow success rate, suggesting that a higher frequency of Agentic PRs may hinder CI/CD workflow reliability. We defined a taxonomy of 13 categories against 3,067 agentic PRs whose associated workflows failed, and observed a trend analysis that indicates visually observable shifts from functional to non-functional PR categories over time, although these trends are not statistically significant. Our findings motivate the need for actionable guidance on integrating AI agents into CI/CD workflows and prioritizing safeguards in workflows where failures are most likely to occur.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。