“Re-run Failed Jobs” Is Not Flaky Test Management
Blog post from Mergify
Re-running failed GitHub Actions jobs can unblock pull requests after transient infrastructure failures, but the post argues that it is not an effective flaky-test management strategy because it reruns entire jobs on the same commit without identifying or recording the individual test that failed and later passed. This approach increases CI costs, allows recurring flaky tests to remain invisible across pull requests, and can train engineers to dismiss failures, potentially letting intermittent real bugs merge after succeeding on retries. Effective management instead requires collecting per-test outcomes on identical commits, distinguishing consistently broken tests from tests with inconsistent results, assigning ownership and priority based on failure history, and quarantining unstable tests while continuing to run and monitor them. The post also recommends repeatedly testing new or changed pull-request tests before merge to prevent new flakiness from reaching the main branch. It presents Mergify Test Engine as a tool that performs test-level detection, targeted retries for known flaky tests, automated quarantine and release, and health reporting across CI systems.
No tracked trend matches for this post yet.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.