Tests: isolate synthetic title fixtures per process #1081

Closed
github-bot wants to merge 1 commit from github-bot/gh-1081 into main AGit
Owner

@⁠broccolize on GitHub · 2026-11-24 11:23 UTC · original
broccolize:tests/isolate-synthetic-title → main · +7 −2 · 1 files · 1 commits · closed without merging

Two invocations of the regular synthetic-title integration test can race on the same fixture directory. Give each process its own game and data directories under Cargo’s scratch directory.

What is in it

  • Use the process ID and a timestamp in the synthetic fixture directory name and keep the individual reports.

Tested

Clean head 9d32382c4cd78c185c3b1e6b3e592486013696a7. Windows 11 build 26300, Intel Core i5-10300H, NVIDIA GeForce GTX 1650 driver 32.0.16.1714, Rust 1.100.0 MSVC, debug.

  • cargo build --locked --workspace passed.
  • cargo test --locked --workspace -- --test-threads=4 --show-output reported 741 passed, 0 failed, 41 ignored.
  • Ran two instances of test_title_runs_and_game_folder_is_untouched concurrently against one Cargo target directory. Both passed and wrote separate report.json files.
  • Runtime skips reported by the suite
    • SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64
    • SKIPPED gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64
    • SKIPPED placed_title_textures_share_vram_and_preserve_pixels: this adapter makes no reserved cube with mips
    • mklink /J unavailable – link case skipped
    • SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll
    • SKIPPED uploads_start_from_each_subresources_state: no D3D12 debug layer (The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D))

Not tested

Retail-title execution and the debug-layer test path on this host. The workspace suite reported the missing debug layer.

AI use

Codex (GPT-6, exact variant unavailable) implemented the change, ran verification.

**@⁠broccolize** on GitHub · 2026-11-24 11:23 UTC · [original](https://github.com/xcl-dev/xcl/pull/1081) `broccolize:tests/isolate-synthetic-title` → `main` · +7 −2 · 1 files · 1 commits · closed without merging Two invocations of the regular synthetic-title integration test can race on the same fixture directory. Give each process its own game and data directories under Cargo’s scratch directory. **What is in it** - Use the process ID and a timestamp in the synthetic fixture directory name and keep the individual reports. **Tested** Clean head `9d32382c4cd78c185c3b1e6b3e592486013696a7`. Windows 11 build 26300, Intel Core i5-10300H, NVIDIA GeForce GTX 1650 driver 32.0.16.1714, Rust 1.100.0 MSVC, debug. - `cargo build --locked --workspace` passed. - `cargo test --locked --workspace -- --test-threads=4 --show-output` reported **741 passed, 0 failed, 41 ignored**. - Ran two instances of `test_title_runs_and_game_folder_is_untouched` concurrently against one Cargo target directory. Both passed and wrote separate `report.json` files. - Runtime skips reported by the suite - SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64 - SKIPPED gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64 - SKIPPED placed_title_textures_share_vram_and_preserve_pixels: this adapter makes no reserved cube with mips - mklink /J unavailable – link case skipped - SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll - SKIPPED uploads_start_from_each_subresources_state: no D3D12 debug layer (The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)) **Not tested** Retail-title execution and the debug-layer test path on this host. The workspace suite reported the missing debug layer. **AI use** Codex (GPT-6, exact variant unavailable) implemented the change, ran verification.
Keep each regular synthetic-title invocation in its own scratch directory so simultaneous test binaries cannot remove another fixture or its reports.

Assisted-by: Codex (GPT-6)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:42:48 +00:00
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-24 14:25 UTC · original

Full-suite run, since this PR has no test report yet. Tested exact head 9d32382 (on its base 47efa2e).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 741 passed, 0 failed, 41 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • The changed test ran and passed: test_title_runs_and_game_folder_is_untouched.

Not tested

  • AMD, a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
**@⁠futurepro62** on GitHub · 2026-11-24 14:25 UTC · [original](https://github.com/xcl-dev/xcl/pull/1081#issuecomment-7134344138) Full-suite run, since this PR has no test report yet. Tested exact head `9d32382` (on its base `47efa2e`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4`: **741 passed, 0 failed, 41 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - The changed test ran and passed: `test_title_runs_and_game_folder_is_untouched`. **Not tested** - AMD, a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 08:36 UTC · original

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-25 08:36 UTC · [original](https://github.com/xcl-dev/xcl/pull/1081#issuecomment-7157255535) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
github-bot closed this pull request 2026-11-26 06:16:57 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.