Restore Windows CI on main #2620

Open
github-bot wants to merge 14 commits from github-bot/gh-2620 into main AGit
Owner

@⁠Ondra97 on GitHub · 2026-11-29 15:02 UTC · original
Ondra97:codex/restore-windows-ci → main · +191 −405 · 30 files · 14 commits · open

What it changes

Restores the Windows check job on main (829188e9). This integration preserves the Clippy and diagnostics fixes from #2048, the BC7 oracle correction from #2236, and the XMem test isolation from #2439.

  • Use the existing harness setup table to select the same 298 tested heap sites. This removes the duplicate list that triggered the asset check in #2420.

  • Run all seven lane-read lowering cases on headless CI. On a device that supports 32-lane waves, pipeline creation and readback must pass.

  • Run the HostList UAV lifecycle test in its own process so unrelated tests cannot consume the shared pool during its reuse assertions.

  • Keep the shader lowering and validation checks on headless CI. Dispatch on each adapter with the required capability and fail on pipeline or readback errors on supported devices.

How it was tested

  • Native Windows with pinned Rust 1.98.1. Default and all-feature workspace Clippy with -D warnings passed. The final test-only follow-up passed five focused shader tests on RTX and five in WARP-only mode.
  • Staged asset policy, whole-tree asset policy (427 files), and git diff --check passed.
  • Full Windows workspace tests passed at 17abdc23 with pinned Rust 1.98.1, including 915 GPU tests, 462 shader tests, and the whole-tree policy test. The first GitHub run exposed four tests requiring a hardware adapter or Wave32 dispatch on a WARP adapter without that capability.
  • Windows CI run on the final head passed both Clippy gates and the full workspace test suite.

Checked for overlap

  • Integrated #2048, #2236, and #2439 with their authorship intact. Related test failures are tracked in #2420.
**@⁠Ondra97** on GitHub · 2026-11-29 15:02 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2620) `Ondra97:codex/restore-windows-ci` → `main` · +191 −405 · 30 files · 14 commits · open ## What it changes Restores the Windows `check` job on `main` (`829188e9`). This integration preserves the Clippy and diagnostics fixes from #2048, the BC7 oracle correction from #2236, and the XMem test isolation from #2439. - Use the existing harness setup table to select the same 298 tested heap sites. This removes the duplicate list that triggered the asset check in #2420. - Run all seven lane-read lowering cases on headless CI. On a device that supports 32-lane waves, pipeline creation and readback must pass. - Run the HostList UAV lifecycle test in its own process so unrelated tests cannot consume the shared pool during its reuse assertions. - Keep the shader lowering and validation checks on headless CI. Dispatch on each adapter with the required capability and fail on pipeline or readback errors on supported devices. ## How it was tested - Native Windows with pinned Rust 1.98.1. Default and all-feature workspace Clippy with `-D warnings` passed. The final test-only follow-up passed five focused shader tests on RTX and five in WARP-only mode. - Staged asset policy, whole-tree asset policy (427 files), and `git diff --check` passed. - Full Windows workspace tests passed at `17abdc23` with pinned Rust 1.98.1, including 915 GPU tests, 462 shader tests, and the whole-tree policy test. The first GitHub run exposed four tests requiring a hardware adapter or Wave32 dispatch on a WARP adapter without that capability. - [Windows CI run on the final head](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46277458234) passed both Clippy gates and the full workspace test suite. ## Checked for overlap - [x] Integrated #2048, #2236, and #2439 with their authorship intact. Related test failures are tracked in #2420.
f9de61c5 moved Tables::parse to BCPack.dll's layout (the word after an
entry's widths is pixel 0's index) but left the test oracle's copy of
the parser on the old one, so the three oracle_parity tests failed on
main. The oracle now reads all 32 slots the same way.

(cherry picked from commit 18eaf9476c)
a_read_by_range_waits_only_for_a_remapping_that_meets_it asserts that a
read apart from the remapped view is never refused. map_aliases takes
title_memory_remapping for all of title memory, whatever
VICTORY_RANGE_LOCK says, so any test copying mappings on another thread
of the same test process refused that read thousands of times: the test
failed in 9 of 10 runs of `cargo test -p victory-hle --lib` on Windows
(paired with a_scatter_of_many_pages_is_what_one_after_the_other_is
alone: 3 of 3). The five tests that call map_aliases now hold a test-only
RwLock shared and the range test holds it alone, as the watch tests do
since #724. 0 failures in 12 runs.

(cherry picked from commit 3978372245)
views_in_the_books_alone_are_read_from_their_pages and
a_copy_of_consecutive_pages_shows_them_through_one_view copy one range at
a time (alias_as, map_alias), which goes through remapping_and_views and
locks only its own range; only map_aliases' batched preflight takes the
remap lock for all of title memory. The guard's comment now names that
lock. xmem tests: 0 failures in 10 runs.

(cherry picked from commit 3090dbb3b9)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 15:03:29 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-formats/src/bcpack.rs
  • crates/victory-gpu/src/copystat.rs
  • crates/victory-gpu/src/descriptor/host.rs
  • crates/victory-gpu/src/host.rs
  • crates/victory-gpu/src/host/panel.rs
  • crates/victory-gpu/src/host/recycle.rs
  • crates/victory-gpu/src/memory.rs
  • crates/victory-gpu/src/pipeline.rs
  • crates/victory-gpu/src/pipeline/make.rs
  • crates/victory-gpu/src/resource.rs
  • crates/victory-gpu/src/shadow.rs
  • crates/victory-gpu/src/streamline.rs
  • crates/victory-hle/src/modules/gameinput.rs
  • crates/victory-hle/src/modules/lifecycle.rs
  • crates/victory-loader/src/crash.rs
  • crates/victory-shader/src/emit/intersect_tests.rs
  • crates/victory-shader/src/emit/lower/analysis.rs
  • crates/victory-shader/src/emit/wave64_tests.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2620/head:github-bot/gh-2620'
git switch 'github-bot/gh-2620'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2620'
git switch 'github-bot/gh-2620'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2620'
git switch 'github-bot/gh-2620'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2620'
git switch 'main'
git merge --squash 'github-bot/gh-2620'
git switch 'main'
git merge --ff-only 'github-bot/gh-2620'
git switch 'main'
git merge 'github-bot/gh-2620'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!2620
No description provided.