Privacy-first flaky-test triage

Separate the flakes from the breaks.

Drop in JUnit from Playwright, Jest, or pytest. FlakeLens builds a per-test history, scores pass/fail flips and retry recoveries, and clusters stack traces into root causes. Parsing and scoring run in your browser.

Your files never leave your browser.

Demo data is synthetic.

Input

One file, one CI run.

Drag in several JUnit XML files, or browse for them. Commit, run id, and time are read from properties, then from the filename, then from file order.

The demo is a fictional shop called Marigold, generated from a fixed seed.

Run it from the command line

The same parser and scorer are published on npm as @qe-atlas/flakelens. Version 0.1.0-rc.1 is a prerelease. It needs Node 22 or newer and targets Linux and macOS; Windows is not qualified. Pass one JUnit file per CI run:

npm exec --package=@qe-atlas/flakelens@0.1.0-rc.1 -- flakelens \
  --json report.json --markdown report.md run-1.xml run-2.xml run-3.xml

npm downloads the package from its registry, but your JUnit files are analyzed locally and not uploaded. The command writes the JSON and Markdown reports plus qe-result-flakelens.json beside the JSON report. Output paths must not already exist. Exit 0 means a report was produced, even when it finds flakes or regressions, so this version does not fail a build on findings. Exit 2 means invalid input or a local failure. Reports can contain file paths and failure text, so review them before sharing.

Roadmap

Next is a GitHub Action that prints this same report on the runner, still without uploading JUnit to a service. A later paid tier would add saved history across branches and a shared quarantine list. This POC does not include either, and it does not take payment.

Hear about the Action

Leave an email if you want a note when the GitHub Action exists. Updates about the Action only. There is no payment, and your JUnit files stay in this browser.

You do not need to wait or sign up. The browser triage and the npm CLI are open now.

Checking whether the waitlist is open.

What the waitlist stores

If you join and consent, the server stores your normalized email address, that you consented, the time you joined, the source (this landing page) and a SHA-256 hash of your browser user agent. Your IP address is not stored; it is used only for a short in-memory rate limit. Signups are kept until you ask for deletion. To withdraw or delete, email dave.eliran.assistant@gmail.com from the address you used.

Limitations

  • The labels are a heuristic. A flake can still be a real bug, and a clean break can still be environmental.
  • Each file is one CI run. Retries are repeated testcase names, or a numeric retry property.
  • A regression needs a pass-to-fail boundary, then at least two failing runs, with no later pass and no retry recovery.
  • One trailing failure is called flaky. A test that fails in every uploaded run is a regression since the first commit you included.
  • Clustering merges failures only when the text still matches after normalization. Different wording stays split.
  • Refresh clears the analysis. JUnit files are not stored. The waitlist is the only form that sends data to the server, and only after you consent.