fix(cache): preserve live usage during cache restore (#218)

* test(cache): reproduce delayed restore losing retained live usage

* fix(cache): preserve live measurements during delayed restore

* test(cache): cover delayed restore timestamp boundaries

Exercise accepted receipt-time quotas, measured zero, account-key preservation,
missing cached providers, raw failed snapshots, and the original retention
deadline. Keep the author's production fix unchanged.

Supplemental Node execution of these exact QML test function bodies against
the author's implementation passes all five data cases. Four fail against
the original module, while the raw-failure control passes in both versions.
Native Qt/check/smoke results must be verified on this updated branch.
77aecea6eeSimone committed on 9/11/2026, 2:37:47 AM· committed by GitHubparent757f58e
3 files changedLine totals unavailable