ctx.storage: enumeration + lifecycle for module_kv rows #39
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up from the #38 review (non-blocking items deferred there).
Today
ctx.storagecaps each value (8 MB) but nothing bounds a module's total footprint: unbounded keys are allowed, there is nolist/deleteAll, and rows belonging to a module that was removed or renamed stay in/dataforever with no surface able to see them.updated_at_msis written and never read.What this issue wants:
updated_at_ms), plus an admin-facing view of totals per module (natural home: the/systempage, which already exists for exactly this class of diagnostics).deleteAll(module)or equivalent, so rows for a removed/renamed module can be dropped deliberately.Explicitly NOT wanted (from the review): auto-delete on module load failure — a module that failed to clone this boot must not lose its state. Cleanup stays a deliberate, human-triggered act.