Expired cache entries are swept away server-side, and cache key names must be 1 to 64 characters.
What's wrong with this entry?
A helper was added that deletes key-value cache rows whose expiry has passed, warning rather than failing if the delete errors, and key names are now validated at 1 to 64 characters.
- The sweep runs as a single delete over rows with an expiry in the past; rows with no expiry are untouched.
- No condition guards the call site, so the sweep runs whenever that path is reached.
DELETE FROM kv WHERE expires_at IS NOT NULL AND expires_at <= now()
Strings lifted out of the shipped bundle, so the claim above can be checked against them.