startup-runtime: DirectStorage status lines show done=0 while compressed requests complete #2816
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#2816
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?
@tedin7 on GitHub · 2026-11-26 11:16 UTC · original
Part of #1198
Problem. The DirectStorage stand-in status lines (
Queue::EnqueueStatus ... (requests done=%ld inflated=%ld failed=%ld)and the heartbeatrequests done=%ld inflated=%ld failed=%ld ...insrc/startup_stubs/xcrdapi.cpp) printdone=fromrequests_done, which is only incremented for uncompressed requests (xcrdapi.cpp, theelsebranch after thezlib || bcpackcase). Compressed requests count ininflated=instead.A title whose requests are all compressed therefore shows
requests done=0for the whole run while thousands complete. On a long run this reads like storage is stuck, which is the opposite of what happened.Proposal.
inflated=%ld failed=%ldtext exactly, becausetools/startup/live_view.pyparses it.raw=for uncompressed copies) and add an explicitcompleted=total (raw + inflated + bcpack-blank), so the line answers "is storage progressing?" at a glance.live_view.pyand the docs that quote the line, if any.Tests. Extend an existing
startup_storage_*stand-in check so a run with only zlib requests assertscompleted=equals the number of finished requests whileraw=0, plus a Linux check thatlive_view.pystill parses old and new lines.@tedin7 on GitHub · 2026-11-26 11:16 UTC · original
Taking this one; a Draft PR will follow.