Practical Pipeline-Aware Regression Test Optimization for Continuous Integration
Daniel Schwendner, Maximilian Jungwirth, Martin Gruber, Martin Knoche,, Daniel Merget, Gordon Fraser

TL;DR
This paper introduces a lightweight, pipeline-aware regression test optimization method using reinforcement learning, tailored for large-scale, multi-language CI environments, to improve test prioritization and reduce feedback latency.
Contribution
The authors propose a novel reinforcement learning-based approach that is lightweight, adaptable, and language-agnostic, specifically designed for industrial CI pipelines with diverse testing objectives.
Findings
Significant reduction in test execution time.
Improved detection of non-flaky, meaningful test failures.
Effective in large, multi-language, industrial CI environments.
Abstract
Massive, multi-language, monolithic repositories form the backbone of many modern, complex software systems. To ensure consistent code quality while still allowing fast development cycles, Continuous Integration (CI) is commonly applied. However, operating CI at such scale not only leads to a single point of failure for many developers, but also requires computational resources that may reach feasibility limits and cause long feedback latencies. To address these issues, developers commonly split test executions across multiple pipelines, running small and fast tests in pre-submit stages while executing long-running and flaky tests in post-submit pipelines. Given the long runtimes of many pipelines and the substantial proportion of passing test executions (98% in our pre-submit pipelines), there not only a need but also potential for further improvements by prioritizing and selecting…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications
