ENGINEERING

Nightly Flaky-Test Rollup from Honeycomb with Owner Triage

Each night queries Honeycomb test-run telemetry for tests whose pass/fail outcome varied across identical inputs, ranks them by flake rate.

CategoryEngineering
Enginesim
Difficultyadvanced
Triggerschedule
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNightly schedule fires
  • ActionQuery Honeycomb for test-run events and outcomesHoneycomb
  • LogicCompute flake rate and filter above threshold
  • ActionUpsert one consolidated Linear ticket per owning teamLinearLinear
  • OutputPost ranked flake digest to engineering SlackSlack

What it does

This workflow turns raw test telemetry into an actionable triage list. It queries Honeycomb for test spans over the last 24 hours, identifies tests that both passed and failed under the same conditions, and computes a flake rate per test. Tests above a threshold are grouped by owning team and rolled into one Linear ticket each, updated daily so noise stays consolidated rather than spawning duplicate issues.

When to use it

Use this when your test suite emits run-level telemetry to Honeycomb and you want a daily, data-driven view of which tests are flakiest and who owns them, without a ticket storm.

How it works

  1. 1A nightly schedule triggers the run.
  2. 2The flow queries Honeycomb for test-run events grouped by test name and outcome over 24 hours.
  3. 3A logic step computes flake rate per test and filters to those above the configured threshold.
  4. 4Each flaky test is mapped to an owning team via a lookup table.
  5. 5For each team, the flow upserts a single Linear ticket: created if absent, updated with the latest ranked list if it already exists.
  6. 6A digest of the top flakes is posted to the engineering Slack channel.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HoneycombDistributed traces and queries.
  2. 2
    Connect LinearIssues, projects, cycles, triage.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    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.