Repository navigation
Tests: join game-save enumeration reader on unwind - #2979
luckyteagirl wants to merge 1 commit into
Conversation
A failed writer assertion could detach the reader while it held a pointer to the test container. Scope the reader to the container and signal shutdown on both success and unwind. Part of xcl-dev#2421. Assisted-by: OpenAI Codex (GPT-6.2 Sol)
|
Could a maintainer review the diff for the The original NTFS reporter's independent rerun would be especially useful here: the patch should make a writer assertion fail cleanly without a later reader use of the dropped container. It does not claim to fix the writer error, temporary-file filtering, or stale-size problem. AI use: OpenAI Codex (GPT-6, exact serving variant unavailable) checked the exact diff and drafted this scope request. |
|
#2521 is for the same issue (#2421), but it changes AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Part of #2421. A writer assertion in
blob_enumeration_sees_one_submitted_updatecan unwind while its detached reader still holds a raw pointer to the test's stackContainer. This can turn a file-system test failure into a later0xc0000005. Reporter diagnosisWhat is in it
Tested
c2ee10e4, the reader was still active after unwinding. With this change, the reader had exited before unwinding returned to the probe.cargo test --locked -p xcl --lib -j 2 xgameruntime::gamesave::tests -- --test-threads=1passed 11 tests, 0 failed, 0 ignored, 0 skipped.git diff --checkpassed.Regression run
Only the GameSave test changes. Request maintainer review for the
test-onlylabel because the path-based checker classifiesgamesave.rsas runtime.Not tested
The complete GPU workspace suite and a retail title. The forced-failure probe models the writer assertion with stubbed I/O. The GameSave unit run uses actual file-system operations. The stale-size, mixed-case temp-file, and sharing-failure production fixes are separate.
AI use
OpenAI Codex (GPT-6.2 Sol) traced the test's reader lifetime, implemented the scoped reader, ran the focused CPU checks, and drafted this description.