ENGINEERING

Nightly flaky-test trend report from Axiom CI logs to Linear

Runs nightly, queries Axiom for the last 7 days of CI test results, ranks tests by intermittent-failure rate.

CategoryEngineering
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNightly schedule
  • ActionQuery Axiom for 7-day CI resultsAxiom
  • LogicRank by intermittent failure rate
  • LogicKeep tests above flakiness threshold
  • OutputUpsert one Linear ticket per offenderLinearLinear

What it does

Turns raw CI log history into a ranked flakiness report. Instead of reacting to a single red run, it looks across a rolling window in Axiom, computes each test's pass/fail variance, and surfaces the chronic offenders that waste the most developer time.

When to use it

Use when you already ship CI events to Axiom and want a data-driven, recurring view of which tests are flaky rather than one-off catches. Good for a weekly reliability review or burning down a flaky backlog systematically.

How it works

  1. 1A nightly schedule triggers the run.
  2. 2The flow queries Axiom for all test outcomes over the trailing 7 days.
  3. 3It computes per-test flakiness: tests that both passed and failed on identical commits, ranked by failure rate.
  4. 4A filter keeps only tests above the configured threshold (e.g. >10% intermittent failures).
  5. 5For each, it upserts a Linear ticket: creates a new one or updates an existing ticket's failure count and trend.
  6. 6It posts the ranked summary as the final report.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect AxiomLog streams, queries, dashboards.
  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.