runtime: read a persisted blob through the asynchronous save provider #1355

Closed
opened 2026-11-26 23:00:39 +00:00 by github-bot · 1 comment
Owner

@⁠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.

**@⁠R0Y00** on GitHub · 2026-11-24 09:03 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/1355) 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](https://learn.microsoft.com/en-us/gaming/gdk/docs/reference/system/xgamesave/functions/xgamesavereadblobdataresult) 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`.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 23:00:40 +00:00
Author
Owner

@⁠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

**@⁠SimSalabimse** on GitHub · 2026-11-24 10:49 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/1355#issuecomment-7129301391) 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
This discussion has been locked. Commenting is limited to contributors.
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
github/R0Y00--Xbox2Windows#1355
No description provided.