Split Windows CI into four independent jobs #2904

Open
github-bot wants to merge 8 commits from github-bot/gh-2904 into main AGit
Owner

@⁠Ondra97 on GitHub · 2026-11-29 18:43 UTC · original
Ondra97:codex/1902-windows-ci → main · +404 −15 · 5 files · 8 commits · open

Refs #1902. The needs-rebase workflow is in #4204, split out after #4152.

Why

The current Windows workflow puts Clippy and workspace tests in one job. When Clippy fails, GitHub skips the workspace tests and the asset policy check. Separate jobs give reviewers all four results for the revision proposed for merge.

What it changes

Windows CI

  • Run Windows Release, Windows Diagnostics, Workspace Tests, and Clippy independently. Workspace tests use --no-fail-fast so a failing test binary leaves results from later binaries available. The all-features Clippy step still runs after a default Clippy failure.
  • On pull requests, test GitHub's proposed merge commit. Windows Release verifies the checkout, records the base, head, and tested commit, runs victory.exe --help, and uploads the executable with a build-info.txt manifest containing its SHA-256, build profile, run, and attempt.
  • Run three smoke tests in one Cargo invocation after the workspace suite. Require a synthetic WARP dispatch with pixel readback and two diagnostics replay wire roundtrips. The step checks that all three tests ran, even if a separate workspace test failed.

Manual integration

Run Windows Integration from main with up to ten distinct open PRs targeting main, listed in merge order. Preparation pins the dispatch commit and each PR head. It stops if a fetched head has moved or a merge conflicts. The four Windows jobs verify and use the same bundled commit, and the run summary records the inputs in order. Integration disables Actions cache access because it can build fork PRs. GitHub cache behaviour

Review and rollout

The contribution guide and PR template document dependency order, rebase and conflict review, and what GPU or gameplay evidence to collect for rendering and performance changes. They call for matched base and candidate runs, with frame generation off for rendered-FPS comparisons. Enable required checks and approving reviews once all four jobs pass on main and on a PR merge revision.

Validation

PR CI run 46543758695 tested head 1f19483b against 7d93ee07. Windows Release, Windows Diagnostics, and both Clippy configurations passed. All three smoke tests passed and the log contains WARP readback. Workspace Tests failed in a_read_by_range_waits_only_for_a_remapping_that_meets_it, the intermittent XMem test tracked in #2439.

The final smoke step took 2m 24s. The first run took 3m 53s with three Cargo invocations. git diff --check and the staged asset-policy check passed. actionlint 1.7.12 flagged the documented cache-mode key for the manual integration workflow. Hosted manual integration can be verified once the workflow is on main.

Checked for overlap

#4156 is now merged. This PR retains its contributor guide and adds the review evidence and integration guidance.

Review requested

Please review the four proposed required checks and the GPU evidence requested in the PR template, especially which results maintainers need before approving rendering or performance changes.

**@⁠Ondra97** on GitHub · 2026-11-29 18:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2904) `Ondra97:codex/1902-windows-ci` → `main` · +404 −15 · 5 files · 8 commits · open Refs #1902. The `needs-rebase` workflow is in #4204, split out after #4152. ## Why The current Windows workflow puts Clippy and workspace tests in one job. When Clippy fails, GitHub skips the workspace tests and the asset policy check. Separate jobs give reviewers all four results for the revision proposed for merge. ## What it changes ### Windows CI - Run **Windows Release**, **Windows Diagnostics**, **Workspace Tests**, and **Clippy** independently. Workspace tests use `--no-fail-fast` so a failing test binary leaves results from later binaries available. The all-features Clippy step still runs after a default Clippy failure. - On pull requests, test GitHub's proposed merge commit. Windows Release verifies the checkout, records the base, head, and tested commit, runs `victory.exe --help`, and uploads the executable with a `build-info.txt` manifest containing its SHA-256, build profile, run, and attempt. - Run three smoke tests in one Cargo invocation after the workspace suite. Require a synthetic WARP dispatch with pixel readback and two diagnostics replay wire roundtrips. The step checks that all three tests ran, even if a separate workspace test failed. ### Manual integration Run **Windows Integration** from `main` with up to ten distinct open PRs targeting `main`, listed in merge order. Preparation pins the dispatch commit and each PR head. It stops if a fetched head has moved or a merge conflicts. The four Windows jobs verify and use the same bundled commit, and the run summary records the inputs in order. Integration disables Actions cache access because it can build fork PRs. [GitHub cache behaviour](https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#cache-access-in-reusable-workflows) ### Review and rollout The contribution guide and PR template document dependency order, rebase and conflict review, and what GPU or gameplay evidence to collect for rendering and performance changes. They call for matched base and candidate runs, with frame generation off for rendered-FPS comparisons. Enable required checks and approving reviews once all four jobs pass on `main` and on a PR merge revision. ## Validation [PR CI run 46543758695](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46543758695) tested head `1f19483b` against `7d93ee07`. Windows Release, Windows Diagnostics, and both Clippy configurations passed. All three smoke tests passed and the log contains WARP readback. Workspace Tests failed in `a_read_by_range_waits_only_for_a_remapping_that_meets_it`, the intermittent XMem test tracked in #2439. The final smoke step took 2m 24s. The [first run](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46541837862) took 3m 53s with three Cargo invocations. `git diff --check` and the staged asset-policy check passed. `actionlint` 1.7.12 flagged the documented `cache-mode` key for the manual integration workflow. Hosted manual integration can be verified once the workflow is on `main`. ## Checked for overlap #4156 is now merged. This PR retains its contributor guide and adds the review evidence and integration guidance. ## Review requested Please review the four proposed required checks and the GPU evidence requested in the PR template, especially which results maintainers need before approving rendering or performance changes.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 18:45:55 +00:00
Author
Owner

@⁠Ondra97 on GitHub · 2026-11-29 18:45 UTC · original

@⁠trustno1-coder, could you review this draft and suggest any changes to the CI jobs, GPU testing checklist, or performance table that would fit the project better?

**@⁠Ondra97** on GitHub · 2026-11-29 18:45 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2904#issuecomment-7260730117) @⁠trustno1-coder, could you review this draft and suggest any changes to the CI jobs, GPU testing checklist, or performance table that would fit the project better?
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2904'
git switch 'github-bot/gh-2904'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2904'
git switch 'github-bot/gh-2904'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2904'
git switch 'main'
git merge --squash 'github-bot/gh-2904'
git switch 'main'
git merge --ff-only 'github-bot/gh-2904'
git switch 'main'
git merge 'github-bot/gh-2904'
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!2904
No description provided.