OhMyBug

logic/correctness

Stored marker read as current condition

rare13 sightingsfirst seen October 2026

What goes wrong

A decision reads a stored marker that once summarised a condition instead of evaluating the condition itself. The marker is written at one moment and the underlying state keeps moving, so every later read answers from the stand-in. The reader wrongly relies on the marker still agreeing with the live state it was derived from.

Example

An account page decides whether someone belongs to a group by reading the first invitation code they ever redeemed, so a member who joined through a later invitation is asked to join again.

Not to be confused with

Not a stale cache of an expensive computation, and not the nearest catalog species, a frozen measurement served as current, because here the marker was never wrong when written and only diverges once the real state changes beneath it.

Discovered by

Field notes · 8