
The flaky test that was not flaky
A Jest test file failed on CI three times in ten days and passed locally every time. Two timeout bumps later, here is the post-mortem and the real cause.
Testing, code, and a house that runs itself. Every article lives under one theme, so pick the one you came for.
Looking for something specific? Search covers every theme.
01 · Theme
Cypress, CI triage and flaky-test post-mortems. Why tests go red, and the sneakier cases where they go green when they shouldn't.

A Jest test file failed on CI three times in ten days and passed locally every time. Two timeout bumps later, here is the post-mortem and the real cause.



At thousands of tests a day, most red is not a test bug. Six failure fingerprints that tell you whether to debug the suite or the environment.

The most misleading error in Cypress. Four distinct causes — late aliasing, a handler that ends the chain, an endpoint that only fires on change, and a 204 that emits nothing — with the fix for each.

A cy.session validate() that hits a relative URL on a single-page app can never fail. Here is why dead sessions restore green, and how to validate the credential your app actually uses.
Also published elsewhere4
02 · Theme
The code around the tests: TypeScript import cycles, Claude Code skills and the AI tooling that saves real hours.

In Cypress, "An uncaught error was detected outside of a test" is often a TypeScript import cycle. Four patterns, why decorators make them fatal, and the fix.

A skill is a folder with a markdown file, and the description line is the whole product. How repeated agent instructions became skills my team runs without me.
03 · Theme
A Home Assistant series: getting home, living inside a house that runs itself, and the boring automations that matter most. Best read in order.

I never thought about automation as something that could be integrated to my daily routine. But one thing is to automate software, and another completely different is to think of real-life flows.

Part 2 of my Home Assistant series. Inside the house, 14 automations keep the wall thermostats and Home Assistant from fighting, a CO₂ chart ended up diagnosing a filter, and the appliances finally tell me things.

Part 3 of my Home Assistant series. Leak sensors, smoke detectors and batteries, the automations nobody shows off, and how the house quietly turned into a system under test.

The behind-the-scenes of my Home Assistant series. Claude Code running inside the box, the skills it leans on, a dashboard generated from Python, home-made animated cards, and a tour of every page.