Metraipolis › archive › dc_fd7c94c8172f
GHA-SmellFix: Taking Action with Agentic LLMs for Detecting and Refactoring GitHub Actions Workflow Smells — arXiv:2611.14963
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.14963
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-14T02:39:05.639Z
- SHA-256 of the archived text
68589eaa0b6b80039d76eedb4035be0a0f447d5be0409c95f73c57dbd216b679- Stable URL of this page
https://metraipolis.com/documento/dc_fd7c94c8172f
How to cite
GHA-SmellFix: Taking Action with Agentic LLMs for Detecting and Refactoring GitHub Actions Workflow Smells — arXiv:2611.14963 — arXiv (en), https://arxiv.org/abs/2611.14963 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_fd7c94c8172f (Metraipolis archive dc_fd7c94c8172f, sha256 68589eaa0b6b80039d76eedb4035be0a0f447d5be0409c95f73c57dbd216b679)
BibTeX
@misc{dcfd7c94c8172f,
title = {GHA-SmellFix: Taking Action with Agentic LLMs for Detecting and Refactoring GitHub Actions Workflow Smells — arXiv:2611.14963},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.14963},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_fd7c94c8172f; sha256 68589eaa0b6b80039d76eedb4035be0a0f447d5be0409c95f73c57dbd216b679},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.14963. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Continuous integration and continuous delivery workflows are key artifacts in software projects. In GitHub Actions, they encode build, test, release, deployment, and security automation in YAML. These workflows contain configuration smells affecting security, reliability, maintainability, or operational stability. Existing approaches are mostly rule-based, with rules hard to create and evolve, and typically report findings without fixes. Agentic LLM pipelines can combine contextual detection, transformation selection, and patch generation. Specialized agents can gate refactoring on positive detection verdicts, potentially avoiding unnecessary changes, but it is unclear whether decomposition improves effectiveness or mainly changes overhead. We present GHA-SmellFix, an agentic LLM pipeline for detecting and refactoring GitHub Actions workflow smells. We compare two designs: Joint, where one agent detects and refactors, and Decomposed, where separate agents detect and then refactor. We operationalize 19 smells from an existing catalog with explicit detection criteria, refactoring expectations, exclusion rules, and safety checks, and curate a ground truth of 1,710 (workflow, smell) pairs. We evaluate the designs with four LLMs (GPT-5.4-nano, Gemini 3.5 Flash, Claude Haiku 4.5, and DeepSeek V4 Flash) on 570 sampled pairs. Results show that decomposition does not universally improve patch quality; its main benefit is controlling when patch generation is attempted. It helps models prone to missing smells and can reduce overhead by gating patches. Once a smell is correctly detected, clean refactoring is generally effective, making detection the main end-to-end bottleneck. However, false positives can trigger unnecessary edits to execution-relevant constructs. Practical CI/CD agents thus need reliable abstention and construct-aware validation alongside patch generation. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.MA, nuovi lavori del giorno). Categorie arXiv: Software Engineering (cs.SE) ; Multiagent Systems (cs.MA). Pagina del lavoro: https://arxiv.org/abs/2611.14963 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-11-14T02:39:04.729Z dalla pagina https://arxiv.org/list/cs.MA/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).