Free up space size estimate follow-ups #238

Closed
opened 2026-10-27 13:07:27 -05:00 by ethan-hann · 2 comments
Owner

Smaller gaps left after Free up space learned to say about how much space it frees (#228, D66):

  • The Games footer's confirmation waits only 1.5 s for the size, so on a store where the estimate takes longer it never shows one. Start the estimate when a game is selected, since Core caches the answer and the confirm-time ask is then cheap.
  • RemovedSnapshots.EstimateAsync and the all-games loop run repositories and games one after another; ReadStateAsync runs them in parallel. Do the same.
  • Records a cut-off run still owns (FreeUpIntent.NamedRefs) count as kept, so the estimate undercounts slightly in that state.
  • Settings never disposes its FreeUpSizeEstimate, so leaving the screen does not cancel a running estimate.
Smaller gaps left after Free up space learned to say about how much space it frees (#228, D66): - The Games footer's confirmation waits only 1.5 s for the size, so on a store where the estimate takes longer it never shows one. Start the estimate when a game is selected, since Core caches the answer and the confirm-time ask is then cheap. - RemovedSnapshots.EstimateAsync and the all-games loop run repositories and games one after another; ReadStateAsync runs them in parallel. Do the same. - Records a cut-off run still owns (FreeUpIntent.NamedRefs) count as kept, so the estimate undercounts slightly in that state. - Settings never disposes its FreeUpSizeEstimate, so leaving the screen does not cancel a running estimate.
ethan-hann added this to the Later milestone 2026-10-27 13:07:27 -05:00
Author
Owner

Also: the library layout has no storage footer, so the Free up space confirmation in the game's menu is the only place that layout shows the size; the 1.5 s grace matters most there (from the 0.9.19 gap analysis).

Also: the library layout has no storage footer, so the Free up space confirmation in the game's menu is the only place that layout shows the size; the 1.5 s grace matters most there (from the 0.9.19 gap analysis).
Author
Owner

Shipped in SavePoint 0.9.22 (PR #274).

Shipped in [SavePoint 0.9.22](https://git.tortal.tech/ethan-hann/SavePoint/releases/tag/v0.9.22) (PR #274).
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ethan-hann/SavePoint#238
No description provided.