Tests: ignore the pipeline cache vkd3d-proton writes under Wine #664

Open
Tjabooo wants to merge 1 commit from upstream-pr/669 into main
Tjabooo commented 2026-11-24 03:10:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Tjabooo on 2026-11-24T03:10:50Z.


Running the test suite under Wine with vkd3d-proton (the Linux setup in #175) leaves vkd3d-proton.cache and vkd3d-proton.cache.write in crates/xcl, the test working directory. They appear as untracked files after every run, and a git add -A would commit them (a binary that the PR checks would then refuse). This ignores both. Part of #175.

What is in it

  • .gitignore: vkd3d-proton.cache and vkd3d-proton.cache.write, with a comment saying where they come from.

Tested

  • AMD Radeon RX 9070 XT (RDNA4, GFX1201), RADV / Mesa 26.2.6, Ryzen CPU; Arch Linux, Wine 11.21; vkd3d-proton v3.1 with #257's patch; DXC 2026_09_29. Rust 1.100.0, cross-built for x86_64-pc-windows-gnu, debug. No Windows build.
  • cargo test -p xcl --lib --locked --target x86_64-pc-windows-gnu -- --test-threads=4 (run under Wine) on this branch: 649 passed, 3 failed, 21 ignored, 0 SKIPPED. The three failures are on main too and unrelated: gpu_f64_roots and gpu_f64_math_random (fixed by #530) and gpu_nonfused_mad_and_mac_prevent_fma_contraction (#472).
  • After the run, crates/xcl/vkd3d-proton.cache.write exists and git status lists only .gitignore.

Regression run

  • Not a runtime change (.gitignore only), so no smoke.ps1 run.

Not tested

  • The Windows suite (cargo test --workspace with the MSVC build): there is nothing on Windows for this to change, but no Windows run was made.

AI use

  • Claude Code with Claude Opus 5.5: found the files while running the suite under Wine, wrote the change and this description. I read the diff.
<!-- greyfinch-sync:ivall/xcl:issue:5465364605 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/669). Originally posted by [Tjabooo](https://github.com/Tjabooo) on 2026-11-24T03:10:50Z. --- Running the test suite under Wine with vkd3d-proton (the Linux setup in #175) leaves `vkd3d-proton.cache` and `vkd3d-proton.cache.write` in `crates/xcl`, the test working directory. They appear as untracked files after every run, and a `git add -A` would commit them (a binary that the PR checks would then refuse). This ignores both. Part of #175. **What is in it** - `.gitignore`: `vkd3d-proton.cache` and `vkd3d-proton.cache.write`, with a comment saying where they come from. **Tested** - AMD Radeon RX 9070 XT (RDNA4, GFX1201), RADV / Mesa 26.2.6, Ryzen CPU; Arch Linux, Wine 11.21; vkd3d-proton v3.1 with #257's patch; DXC 2026_09_29. Rust 1.100.0, cross-built for `x86_64-pc-windows-gnu`, debug. No Windows build. - `cargo test -p xcl --lib --locked --target x86_64-pc-windows-gnu -- --test-threads=4` (run under Wine) on this branch: 649 passed, 3 failed, 21 ignored, 0 `SKIPPED`. The three failures are on `main` too and unrelated: `gpu_f64_roots` and `gpu_f64_math_random` (fixed by #530) and `gpu_nonfused_mad_and_mac_prevent_fma_contraction` (#472). - After the run, `crates/xcl/vkd3d-proton.cache.write` exists and `git status` lists only `.gitignore`. **Regression run** - Not a runtime change (`.gitignore` only), so no `smoke.ps1` run. **Not tested** - The Windows suite (`cargo test --workspace` with the MSVC build): there is nothing on Windows for this to change, but no Windows run was made. **AI use** - Claude Code with Claude Opus 5.5: found the files while running the suite under Wine, wrote the change and this description. I read the diff.
mdberkey commented 2026-11-24 03:18:06 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mdberkey on 2026-11-24T03:18:06Z.

Review: COMMENTED


Verified

  • Windows 11 Pro 26200, Ryzen 5 5600X, 32 GB, RTX 3070.
  • .gitignore is the only changed file (+4 lines).
  • git check-ignore -v resolves both vkd3d-proton.cache and vkd3d-proton.cache.write at the repo root and in crates/xcl (.gitignore:48, :49).
  • With both files created in both locations, git status --porcelain is empty and git add -A --dry-run stages nothing.
  • No tracked file matches vkd3d; git diff --check is clean.
  • cargo build --locked --workspace --jobs 3: passed (only the pre-existing fetch_update deprecation warning).
  • cargo test --locked --workspace --no-fail-fast --jobs 3 -- --test-threads=4 --show-output: 692 passed, 0 failed, 41 ignored; identical on 63cdc25. Skipped: 2 no wave64, 1 no d3d12SDKLayers.dll, 1 no D3D12 debug layer.

Review
LGTM. The patterns are unanchored, so they hide these exact filenames in every directory — which is right here, since the tests' working directory is crates/xcl and an anchored rule would miss a run from elsewhere. If you ever want to narrow it, crates/xcl/vkd3d-proton.cache* would do, at the cost of other working directories.

AI use: OpenCode (DeepSeek V4.1 Flash Free) ran the checks and drafted this; I checked it.

<!-- greyfinch-sync:ivall/xcl:review:6033156826 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/669#pullrequestreview-6033156826). Originally posted by [mdberkey](https://github.com/mdberkey) on 2026-11-24T03:18:06Z. **Review:** COMMENTED --- **Verified** - Windows 11 Pro 26200, Ryzen 5 5600X, 32 GB, RTX 3070. - `.gitignore` is the only changed file (+4 lines). - `git check-ignore -v` resolves both `vkd3d-proton.cache` and `vkd3d-proton.cache.write` at the repo root and in `crates/xcl` (`.gitignore:48`, `:49`). - With both files created in both locations, `git status --porcelain` is empty and `git add -A --dry-run` stages nothing. - No tracked file matches `vkd3d`; `git diff --check` is clean. - `cargo build --locked --workspace --jobs 3`: passed (only the pre-existing `fetch_update` deprecation warning). - `cargo test --locked --workspace --no-fail-fast --jobs 3 -- --test-threads=4 --show-output`: **692 passed, 0 failed, 41 ignored**; identical on `63cdc25`. Skipped: 2 no wave64, 1 no `d3d12SDKLayers.dll`, 1 no D3D12 debug layer. **Review** LGTM. The patterns are unanchored, so they hide these exact filenames in every directory — which is right here, since the tests' working directory is `crates/xcl` and an anchored rule would miss a run from elsewhere. If you ever want to narrow it, `crates/xcl/vkd3d-proton.cache*` would do, at the cost of other working directories. AI use: OpenCode (DeepSeek V4.1 Flash Free) ran the checks and drafted this; I checked it.
upipibi commented 2026-11-24 07:06:37 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by upipibi on 2026-11-24T05:41:10Z.


Full-suite run on this PR's head 422f56d, for the counts CONTRIBUTING.md item 2 asks for:

Tested

  • NVIDIA GeForce RTX 3070 (driver 616.56, wave32), Ryzen 9 5950X, Windows 11 Pro 26100, rustc 1.100.0 MSVC, debug
  • cargo build --workspace then cargo test --workspace --no-fail-fast -- --test-threads=4: 692 passed, 0 failed, 41 ignored (16 test binaries, the e2e title included)
  • SKIPPED: gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware (no wave64)

Not tested: AMD / wave64; no retail title (this PR changes only .gitignore).

AI-assisted (Claude Code).

<!-- greyfinch-sync:ivall/xcl:comment:7123178525 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/669#issuecomment-7123178525). Originally posted by [upipibi](https://github.com/upipibi) on 2026-11-24T05:41:10Z. --- Full-suite run on this PR's head `422f56d`, for the counts CONTRIBUTING.md item 2 asks for: **Tested** - NVIDIA GeForce RTX 3070 (driver 616.56, wave32), Ryzen 9 5950X, Windows 11 Pro 26100, rustc 1.100.0 MSVC, debug - `cargo build --workspace` then `cargo test --workspace --no-fail-fast -- --test-threads=4`: **692 passed, 0 failed, 41 ignored** (16 test binaries, the e2e title included) - SKIPPED: `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` (no wave64) **Not tested:** AMD / wave64; no retail title (this PR changes only `.gitignore`). AI-assisted (Claude Code).
crastinator commented 2026-11-24 15:44:14 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by crastinator on 2026-11-24T15:44:14Z.

Review: COMMENTED


Tested on RDNA2 under Proton: the two files really are ignored now.

Tested (head 422f56d, merged onto main 930e8b4: no conflicts)

  • AMD Radeon RX 6700 XT (RDNA2, gfx1031, RADV NAVI22, Mesa 26.3.1), Ryzen 7 5700X, Linux 7.3.5 (CachyOS)
  • Proton Experimental 11.0-20261112's Wine, vkd3d-proton v3.1 + #257's patch (-Db_ndebug=true, dxil-spirv 53aac418 from #775), DXVK v3.1.1-209 dxgi, DXC 1.9.2609.5, libopus 1.5.2, XCL_REQUIRE_GPU=wave64,mesh (0 SKIPPED)
  • cross-built for x86_64-pc-windows-msvc (clang-cl / lld-link, xwin SDK 10.0.26100), Rust 1.99.1, debug
  • cargo test -p xcl --lib -- --test-threads=1 plus every integration test (--test '*' -- --test-threads=1), compared per test with the same runs on main 930e8b4. main here: 8 stable Wine-lane failures (#530 ×2, #676, #890 ×2, e2e, pls_quota #810, predication_e2e #1272). Separately, title_textures::{placed_title_textures_share_vram_and_preserve_pixels, transitions_apply_when_their_list_is_submitted} and vram::d32s8_targets… fail together in 2 of 5 main runs (the #718 family), so I do not count a pass of those as a fix either way.
  • After a test run, main shows ?? crates/xcl/vkd3d-proton.cache and ?? crates/xcl/vkd3d-proton.cache.write. With the PR, git check-ignore -v names .gitignore:48 and :49 for them and git status no longer lists them.
  • The suite: 740 passed, 11 failed, 41 ignored, the same as main in the same run (the 8 stable failures plus the 3 #718 flakes).

Not tested

  • Anything that needs game files: no XCL_SAMPLE_* was set, so the tests that read them (about 66) pass without running.
  • Windows (nothing changes there).

AI use

  • Claude Code (Claude Opus 5.5) merged, built and ran this and wrote the report; I checked the results.
<!-- greyfinch-sync:ivall/xcl:review:6042507578 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/669#pullrequestreview-6042507578). Originally posted by [crastinator](https://github.com/crastinator) on 2026-11-24T15:44:14Z. **Review:** COMMENTED --- Tested on RDNA2 under Proton: the two files really are ignored now. **Tested** (head `422f56d`, merged onto `main` `930e8b4`: no conflicts) - AMD Radeon RX 6700 XT (RDNA2, gfx1031, RADV NAVI22, Mesa 26.3.1), Ryzen 7 5700X, Linux 7.3.5 (CachyOS) - Proton Experimental 11.0-20261112's Wine, vkd3d-proton v3.1 + #257's patch (`-Db_ndebug=true`, dxil-spirv `53aac418` from #775), DXVK v3.1.1-209 `dxgi`, DXC 1.9.2609.5, libopus 1.5.2, `XCL_REQUIRE_GPU=wave64,mesh` (0 SKIPPED) - cross-built for `x86_64-pc-windows-msvc` (clang-cl / lld-link, xwin SDK 10.0.26100), Rust 1.99.1, debug - `cargo test -p xcl --lib -- --test-threads=1` plus every integration test (`--test '*' -- --test-threads=1`), compared per test with the same runs on `main` `930e8b4`. `main` here: 8 stable Wine-lane failures (#530 ×2, #676, #890 ×2, e2e, `pls_quota` #810, `predication_e2e` #1272). Separately, `title_textures::{placed_title_textures_share_vram_and_preserve_pixels, transitions_apply_when_their_list_is_submitted}` and `vram::d32s8_targets…` fail together in 2 of 5 `main` runs (the #718 family), so I do not count a pass of those as a fix either way. - After a test run, `main` shows `?? crates/xcl/vkd3d-proton.cache` and `?? crates/xcl/vkd3d-proton.cache.write`. With the PR, `git check-ignore -v` names `.gitignore:48` and `:49` for them and `git status` no longer lists them. - The suite: 740 passed, 11 failed, 41 ignored, the same as `main` in the same run (the 8 stable failures plus the 3 #718 flakes). **Not tested** - Anything that needs game files: no `XCL_SAMPLE_*` was set, so the tests that read them (about 66) pass without running. - Windows (nothing changes there). **AI use** - Claude Code (Claude Opus 5.5) merged, built and ran this and wrote the report; I checked the results.
DavidM1911 commented 2026-11-25 13:05:05 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T12:21:00Z.


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!

<!-- greyfinch-sync:ivall/xcl:comment:7162253853 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/669#issuecomment-7162253853). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T12:21:00Z. --- 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-actions[bot] commented 2026-11-29 07:42:24 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T07:42:24Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7252639268 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/669#issuecomment-7252639268). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-29T07:42:24Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 03:55:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T03:55:35Z.


Triage (#1607) – head 422f56d

No open or merged PR adds these entries; main's .gitignore has no vkd3d-proton line. The other PRs linked to #175 (#494, #793, #794, #1462, #3492) change runtime code, not .gitignore.
The two names match what vkd3d-proton writes to the working directory by default (vkd3d-proton.cache, vkd3d-proton.cache.write). No problems found in the diff.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7300202053 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/669#issuecomment-7300202053). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T03:55:35Z. --- **Triage (#1607)** – head 422f56d No open or merged PR adds these entries; main's .gitignore has no vkd3d-proton line. The other PRs linked to #175 (#494, #793, #794, #1462, #3492) change runtime code, not .gitignore. The two names match what vkd3d-proton writes to the working directory by default (`vkd3d-proton.cache`, `vkd3d-proton.cache.write`). No problems found in the diff. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/669:upstream-pr/669'
git switch 'upstream-pr/669'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/669'
git switch 'upstream-pr/669'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/669'
git switch 'upstream-pr/669'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/669'
git switch 'main'
git merge --squash 'upstream-pr/669'
git switch 'main'
git merge --ff-only 'upstream-pr/669'
git switch 'main'
git merge 'upstream-pr/669'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!664
No description provided.