DEVOPS

Detect retry-pass flakes from CI and file a Linear quarantine ticket

Watches CI run-completed webhooks for tests that failed then passed on retry within the same run, and opens a deduplicated Linear issue tagging the test as a flake candidate.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerwebhook
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerCI run-completed webhook receivedHTTP webhook
  • LogicKeep only tests that failed then passed on retry
  • ActionSearch Linear for existing flake issue by fingerprintLinearLinear
  • LogicBranch: skip if duplicate, otherwise file new
  • ActionCreate labeled Linear quarantine issueLinearLinear
  • OutputReturn new Linear issue key

What it does

When your CI provider posts a run-completed webhook, this workflow inspects the per-test results and isolates any test that failed on its first attempt but passed on an automatic retry inside the same run. That signature is the clearest fingerprint of intermittent flakiness. For each one it opens a tracked Linear issue so the test stops getting silently swept under retries.

When to use it

Use it when your test runner retries failures automatically and the green checkmark hides real instability. It turns invisible retry-passes into a visible, owned backlog.

How it works

  1. 1CI sends a run-completed webhook with the full test result payload.
  2. 2A filter keeps only tests with attempt 1 = failed and a later attempt = passed.
  3. 3The workflow builds a stable fingerprint from the suite, file, and test name.
  4. 4It searches Linear for an existing open issue with that fingerprint to avoid duplicates.
  5. 5If none exists, it creates a Linear issue labeled flaky-quarantine with the failing assertion, retry count, and a link to the CI run.
  6. 6The new issue key is posted back as the workflow output.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect LinearIssues, projects, cycles, triage.
  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.