Plinth
FeaturesDocsPricingChangelogBlogContact Start free Book a demo
NewTest splitting for monorepos

Ship on green, not on retries.

Plinth watches every CI run, flags the tests that fail at random, quarantines them before they block a merge and splits your suite so it finishes in minutes.

$ npx plinth init

Trusted by teams who merge fifty times a day

WrenfieldtinmouthPALLASYNCBrackwaterHaldenQuorra
01 Features

Every red build, sorted in seconds.

Most failures you see in CI are not new bugs. Plinth tells the two apart, so your team fixes real breaks and stops rerunning the rest.

Flake detection

Every test gets a flake rate from its recent history, so a red build tells you whether to fix it or ignore it.

Quarantine, not retries

Known-flaky tests keep running and reporting, but they stop blocking merges until someone fixes them.

Suite splitting

Test files are balanced across runners by their real durations, so every shard finishes within seconds of the others.

Failure grouping

Two hundred red tests from one broken fixture become one issue with one stack trace.

Owners and alerts

Map folders to teams. The right channel hears about a new flake, and nobody else does.

Any runner, any framework

Plinth reads the report your tests already write. No plugin per framework, no agent on your machines.

02 Setup

One command, then one step in CI.

01

Install the CLI

plinth init writes a config file and asks for a project token.

02

Upload your reports

Add one step after your tests. Plinth reads the report files and never your source code.

03

Turn on quarantine

Choose the branches and the flake rate that count. Everything else keeps blocking as before.

# after your test step
- name: Upload test reports
  if: always()
  run: npx plinth upload "reports/**/*.xml" --shard ${SHARD}
  env:
    PLINTH_TOKEN: ${{ secrets.PLINTH_TOKEN }}
38%shorter CI runs after splitting, median across Team workspaces
9 in 10red builds on main traced to a known flake, not a new bug
4 minfrom plinth init to the first report
“We deleted our retry script the week we turned on quarantine. Main has been green for forty-one days, and when it goes red now, it means something.”
MLMara Lindqvist
Staff Engineer, Wrenfield

Make main boring again.

Free for one project and for open source. The Team trial runs on your real CI for fourteen days.

Product

Know why the build is red before you open the log.

Plinth reads every test report from every run, keeps the history and tells you which failures to fix and which to quarantine.

A flake rate for every test.

Plinth compares each result with the same test on the same commit. A test that passes and fails without a code change is flaky, and you see exactly when it started.

  • Rates per branch, suite and runner
  • The commit where flaking began
  • Infrastructure failures left out

Try it on last week's runs.

Upload a few old reports and see your flake rates in minutes.

Pricing

Pay per seat. Runs are on us up to a point.

Every plan includes flake detection and unlimited test results. Start free, upgrade when your team does.

Hobby

$0

For side projects and open source. One project, one person.

  • 1,000 CI runs a month
  • Flake detection
  • 14 days of history
Start free

Enterprise

Custom

For larger teams with security reviews and audit needs.

  • Everything in Team
  • Single sign-on and audit log
  • One year of history
  • A named engineer to talk to
Talk to sales
Estimate

What Team would cost you.

A CI run is one pipeline that uploads at least one report, however many tests it contains.

Team, billed yearly

$270/month

Seats12 × $20
Runs over 25,00015 × $2
Hobby fitsNo
Start a 14-day trial

Compare plans

Features by plan
FeatureHobbyTeamEnterprise
CI runs included1,00025,000Custom
History14 days90 days1 year
Flake detectionIncludedIncludedIncluded
Quarantine—IncludedIncluded
Suite splitting—IncludedIncluded
Single sign-on——Included
SupportCommunityEmailNamed engineer
FAQ

Questions

What counts as a seat?

Anyone who signs in to the dashboard. Bots, CI jobs and people who only read pull request comments are free.

What happens if we go over the included runs?

Nothing stops. Extra runs are billed at $2 per 1,000 at the end of the month, and you can set a cap in settings.

Is it free for open source?

Yes. Public repositories get the Team plan at no cost. Write to us with a link to the project.

Can we keep our data in one region?

Enterprise workspaces choose a data region when they are created. Reports never leave it.

Documentation menu
Docs/Getting started

Quickstart

Connect a repository, upload your first report and see flake rates in about five minutes.

Install the CLI

The CLI is a single binary. Run it with npx, or install it once on your runners.

npx plinth init

plinth init asks for a project token, writes plinth.yml and prints the step to add to your pipeline.

