arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.17890cs.SE
收藏

GitLab CI/CD中的缓存相关问题:全面目录、自动检测与实证研究

Cache-Related Smells in GitLab CI/CD: Comprehensive Catalog, Automated Detection, and Empirical Evidence

University of Vienna(维也纳大学)

Francesco Urdih, Theodoros Theodoropoulos, Uwe Zdun

AI总结:

本文研究GitLab CI/CD中的缓存问题,提出十种缓存相关问题的全面目录,并通过CROSSER工具自动检测其中七种,实证显示这些问题在大量项目中普遍存在。

摘要:

持续集成和部署(CI/CD)促进了快速软件交付,使快速反馈和最小停机时间成为必需。虽然缓存已被证明是解决流水线性能和可靠性问题的有效技术,但现有研究主要关注缺失依赖缓存,忽略了其他类型的缓存和缓存配置错误。本文提出了GitLab CI/CD中影响性能和可靠性的十种缓存相关问题的全面目录,并在灰色文献语料库上进行了验证。为解决这些问题,我们提出了CROSSER工具,可自动检测七种问题。我们在手动标注的82个成熟项目数据集上评估CROSSER,达到了整体F1得分为0.98。最后,我们调查了228个成熟开源项目中的问题存在情况,并概述了实证发现。我们的结果表明,这些问题普遍存在,只有11%的项目没有出现。我们还显示,开发者可能不了解更高层次的缓存功能。

英文摘要:

Continuous Integration and Deployment (CI/CD) facilitate rapid software delivery, making fast feedback and minimal downtime essential. While caching has been shown to be an effective technique for tackling pipeline performance and reliability issues, existing works have primarily focused on missing dependency caches, ignoring other types of caches and cache misconfigurations. In this paper, we present a comprehensive catalog of ten cache-related smells in GitLab CI/CD that negatively impact performance and reliability, validated on a corpus of grey literature. To address the smells, we propose CROSSER, a tool that automatically detects seven of the ten smells. We evaluate CROSSER on a manually labeled dataset of 82 mature projects, achieving an overall F1 score of 0.98. Finally, we investigate the presence of smells across a large dataset of 228 mature open-source projects and outline our empirical findings. Our results show a widespread frequency of the smells, as only 11% of the projects do not present any. We also show that developers may not be aware of higher-level caching functionalities.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