GitHub
GitHub logoGitHub · Feature trail

Flaky Test Management System

1 post · Dec 2020

What this trail covers

This feature thread tracks the evolution of managing flaky tests in CI systems. Initially, flaky tests caused significant delays and frustration, with a high percentage of commits affected. This post details the development and implementation of an automated system to detect, contain, and prioritize the investigation of flaky tests. The system identifies flaky tests by rerunning them in different scenarios (same process, shifted into the future, different host) and assigns issues to the most likely author based on failure history and git blame. This has led to a dramatic reduction in the impact of flaky tests on deployment velocity.

All GitHub trails