Metraipolis › archive › dc_c66da6f0a7a5
BreakGuard: Towards Detecting Dependency Breaking Changes with LLM-Generated Tests — arXiv:2608.20167
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.20167
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T11:49:51.387Z
- SHA-256 of the archived text
136d61e3da572613c82cc524c88d36f8b7fc105ca715ac945ca040dd6d77a4b7- Stable URL of this page
https://metraipolis.com/documento/dc_c66da6f0a7a5
How to cite
BreakGuard: Towards Detecting Dependency Breaking Changes with LLM-Generated Tests — arXiv:2608.20167 — arXiv (en), https://arxiv.org/abs/2608.20167 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c66da6f0a7a5 (Metraipolis archive dc_c66da6f0a7a5, sha256 136d61e3da572613c82cc524c88d36f8b7fc105ca715ac945ca040dd6d77a4b7)
BibTeX
@misc{dcc66da6f0a7a5,
title = {BreakGuard: Towards Detecting Dependency Breaking Changes with LLM-Generated Tests — arXiv:2608.20167},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.20167},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c66da6f0a7a5; sha256 136d61e3da572613c82cc524c88d36f8b7fc105ca715ac945ca040dd6d77a4b7},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.20167. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Open-source libraries play an important role in software development by providing reusable features that expedite the development process. As libraries evolve, they release new versions that add features, fix bugs, or apply security patches. In this process, they may break the contract established with their clients by introducing breaking changes (BCs) that alter the runtime behavior and break client applications. Client-side test suites often fail to detect these BCs because of limited library coverage that does not exercise all library methods used in the client's codebase. We propose BreakGuard, an approach that generates a test suite to detect breaking changes in clients. BreakGuard statically extracts every client method (focal method) that invokes the target library method (call site), then generates tests per focal method. A test detects a BC if it passes on the pre-breaking version and fails on the breaking version. We evaluate our approach on 89 real-world breaking changes from the BUMP dataset, using 3 LLMs (GPT4o, Qwen3-coder-480B, GPT-OSS-120B) and three context levels: minimal, method, and class. Using the best-performing configuration, BreakGuard detects 30.3% of breaking changes (27 of 89) at a mean cost of roughly $0.90 USD per detected breaking change. We successfully detected BCs from different library categories (e.g., JSON libraries, logging, parsing), but we find LLM-generated tests to be more reliable for detecting crash-type breaking changes as opposed to behavioural BCs. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-21 in cs.SE). Categorie arXiv: Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2608.20167 — 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-10-18T11:48:10.194Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-08-21?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).