Skip to main content
HOME>Use Cases>Flaky Test Quarantine: Unreliable Tests Out of the Blocking Run, Each With an Owner
Use Case8 min read

Flaky Test Quarantine: Unreliable Tests Out of the Blocking Run, Each With an Owner

Flaky tests are classified against run history and the critical path suite list, quarantine tickets stay inside each team's cap, and owner replies, incident links and suite changes re-run only the tests they touch. The build lead approves every ticket.

Get started
Kylon TeamProduct

A red build that nobody believes any more

Flaky tests teach a team to rerun and ignore. A quarantine policy pushes back. A test that fails intermittently above the threshold leaves the blocking run and gets a ticket for its owner, a test in a critical path suite is never quarantined and stays blocking, and each team gets a capped number of new flaky tickets a week so the backlog stays honest. The weekly digest reports what was quarantined and the CI minutes those tests were costing.

Test history lives in Airtable, fixes and ownership changes show up in GitHub pull requests, tickets go into ClickUp, and the policy, including the critical path suite list, is a Google Drive document. The digest is assembled by hand. When an owner says a test is fixed, an incident ties a test to a production failure or the suite list changes, the digest and the tickets stop agreeing, and the minutes figure quietly includes tests whose tickets were never opened.

Who works in the room

People

  • Build and release lead

    Owns the quarantine policy and the per-team caps, and approves every class and ticket

  • Developer productivity engineer

    Writes the weekly digest and keeps the critical path suite list

  • Test owners

    Fix or reassign their flaky tests and reply when something changes

  • Incident manager

    Confirms when a test is tied to a production incident

Agents

  • FinQuarantine desk

    Classifies flaky tests in Airtable from run history, GitHub pull requests and the suite list, and proposes ClickUp tickets within each team's cap

    AirtableGitHubClickUpGoogle Drive
  • AdaDigest audit and owners

    Audits the digest with the policy's error codes, checks the closeout figure and drafts owner messages for a person to send

    Google DriveAirtableGmailSlack

In the CI health room, Fin answers by default and owns classes and tickets, while the room guidelines give the digest audit and every owner message to Ada. Fin uses a lasting grant on the Airtable base that the build lead approved for the room; Ada drafts in Gmail as the engineer it is working for, checked on every call. Teams that use a coding agent such as Codex can add it to the room too: once a quarantine ticket exists, the owner can ask it to attempt a fix, and the owner reviews that pull request like any other.

Classification to closeout in one week

The week runs in a fixed order. Airtable and ClickUp change only after the build lead approves, and the quarantine list in the repository changes only through a pull request an engineer merges.

  • Agent works
  • Person decides
  • Arrives or gets recorded
Scroll sideways to see the whole flow.
StageWhat happensWho actsWho decides
ClassificationEach flaky test is classed quarantine with ticket, blocking or watch from its run history, recent pull requests and the critical path listFin, from Airtable run history, GitHub and the Drive policyThe build lead approves the classes
TicketsQuarantine tickets open per team up to the weekly cap, worst flake rate first, and the rest queueFinThe build lead approves before any ClickUp ticket is created
Digest auditEach digest line is checked and given the highest-precedence error code, including MISSING_ENTRY for tests the digest left outAdaThe digest author corrects it and the lead confirms
Owner repliesA fix or a reassignment re-runs only that test, and a reassigned ticket counts against the new team's capFin, then Ada for the replyThe build lead approves the change
Incident linksA test tied to an incident comes out of quarantine and stays blockingFinThe incident manager confirms the link
Suite list updateOnly tests in suites that joined or left the critical path list are re-runFinThe build lead approves the changed classes
CloseoutTotals per team and CI minutes flagged, counted only for quarantined tests whose tickets were createdFin, with Ada checking the figureThe build lead signs off
Stages of a weekly flaky test cycle. Tests, teams, caps and figures in this example are illustrative.

Scoping every change to the tests it touches

Replies trickle in through Slack and email all week. One owner says a pull request merged yesterday fixed the test, another says it belongs to a different team. Fin re-runs only the test in question, checks the fix against the pull request in GitHub, and counts a reassigned ticket against the new team's cap. An incident link works in one direction only: a test tied to a production failure goes back to blocking whatever its flake rate.

A change to the critical path list is scoped by suite. When the list adds the checkout suite and drops the admin suite, Fin re-runs the tests in those two suites and leaves every other class alone. Tests that leave the critical path can now be quarantined, and their tickets compete for the cap like any other. The closeout figure comes last, from the records as they stand, and counts only quarantined tests whose tickets actually exist.

What the checks catch

  • CI minutes flagged that include quarantined tests whose tickets are still queued over the cap
  • A fifth ticket for a team capped at four, including one that arrived by reassignment
  • A digest line with more than one problem that carries a lower-precedence code, and tests the digest left out entirely
  • A test in a critical path suite that was quarantined anyway because its flake rate was high
  • Tests outside the changed suites that moved after the suite list update

What stays with people

  • Approving each class and ticket before Airtable or ClickUp changes
  • Merging any change to the quarantine list, and any fix a coding agent proposes
  • Confirming that a test is tied to an incident
  • Sending owner messages, which Ada prepares as Gmail drafts

Integrations in this workflow

Kylon is not a CI system or a test runner, and it does not replace either. It reads from the test history, the code host and the tracker the team already uses, and keeps the quarantine decisions between them in one place.

  • Airtable holds each flaky test with its run history, owner, class and CI minutes
  • GitHub shows the pull requests that fixed, touched or moved ownership of a test
  • ClickUp carries the quarantine tickets, created only after the build lead approves
  • Google Drive keeps the quarantine policy, the critical path suite list and the weekly digest
  • Gmail carries owner messages once a person sends Ada's draft
  • Slack is where owners reply and incident links are posted

Where to start

One repository's flaky list and one week is enough to begin. Connect the Airtable base, share the policy with the room, and add a single rule to the room guidelines: a test in a critical path suite is never quarantined, and no ticket opens over a team's cap unless the build lead says so.

Set it up with your agent

Open a new Room, add your agent and paste this prompt. It connects the tools, builds the App with you and asks for your rules one step at a time, and nothing goes out until a person approves it.

Set-up prompt

Your first company harness. Where humans and agents run your business together.

Get started

More Use Cases

View all

API Deprecation Migration: Cutoff Waves That Stay Right as Integrations Move

Retiring an API version runs through one Kylon room. Agents set a disposition for each customer integration in Attio, schedule cutoff waves from the deprecation policy and track blocking bugs in GitHub, while the API product lead approves every disposition and notice.

Software & SaaSEngineering operationsEmail operations

Backup Restore Verification: Backups Proven Restorable Within Their Class Interval

A backup counts only once someone has proved it restores. Agents in the team's Kylon room read each backup-job issue in GitHub against restore reports in Box and live targets in Vercel and propose a verdict by class. The reliability lead approves before any issue changes.

Software & SaaSIT & security operations