Skip to main content
Data and reporting

Flaky test report that ranks tests by wasted hours

4.5· 4 reviews

Built with
n8n

Starter

$34

The route

  1. Monday schedule starts

  2. Read build results

  3. Find re-run passes

  4. Rank by lost time

  5. Post the top ten

Specifications

Setup time20 minutes
Needs your own API keysYes
Last updatedOct 30, 2026
Skill neededSome setup
LicenceOne business
Free updatesYes
Setup questions answered0 days
Result a customer reportedWe fixed the top five flaky tests in a week and re-runs dropped by half

Overview

A test that fails now and then costs the team hours, and nobody knows which one hurts most. This automation reads the last two weeks of build results, finds tests that pass after a re-run, and ranks them by the time spent waiting on them. The report lands in Slack on Monday morning.

In the download

  • An n8n workflow with ten nodes
  • A ranking sheet with the formula for lost time
  • A report template for Slack

An example run

What came in
Test checkout_total_rounding failed 14 times in two weeks. Nine of those runs passed on a re-run. Average wait per run: 11 minutes.
What it made
Rank 1: checkout_total_rounding. 9 re-run passes, about 1.6 hours lost. Latest failed runs linked. Suggested owner: the last author of the test.

Before you start

  • A GitHub token that can read build results
  • A Slack channel for the engineering team
  • A Sheets file to keep the weekly history

Setting it up

1. Import the workflow and add a GitHub token with read access to build results. 2. Choose the repositories to watch and the number of days to look back. 3. Set the cost of an hour of waiting, so the ranking uses your own number. 4. Run it for the last two weeks and compare the top test with what your team already complains about.

n8n runs these steps for you. It has a free trial. Or run it on your server. An API key is a private code. It lets this use your account. You paste it in once.

Compare editions

Pick one here or in the box beside it. You pay only when you place the order.

$34

The download for one workspace.

Runs a month
500
Seats
1
Support
Setup guide

This version

Version1.0
What changed in this versionFirst version. The report lists each test once even when it fails in several jobs, and it links to the three latest failed runs.

Frequently Asked Questions

Reviews

About the builder

MF
Mateus Figueira

On AgentRoad since December 2024

Mateus is a platform engineer in São Paulo with seven years on release teams and on-call rotas. He began selling the flows his own team had built after colleagues at other firms asked for copies. Each listing is a flow his team runs today, with the tests included.

Joined
2024
Replies in
50 min
Checked
Verified