Tests: isolate the console mesh cache probe from parallel tests #2986
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!2986
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2986"
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?
@thehollowedone on GitHub · 2026-11-27 07:32 UTC · original
thehollowedone:tests/isolate-mesh-cache-probe→main· +17 −0 · 1 files · 1 commits · closed without mergingThe four-thread GPU suite on current
mainfailsconsole_mesh_caches_hlsl_compute_pass_in_memory_and_on_diskat its cached-only assertion, while the same test passes alone. Its public calls use process-wide shader caches shared with other tests. Run this test in a child process with a private DXC cache so its existing memory and disk cache assertions observe only their own work. This was found while testing #2977; it changes no runtime behavior.What is in it
crates/xcl/src/gpu/recomp/pso.rs: isolate the existing test in a child process, with a unique temporary cache directory and fixed HLSL/cache settings. Keep all original assertions.Tested
cargo build --offline --locked -j 4 --workspace: passed.cargo test --offline --locked -j 4 --workspace --no-fail-fast -- --test-threads=4: 1,457 passed, 0 failed, 47 ignored across 38 binaries; 43 GPU skip notices, excluded from GPU coverage.main83b00818on the same machine, aftercargo build --offline --locked --workspace:cargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4gave 1,456 passed, 1 failed, 47 ignored; the sole failure was this test (DXIL not compiled yet). It failed in the parallel suite and passed alone.git diff --check: passed.Regression run
test-onlylabel to waive the smoke check underCONTRIBUTING.md.Not tested
AI use
@thehollowedone on GitHub · 2026-11-27 07:36 UTC · original
Closing this draft to avoid duplicating the already-posted tested solution in #2977. The test-only diff and exact parent/head results remain available in that thread.
Pull request closed