runtime: read a persisted blob through the asynchronous save provider #1355
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#1355
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?
@R0Y00 on GitHub · 2026-11-24 09:03 UTC · original
Refs #1200, #1246 and #1334. This is an independently claimable follow-up for the save provider. The saved diagnostic logs have not established that first-run setup calls the asynchronous read slots.
A source-built Windows client loaded the candidate GameInput.dll (SHA-256 9620813c5ef3330e16a188af6a0da32d2e410cbb952c7f01c7388a2c94fba9c6) and queried the system Gaming Runtime. Process 1 submitted a three-byte preference through slots 28/29. Process 2 read the expected bytes through slot 20. With the same container, blob name, save-provider instance and a valid Immediate queue, slot 21 returned E_FAIL. The client did not initialize a user service. In that candidate, slot 21 delegates to the user-service completion helper; slot 22 always returns blob-not-found.
Owner: open. Please claim here and coordinate with the #1334 author. Reuse that PR's synchronous packing and the system XAsync machinery used by #1246. Use the documented read result on the established save-provider identity.
Deliver a Windows source-built regression which loads the candidate DLL, commits a blob, starts a fresh process, and reads via slots 21/22. Check the completion callback, required result size, count and exact bytes. Include a missing blob, an insufficient result buffer, and overlapping reads with separate async blocks. Preserve the existing restart and submit checks. Please give the exact CTest filter for the new test; the existing baseline is
ctest --preset dev --no-tests=error -R startup_gamesave -V.@SimSalabimse on GitHub · 2026-11-24 10:49 UTC · original
Claiming this. Plan: reuse #1334's read packing and the XAsync path from slots 28/29 so slots 21/22 can read a saved blob after a restart, with tests for missing blob, short buffer and overlapping reads. Will keep it compatible with #1334. Draft PR to follow.
AI-assisted