Upstream contribution · akitaonrails/ai-memory
ai-memory · Show unavailable storage measurements in ai-memory
Problem
A failed advisory SQLite read became a zeroed storage structure on the health page. Operators could see a false empty-database measurement and lose the accompanying reclaimability signal.
Engineering response
Represent a failed read as unavailable. Keep the health page usable while rendering storage measurements and reclaim guidance according to whether the database statistics are known.
Evidence and scope
The pull request reports 29 passing health tests and 12 passing localization tests. Restoring the original behavior made two new health regressions fail.