XGameRuntime: ignore mixed-case game-save temp files #2373
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2373
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2373"
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?
@mokkamokacaffe on GitHub · 2026-11-25 17:05 UTC · original
mokkamokacaffe:xgameruntime/case-insensitive-temp-blobs→main· +6 −2 · 1 files · 1 commits · draftblobs_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
cargo check -p xcl --lib --tests --target x86_64-pc-windows-msvcpassed; Windows test binaries were not executed in this run.f6a2573d02dc10a50ca23d6084083955143cb1a6:cargo test -p xcl --lib gamesave— 11 passed, 0 failed, 0 ignored. The originalblob_enumeration_sees_one_submitted_updatereproduction passed.f6a2573:cargo test -p xcl --lib gamesave— 11 passed, 0 failed, including the atomic-write and case-insensitive enumeration regressions.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.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
xcl-smokeblocks from currentmainand this PR's exact head commit.Not tested
cargo test --workspace -- --test-threads=4run.AI use
@ahmetbagci8 on GitHub · 2026-11-25 17:09 UTC · original
Verified on the Windows 11 machine where #2366 reproduced.
Tested
f6a2573d02dc10a50ca23d6084083955143cb1a6cargo test -p xcl --lib gamesave:11 passed; 0 failed; 0 ignored(1.09s) —blob_enumeration_sees_one_submitted_updatenow passes cleanly.Not tested
scripts/smoke.ps1.AI use
cargo test -p xcl --lib gamesaveon this commit and drafted this report; the author reviewed it before posting.@FIJI1299 on GitHub · 2026-11-25 17:17 UTC · original
Tested commit
f6a2573on Windows:Environment
621.35,wave32)1.8.2502.11(Windows SDK10.0.26100.0)Results
hle::xgameruntime::gamesavetests (cargo test -p xcl --lib gamesave): 11 passed, 0 failed (includingatomic_writes_preserve_xcltmp_blobs_and_skip_leftover_tempsandcase_insensitive_blob_and_container_matching_on_ntfs).cargo test -p xcl --lib): 1215 passed, 5 failed, 26 ignored (both parallel and with--test-threads=1).gpu::*):gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3:CreateComputePipelineStatereturnedE_OUTOFMEMORY(0x8007000E) on this driver.gpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier: assertion failed (left: 3, right: 1group barriers).13(no wave64)3(wave32, per-lane form: refused (unsupported V_CVT_F16_F32 / V_MUL_F16 / V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's)))1(cannot disable the driver cache (Windows Developer Mode is required): 0x887A002D)@DavidM1911 on GitHub · 2026-11-25 19:12 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: 1 real failure, deterministic (also fails--test-threads=1, 1219/1):The lowered program is missing an expected group barrier (or emits one where none is expected). Needs a fix before merge.
— Devin
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.