Cookiebot
Progress

Carried v1 defects

Thirteen defects found in v1, each owed a regression test in v2

Reading v1 to port it turned up defects worth naming. They are tracked here because a rewrite that silently reintroduces them has gained nothing, and because "the new design makes this impossible" is a claim that deserves a test.

Addressed by design means the v2 architecture removes the defect by construction — a per-request cache instead of a shared one, a real lock instead of a busy-wait. It does not mean a test exists. Each still needs one that would fail if the old behaviour came back.

#Defect carried from v1Addressed by design
D1Write calls share the read memo-cache; duplicate writes silently no-opyes
D2verify=False on every backend callyes
D3Busy-wait spin lock serialises all media distortionnot yet
D4Fixed temp filenames raced across 50 threadsyes
D5Shared unlocked SQLite connectionyes
D6Unbounded, unlocked, never-expiring cachesyes
D7JWT signing key regenerated on every restartnot yet
D8sleep() in a loop over every group, on a worker threadnot yet
D9deleteAdmins missing @RequestBodyyes
D10No index on Event.groupId, User.username, User.birthdateyes
D11No pagination anywhereyes
D12Actuator health and metrics exposed anonymouslyyes
D13CORS allowed-origins '*' with credentialsyes

The numbering matches §6 of the v1 feature map.