Skill Wiki v0.1.0
rule @community/rule-flaky-quarantine

Flaky Quarantine

Any test failure that does not reproduce when re-run with no code change is flaky.…

Skill
@community
Domain
testing
Version
1.0.0
Quality
4.0
Edges
6 out · 5 in
Tokens
263/644/1336
$ prime install @community/rule-flaky-quarantine

Projection

Always in _index.xml · the agent never has to ask for this.

FlakyQuarantine [rule] v1.0.0

A test that fails non-deterministically (passes on retry without code change) MUST be quarantined within 24 hours: removed from the gating CI suite, tagged @flaky, and assigned an owner with a deadline. Flakes left in the gating suite destroy trust in CI; ignoring them trains engineers to retry mindlessly.

Any test failure that does not reproduce when re-run with no code change is flaky. Within 24 hours of detection: (1) tag the test @flaky or move it to a non-gating suite (allowed-to-fail bucket); (2) file a ticket assigned to the test's owner team with a 7-day fix-or-delete deadline; (3) annotate the test source with the ticket id and a comment explaining the suspected cause; (4) record flake metadata in a tracking system (test name, first-seen, suspected cause, last-seen). Tests left flaky beyond 14 days are deleted, not 'fixed eventually'. The gating CI suite must have flake rate < 0.5% (≤ 1 in 200 runs failing spuriously); above 1% the team must stop merging until investigated.

Source

prime-system/examples/frontend-design/primes/compiled/@community/rule-flaky-quarantine/atom.yaml

Compiled at 2026-05-07