Upload reports

Add one step after your tests. Run it even when tests fail, or Plinth only sees the green runs.

ci.yml
- name: Upload test reports
  if: always()
  run: npx plinth upload "reports/**/*.xml"

Plinth stores test names, durations and failure messages. It never reads your source code, environment variables or build artifacts.

Flake rate

A test is flaky when it passes and fails on the same commit. Its flake rate is the share of its last 50 runs on a branch that failed and then passed without a code change.

  • Runner failures, such as lost connections or out-of-memory kills, do not count.
  • Each branch has its own rate, so experiments on a feature branch never affect main.

Quarantine

A quarantined test still runs and still reports. Its failures are marked as known and no longer fail the pipeline. Quarantine is off until you turn it on for a branch.

Test splitting

Pass the shard count and index, and Plinth prints the files that shard should run, balanced by recorded duration.

CLI reference

CommandWhat it does
plinth initCreates plinth.yml and stores the project token.
plinth upload <glob>Uploads report files. Add --shard when running in parallel.
plinth splitPrints the test files for one shard. Needs --shards and --index.
plinth quarantine lsLists quarantined tests on the current branch.

Config file

plinth.yml
project: storefront
reports: "reports/**/*.xml"
quarantine:
  branches: [main]
  threshold: 0.05   # flake rate over the last 50 runs
  never: ["payments/**"]
split:
  shards: 4

REST API

Every request uses a bearer token from your workspace settings. Responses are JSON and paginated with a cursor.

GET /v2/tests
curl https://api.plinth.example/v2/tests?status=flaky \
  -H "Authorization: Bearer $PLINTH_TOKEN"
Was this page helpful?
Changelog

What's new in Plinth

New features, improvements and fixes, shipped every week.

5 updates

Test splitting for monorepos

Plinth now splits each package's suite on its own and balances the shards across the whole pipeline, so a change to one package no longer reruns the slow tests of another.

plinth.yml
split:
  shards: 6
  packages: "packages/*"   # new

Flake rate ignores infrastructure failures

Runs that fail because a runner ran out of memory or lost its network no longer count against a test. Rates on busy repositories dropped by a third overnight.

Owners from a paths file

Point Plinth at an existing owners file and new flakes go straight to the team that owns the folder.

Quarantine badge on retried jobs

A job retried by your CI provider kept its quarantine badge from the first attempt. The badge now follows the latest attempt.

Faster uploads for large reports

  • Reports over 50 MB upload in parallel chunks.
  • A 200 MB report now takes 9 seconds instead of 41.
  • Uploads resume after a dropped connection.
Blog

Notes from the pipeline

What we learn from millions of CI runs, and how we build Plinth.

Blog
Engineering9 min read

How we cut a 40-minute suite to 7 without deleting a test

Our end-to-end suite had grown to 1,284 tests. Split four ways by file count, it took 40 minutes on a bad day, because one shard always drew the checkout tests and ran for three times as long as the others.

File counts lie

Splitting by file count assumes every file costs the same. Ours ranged from 2 seconds to 2 minutes 41 seconds. The pipeline waits for the slowest shard, so the other three sat idle for most of the run.

by countby duration 14m 02s6m 12s
Fig. 1: the same 1,284 tests on four shards, before and after

Split by the clock

Plinth already had the duration of every test from the reports we upload. Splitting became a packing problem: put the longest files first, each into the shard with the least work so far.

split.ts
for (const file of files.sort(byDurationDesc)) {
  const shard = shards.reduce(leastLoaded);
  shard.files.push(file);
  shard.total += file.duration;
}

The fastest test is the one that never waits for another shard.

What changed

  • Median pipeline time went from 26 minutes to 7.
  • The slowest and fastest shards now finish within 8 seconds of each other.
  • Nobody deleted, skipped or rewrote a test.

If you want to try it on your own suite, the splitting guide takes about five minutes.

Contact

Talk to an engineer.

A demo on your own pipeline, a security review or a larger rollout. Someone who has run CI at scale replies within one working day.

  • A 30-minute call, no slides
  • Security questionnaire on request
  • Or write to hello@plinth.example
Start free

Your first flake rate in five minutes.

Free for one project. The Team trial lasts fourteen days and needs no card.

  • Works with any test runner that writes a report
  • Upload last week's reports to see history at once
  • Invite the whole team, pay only for who signs in

By continuing you agree to the Terms and the Privacy policy.

404 · route not found

This page returned nothing.

The link may be old or mistyped.