Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Flake

github.com

  • Free plan
  • Windows
  • macOS
  • Linux
  • Self-hosted
7.2 Club score Visit github.com

What Flake is

Flake is a free, cross-platform Go command-line tool for detecting, diagnosing, and replaying flaky tests. It supports pytest, Jest, and Vitest, running suites repeatedly while varying conditions such as test order, seeds, worker count, timezone, locale, temporary-directory handling, and sequential or parallel execution. It calculates failure rates and groups failures into incidents using normalized signatures. For ordering failures, delta debugging can reduce the preceding sequence and verify a smaller reproduction. Each incident keeps a run specification that can be rebuilt with `flake replay <id>`. A GitHub Action can create Markdown summaries, annotate flaky files, and upload JSON, Markdown, or SARIF artifacts. Flake uses existing project runners and plugins, stores state in local SQLite, and says it uploads neither source nor test output. Likely secrets are redacted, and secret-looking environment names are rejected. There is no dashboard, server, or cloud service. Jest cannot guarantee exact cross-file ordering.

Who it suits

Flake suits developers and test engineers working with pytest, Jest, or Vitest who want local flaky-test investigation and replay.

Good to know, and what to watch

  • Free MIT-licensed tool
  • Supports three listed test runners
  • Failure clustering and replay commands
  • GitHub Action reporting
  • Local secret-handling controls
  • No web dashboard or cloud service
  • Jest cross-file ordering is not exact
  • Does not install project dependencies

The verdict

Flake provides local detection, diagnosis, and replay for flaky tests across major JavaScript and Python runners. Its saved incidents and CI reporting are useful when teams want reproducible evidence without sending test data to a service.

What the maker publishes

Availability
The README describes Flake as a cross-platform Go CLI and provides a `go install` command and released binaries for OS and architecture combinations. source
Controlled variations
Runs can vary test order, seeds, sequential or parallel execution, worker count, timezone, locale, temporary-directory handling, and allowed environment variables. source
Dependencies
Flake uses test runners and plugins already installed in the project and does not install dependencies or plugins. source
Detection
It computes failure rates and normalizes output into stable signatures to group failures into incidents. source
Detection and replay
Flake computes failure rates, minimizes reproduction conditions, reports suspected causes from observed evidence, and saves replay commands. source
Diagnosis
For ordering failures, Flake uses delta debugging to reduce the preceding test sequence and verify a minimized reproduction. source
Hosting model
The README states that Flake has no web dashboard, server, or cloud service. source
Integrations
Flake is available as a GitHub Action that can write a Markdown job summary, annotate flaky test files, and upload JSON, Markdown, or SARIF reports as an artifact. source
License
The repository lists the MIT license. source
Limitations
With Jest, Flake cannot force an exact cross-file test order because Jest's own sequencer chooses it. source
Local execution
Flake is a cross-platform Go command-line tool, with released binaries available for operating systems and architectures on its releases page. source
Privacy
The README says Flake does not upload source or test output, and stores its state in a local SQLite database in the OS application-data directory. source
Purpose
Flake detects, diagnoses, and replays flaky tests by repeatedly running test suites under controlled variations. source
Replay
Each incident stores a run specification, and `flake replay <id>` rebuilds the recorded invocation. source
Secret handling
Flake redacts likely-secret values before storing them and rejects secret-looking variable names in the environment allowlist. source
Security controls
Flake rejects secret-looking variable names from its environment allowlist and does not vary or store likely-secret variables by default. source
Supported runners
It supports pytest, Jest, and Vitest test suites. source
Supported test runners
Flake supports pytest, Jest, and Vitest. source

Checked against the maker's pages on 30 Sept 2026.