JT / SAGE IDEAS Work with me

Glossary · CI / CD

Flake

A test that passes and fails on the same code, for no real reason.

Also called Flaky test

A flake is a test that passes and fails on the same code, without you changing a thing. Run it ten times and you get eight greens and two reds from identical inputs. The failure is noise, and that noise quietly poisons your trust in every other test.

Why it matters

Once a test flakes, people stop trusting it, and soon they stop trusting the whole suite. The habit becomes "just hit retry until it goes green," which is how a genuine failure sails through disguised as a flake. That is fake green: your CI says pass, but it no longer means anything.

How it works

You find flakes by running the same test many times on unchanged code and watching which ones disagree with themselves. The usual culprits are timing (a fixed sleep instead of waiting for a condition), shared state between tests, real network calls, and randomness with no fixed seed. The honest fix is to quarantine the flaky test so it stops blocking merges, then repair the root cause instead of adding retries that just hide it.

Receipts · the newsletter

Receipts: AI engineering, with the evidence attached.

One real finding with its proof, one runnable lab, and one thing I would do differently. Weekly, Tuesday morning, a five-minute read.

required

Free. One email a week. Confirm first, unsubscribe in one click. How it works

Not ready to talk yet?

Get the AI release-readiness checklist

Eighteen checks to pass before an LLM feature meets a customer. The checklist is free and open: no email wall. Leave one email and I also send the sample evaluation report that goes with it. One email is all I ask for.

required

Inside the checklist: 18 checks, 5 groups

  • Ground truthwithout this, every other check is opinion3 checks
  • Measurement"it seems better" is not a metric4 checks
  • Safety batterythe failure modes that end up in screenshots5 checks
  • The gatea red eval that blocks nothing is decoration3 checks
  • Blast-radius controlautonomy is earned with evidence, never assumed3 checks

Have a system that needs to work?

Tell me the problem. I will tell you honestly whether I am the right engineer for it.

Book a 15-minute call Run a free audit Not sure what you need? Answer 3 questions