Blog Posts

Latest articles and insights

Make flaky tests fail the check and leave behind a trace worth reading.

Playwright Retries in CI: Keep the First Failure, Even If the Retry Passes

Răzvan Mareș6 min read

The CI summary said the checkout test passed. The log told a different story: on the first attempt, Playwright waited five seconds for `Order confirmed` and never saw it. On the retry, the text appear...

GitHub Actionsci-cdnextjs+1
Use finite type families to express valid states, exhaustively handle cases, and protect invariants.

C# Closed Unions in .NET 11 Preview: Safer Domain Models

Răzvan Mareș7 min read

Domain models often begin as a single class with a status enum. It is quick, familiar, and deceptively expensive. A `Payment` might have a `PaymentStatus`, an optional failure reason, a nullable sett...

.NETcsharp
Make cancellation, time, lifetimes, retries, and diagnostics deliberate design choices.

8 Advanced .NET Reliability Rules for Production-Grade Services

Răzvan Mareș8 min read

A production .NET service rarely fails because a developer forgot an `if` statement. It fails at boundaries: a request outlives its client, a retry amplifies a partial outage, a scoped dependency esca...

.NETef-corecsharp+2
A practical guide to turning local models into a dependable private capability.

The Local AI Workshop: Running Models You Can Inspect and Control

Răzvan Mareș8 min read

Self-hosting a language model is less like installing an application and more like opening a workshop. At first, the room looks simple: download a model, start a server, send it a prompt. Then the re...

PostgreSQLtraefiklinux+3
Turn cross-repository work into small, evidence-backed missions Claude Code can execute safely.

Claude Code for Multi-Repo Changes: The Dispatch Workflow

Răzvan Mareș8 min read

A feature request that touches one repository is a coding task. A feature request that crosses a frontend, an API, a shared package, infrastructure, and CI is an expedition. The failure mode is famil...

ci-cdnodejsTypeScript+4