Tuist

Tuist

Product

Automations for flaky tests

#10232

Flaky-test handling used to be a fixed set of project toggles: auto-quarantine on or off, one threshold, one cooldown, one Slack channel. That made every team fit the same mould. Automations let you decide what "flaky enough to act on" means for your project, and what should happen when a test crosses that line — quarantine it, keep it green but flag it, ping a specific channel, or any combination — and how it should recover on its own. The engine is built to grow beyond flaky tests, so the same shape will cover more of your test-suite hygiene over time.

The Create automation modal configured to auto-quarantine tests with a flakiness rate of 10% or more over the last 30 days, marking them flaky and recovering after 14 days without a trigger