为何Pull Request陷入沉默?揭示开源代码评审中贡献完成的障碍
原标题:Why Do Pull Requests Go Silent? Uncovering the Barriers to Contribution Completion in Open-Source Code Review
AI 摘要
该研究分析了19个使用Stale Bot的GitHub仓库中14,234个停滞的Pull Request(PR)和164,562条评审评论,并开发了基于LLM的投票分类器来按贡献类型分类。研究发现,功能增强和问题修复类PR占停滞贡献的77%以上;停滞主要源于沟通协调失败(如缺少互动、反馈延迟)以及技术障碍(如检查失败、配置问题、兼容性)。仅39.56%的贡献者会返回提交后续PR,评审者重新参与率约21%。作者据此提出了类型感知分诊、明确评审反馈、CI阻塞管理等建议。
正文节选
Why Do Pull Requests Go Silent? Uncovering the Barriers to Contribution Completion in Open-Source Code Review Abstract Pull requests (PRs) are central to pull-based software development, enabling distributed code review and collaborative contribution in open-source projects. However, many PRs become inactive before integration and are eventually abandoned or closed, resulting in wasted effort for both contributors and maintainers. Although prior studies have examined PR abandonment and review de