Flakeprint

Find flaky tests, with evidence from every run

Visit Repo
Flakeprint banner

About

## The problem it 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 stress` runs 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_reports` tool 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.

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Deflake

Finds flaky tests in a Python project, explains why each one flakes, writes a small fix that has to change the cause, proves the fix with repeated runs, and routes it either to an automatic pull request or to a person.