fix(dstorage): Keep cancelled requests out of queue errors #33
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Freminet--ScarlettX!33
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/33/head"
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?
@mrb-eel on GitHub · 2026-11-21 14:26 UTC · original
mrb-eel:codex/directstorage-cancellation-status→main· +38 −17 · 2 files · 1 commits · merged 2026-11-22 09:58 UTCScarlettX currently reports
E_ABORTfor requests cancelled byDStorageCancelRequestsWithTag. That result becomes the batch status and increments the queue's failure count. Games can then handle an intentional cancellation as an asset read failure.Retire cancelled requests in queue order without executing the read or recording an error. Match the Xbox Series X|S DirectStorage cancellation contract for status arrays and queue error records.
Verification
test_dstorage_xvd. The new expectation failed against upstream withE_ABORTand passed with the fix.dstorage_xs. The full Windows build and game testing remain pending.Developed with assistance from OpenAI Codex.