Flakeprint
Find flaky tests, with evidence from every run
Created on 29th November 2026
•
Flakeprint
Find flaky tests, with evidence from every run
The problem Flakeprint solves
A test fails in CI, you click re-run, and it passes. Was it your code or a flaky test? Teams lose time re-running jobs, and slowly stop trusting red builds.
Flakeprint finds tests that fail and then pass on unchanged code. It runs as a GitHub Action after your tests, keeps its history on a flakeprint-data branch in your own repository, and links every finding to the exact runs behind it.
What you can do with it
- Know which failures matter: each test is classified as confirmed flaky, suspected flaky, new failure, broken, recovering or healthy. A first failure is never called flaky.
- See the evidence: sticky PR comment, commit status, job summary, error fingerprints, and links to both the failed and the passed attempt.
- Act on it: issues assigned through CODEOWNERS, a weekly digest, quarantine with owners and expiry dates, and Slack, Teams, Discord or webhook notifications.
- Reproduce it:
flakeprint stressruns your suite repeatedly across Docker images, environment variables and resource limits, or on Linux, Windows and macOS runners. - Use it your way: a GitHub Action, a CLI for other CI providers, a Next.js dashboard, a backend with a REST API, and an MCP server so AI assistants can call it.
Why it is trustworthy
Results are compared only for the same test, on the same commit, with the same settings. In our simulation study on synthetic suites, this rule gave 100% precision, and 96.9% recall with one re-run. AI explanations are optional and always shown separately from observed facts.
Challenges we ran into
- AI was slower than the client timeout. Gemini took about 85 s on our Render deployment, but the MCP client gave up at 60 s. We now wait at most 40 s, return the observed facts with the AI status marked as pending, deduplicate in-flight requests and cache the answer for the next call.
- The AI tool path missed real flakes. Our MCP
analyze_reportstool merged all reports into one attempt, so a fail followed by a pass was never seen. Re-testing against the live server exposed it, and each report now carries its own attempt. - Test IDs changed on macOS. The first cross-platform stress run showed that macOS temp-directory symlinks broke stable test identity. We resolve the temp directories before running.
- A security test failed about half the time. We tampered with the session cookie by changing its last base64url character, which can alter only padding bits and decode to the same bytes. The tamper check was fine; the test was wrong. It now changes a character in the middle of the ciphertext.
- Not hiding real bugs. Retries and quarantine can easily turn a build green silently. Flakeprint keeps the original failure in the report, and a quarantine entry does not cover a failure whose error fingerprint has changed.
Discussion
Builders also viewed
See more projects on Devfolio
