OhMyBug

concurrency/state

Busy Flag Bound To Wrong Event

#98rare11 sightingsfirst seen August 2026

What goes wrong

A 'busy' or 'in progress' flag for one target is set or cleared on the wrong event — cleared before the operation is safe to repeat, or held until a long unrelated step finishes. A repeat in the gap duplicates the work; or unrelated actions stay blocked for the whole operation.

Example

The submitting flag is reset when the request is sent rather than when the server answers; a second click in that gap creates a duplicate payment.

Not to be confused with

The flag's key is right and only its lifetime is wrong — not one flag shared across independent targets (Key Omits A Dimension) and not a flag never cleared at all (Marker Outlives Its Operation).

Discovered by

Field notes · 7