What problem does it solve?
Flaky tests that pass and fail non-deterministically erode trust in CI and block merges, but manually tracking them across runs is tedious and error-prone. This Skill automates daily triage: it scores each test's non-determinism against a persistent ledger and quarantines the worst offenders without ever deleting them.
Core Features & Use Cases
- Evidence-based flakiness scoring: Pulls CI run history from GitHub, parses JUnit/XML test reports, and computes flip counts and failure rates over a rolling window stored in a durable per-test ledger.
- Reversible quarantine PRs: Adds framework-appropriate skip markers (Jest/Vitest, Pytest, Go) with reasons and issue links, opens one PR per run, and never deletes test code or merges on its own authority.
- Tracking and reporting: Maintains a single running GitHub tracking issue with a quarantine table and posts a concise summary to Slack, including candidates stable enough for de-quarantine.
- Use Case: A platform team schedules this Skill daily against their monorepo; after two weeks it identifies three tests that flip outcomes on unchanged code, opens a quarantine PR skipping them with evidence links, and posts the summary to the team's Slack channel.
Quick Start
Ask the agent to run the flaky test triage sweep against your repository and quarantine any tests that have crossed the flakiness threshold.