Kelly Mears

Silent Failure

A failure that produces no signal, so the absence of an error reads as success.

Method2 min read201 words10 out · 44 in
also calledFailing silently

A silent failure is one that produces no error, no log line, and no visible difference — so the system reports success while doing nothing. It is the most expensive class of bug because the cost is paid later, by someone who reasonably believed the thing worked.

Silent failures cluster around a few shapes. A configuration key the parser does not recognise is ignored rather than rejected. A glob pattern that matches zero files exits successfully — see Glob. A required secret that resolves to an empty string is passed along as an empty string. A style rule scoped to a selector that never matches simply does not apply. A write that names a field the storage layer does not know about is dropped.

The structural defence is to make the quiet path loud. Prefer a crash to a Defensive Default when a required value is missing. Assert that a check can fail before trusting it, per Falsifiability. Count matches before believing a search, per Truncation Bias. And when a gate is added, prove it reds on a deliberately broken input.

The rhetorical version is just as costly: an "everything passes" claim assembled from checks that never ran. See Vacuous Truth.

See also5

Hand-picked in the note itself — the neighbours worth reading next.

Linked from44

Notes elsewhere in the wiki that reach for this one.