Objective: Put a price on flakiness, govern suite health like an operation, and know when the right move is deleting tests.
⏱ ≈53 min full lesson · English edition — Español · العربية · বাংলা in translation
FLAKE TAX ≈ (flaky failures × triage minutes × loaded rate) + (rerun compute + blocked-pipeline minutes × waiting engineers) + THE TRUST TERM. The trust term is unmeasurable and dominant: a suite at 95% signal trains a team to ship through alarms; the eventual escaped defect is the invoice. Name it explicitly — false precision about it is its own dishonesty.
GATE SIGNAL PURITY (<2% of gating failures test-caused). QUARANTINE AGE (no test >30 days without a decision record). RUN DURATION (PR gate <10 min, nightly <60). TRIAGE LATENCY (failures classified within 1 business day). ORPHAN RATE (<1%, P-02). Thresholds are starting points to argue from — the professional act is HAVING them, owned, with breach actions agreed BEFORE the breach.
A test that hasn't failed legitimately in years, on a frozen surface, insures against a change nobody is making — at forever cost. A UI test re-proving what 40 unit tests prove is a pyramid inversion with a rent bill (B-15). Demote or delete — with the ID retired (P-02) and the DECISION RECORDED. The record is what separates governance from tidying.
Monthly, 45 minutes, one page of data (P-03's store): top flaky tests by TAX, species distribution (A-07), quarantine aging, the SLE table. Decisions IN the room: fix (owner + date), demote, delete. The ritual's real product isn't the fixes — it's the shared belief that suite health is MANAGED, which is what makes engineers file flakes instead of silently retrying them.
Your config's retries: 1 is governance expressed in code (A-01). The question is whether REPORTING counts those retry-passes (P-03 insists it must). Code and governance are the same decision seen from two floors.
Health governed. Next: test data & environments at enterprise scale.