ENGINEERING

Weekly Flaky-Test Digest and Auto-Close Recovered

Weekly report that summarizes all quarantined flaky tests, auto-closes tracking issues for tests that have passed cleanly for two weeks.

CategoryEngineering
Enginesim
Difficultybeginner
Triggerschedule
Steps5
Setup~5 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWeekly schedule
  • ActionList open flaky-test issues and recent outcomesGitHubGitHub
  • LogicBucket recovered, still-flaky, worsening
  • ActionAuto-close issues for recovered testsGitHubGitHub
  • OutputPost weekly digest to DiscordDiscordDiscord

What it does

Once a week this workflow compiles the state of the flaky-test quarantine: which tests are still flaky, which have recovered, and which are getting worse. Tests that have passed cleanly across all runs for two weeks get their GitHub tracking issues automatically closed with a recovery note, and the full digest is posted to Discord for visibility.

When to use it

Use this to keep the quarantine from becoming a graveyard. It reclaims stabilized tests, surfaces persistent offenders, and gives the team a regular pulse on test-suite health without manual bookkeeping.

How it works

  1. 1A weekly schedule triggers the run.
  2. 2The bot lists open GitHub issues labeled `flaky-test` and reads recent CI outcomes for each from the results store.
  3. 3A decision step buckets each test as recovered, still flaky, or worsening based on its two-week pass record.
  4. 4It closes the issues for recovered tests with a recovery comment and leaves the rest open.
  5. 5It posts a formatted weekly digest — counts per bucket and top offenders — to the team Discord channel.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  2. 2
    Connect DiscordCommunity channels + voice + bots.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.