Repository navigation
XGameRuntime: ignore mixed-case game-save temp files - #2373
mokkamokacaffe wants to merge 1 commit into
Conversation
Windows filesystems compare names case-insensitively, but blob enumeration filtered the atomic-write prefix case-sensitively. Reuse the existing ASCII-insensitive prefix helper and cover both lowercase and uppercase crash leftovers.\n\nFixes xcl-dev#2366\n\nAssisted-by: OpenAI Codex (GPT-5)
|
Verified on the Windows 11 machine where #2366 reproduced. Tested
Not tested
AI use
|
|
Tested commit Environment
Results
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
The lowered program is missing an expected group barrier (or emits one where none is expected). Needs a fix before merge. — Devin |
|
Independent Windows 11 x64 verification of Tested
This confirms AI use: Antigravity with Gemini 4 Hydrogen (Medium) ran the merge/test loop and drafted this report; reviewed by human. |
|
I reproduced the reported shader-barrier failure on both the original PR head and its unchanged parent. Both counted 3 barriers where the test expected 1. The paired results show that the failure predates this game-save change. Tested Windows 11, NVIDIA GeForce RTX 4080 SUPER, DXC/DXIL 1.9.2609.5, debug test profile. Each run used a separate detached worktree and one test thread.
The newer pair includes an upstream correction that checks for zero barriers after the divergent entry branch. The corrected assertion passed with and without this PR. Upstream test correction Both game-save runs passed Commands used: Not tested Full workspace suite and retail smoke in this verification. AI use OpenAI Codex (GPT-6) ran the checks, compared the assertions across revisions, and drafted this comment. |
|
No open or merged PR makes the same change: main's AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
blobs_offiltered atomic-write temporary files case-sensitively even though Windows filesystems compare their names case-insensitively. An uppercase~XCLTMP.*crash leftover could therefore appear as a title-visible save blob and affect enumeration and quota accounting.Fixes #2366.
What is in it
crates/xcl/src/hle/xgameruntime/gamesave.rs: use the existing ASCII-insensitive prefix helper when excluding atomic-write temporary files.~xcltmp.*blob coverage.Tested
Ritolino tested head
f6a2573dmerged onto8b957becon the Windows NTFS machine that reproduced XGameRuntime: blob_enumeration_sees_one_submitted_update fails on Windows NTFS (DirEntry::metadata cache) #2421. All 11 game-save tests passed and blob enumeration passed 10/10 repetitions. The separate barrier failure reproduced on both the original head and parent, then passed on both sides after the upstream assertion correction. NTFS repetitions · Paired barrier controlsLinux compile-only:
cargo check -p xcl --lib --tests --target x86_64-pc-windows-msvcpassed; Windows test binaries were not executed in this run.Windows 11 Pro build 26300, Intel Core i7-11800H, NVIDIA GeForce RTX 3070 Laptop GPU, exact head
f6a2573d02dc10a50ca23d6084083955143cb1a6:cargo test -p xcl --lib gamesave— 11 passed, 0 failed, 0 ignored. The originalblob_enumeration_sees_one_submitted_updatereproduction passed.Windows 11 on NTFS, NVIDIA GeForce RTX 5070 12 GB (driver 621.35, wave32), DXC 1.8.2502.11 / Windows SDK 10.0.26100.0, exact head
f6a2573:cargo test -p xcl --lib gamesave— 11 passed, 0 failed, including the atomic-write and case-insensitive enumeration regressions.On that RTX 5070,
cargo test -p xcl --libboth in parallel and with--test-threads=1: 1215 passed, 5 failed, 26 ignored. The failures were the four DXIL fuzz tests (CreateComputePipelineState:E_OUTOFMEMORY) and the existing bridged-mask barrier assertion. Reported skips: 13 no-wave64, 3 unsupported per-lane VOP3-modifier cases, and 1 driver-cache test requiring Windows Developer Mode.Windows 11, NVIDIA GeForce RTX 3060 Ti, with this branch merged into then-current
main:cargo test -p xcl --libreported 1219 passed, 1 failed. The deterministic failure wasgpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier, outside this PR's game-save code; the focused game-save suites above remained green.Regression run
Main ran first, followed by the exact PR #2373 head. Each run used its own release build and stock smoke script. Both worktrees were clean immediately before launch, and the starting caches had identical SHA-256 indexes across all 31,056 files. Both runs exited normally with zero crashes and zero device removals. The PR showed 925 frames against main’s 1,144 (80.9%).
Main
PR #2373
Not tested
cargo test --workspace -- --test-threads=4run on PR headf6a2573d.AI use