GPU tests: close section handles after mapping watch test views #2482

Open
github-bot wants to merge 2 commits from github-bot/gh-2482 into main AGit
Owner

@⁠VlREX on GitHub · 2026-11-25 14:36 UTC · original
VlREX:fix/watch-test-section-handles → main · +20 −6 · 1 files · 2 commits · draft

The watch tests open pagefile-backed section handles to create mapped views, then lose the handles without closing them. Close each handle after the mapping calls. The mapped views remain valid after CloseHandle. Existing tests exercise those views after the handle closes.

Test-only change. No title data was used. Local Rust tests were unavailable. AI-assisted.

**@⁠VlREX** on GitHub · 2026-11-25 14:36 UTC · [original](https://github.com/Marvisak/VIctory/pull/2482) `VlREX:fix/watch-test-section-handles` → `main` · +20 −6 · 1 files · 2 commits · draft The watch tests open pagefile-backed section handles to create mapped views, then lose the handles without closing them. Close each handle after the mapping calls. The mapped views remain valid after `CloseHandle`. Existing tests exercise those views after the handle closes. Test-only change. No title data was used. Local Rust tests were unavailable. AI-assisted.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:07:05 +00:00
Author
Owner

@⁠Bj0rnis on GitHub · 2026-11-25 14:40 UTC · original

Independent Windows 11 hardware + WARP verification of #2482 at 9dffe2c4 (clean git merge-tree with origin/main 940d32f6, Rust 1.98.1 MSVC):

  • NVIDIA GeForce RTX 5070 Ti (real hardware): cargo test -p victory-gpu --features diagnostics --lib --locked -- --test-threads=1 -> 144 passed, 2 failed, 2 ignored (only the 2 pre-existing #1744 NVIDIA 1M view-heap baseline failures also present on main 940d32f6; all watch::tests passed).
  • WARP (VICTORY_D3D12_WARP=1): 146 passed, 0 failed, 2 ignored (0.96s).
  • Clippy: cargo clippy -p victory-gpu --all-targets --all-features --locked -- -D warnings -> 0 warnings.
  • Asset policy: cargo xtask policy -> 182 files ok.

AI-assisted test run and summary.

**@⁠Bj0rnis** on GitHub · 2026-11-25 14:40 UTC · [original](https://github.com/Marvisak/VIctory/pull/2482#issuecomment-7165634942) Independent Windows 11 hardware + WARP verification of #2482 at `9dffe2c4` (clean `git merge-tree` with `origin/main` `940d32f6`, Rust 1.98.1 MSVC): - **NVIDIA GeForce RTX 5070 Ti (real hardware):** `cargo test -p victory-gpu --features diagnostics --lib --locked -- --test-threads=1` -> **144 passed, 2 failed, 2 ignored** (only the 2 pre-existing #1744 NVIDIA 1M view-heap baseline failures also present on `main` `940d32f6`; all `watch::tests` passed). - **WARP (`VICTORY_D3D12_WARP=1`):** **146 passed, 0 failed, 2 ignored** (0.96s). - **Clippy:** `cargo clippy -p victory-gpu --all-targets --all-features --locked -- -D warnings` -> **0 warnings**. - **Asset policy:** `cargo xtask policy` -> **182 files ok**. AI-assisted test run and summary.
Author
Owner

@⁠Vedoxdev123 on GitHub · 2026-11-25 15:57 UTC · original

Tested on Windows with AMD Ryzen 5 5600X + NVIDIA GeForce RTX 4060 (AI-assisted):

cargo test -p victory-gpu --lib -> 141 passed; 2 failed; 2 ignored

All tests in this branch pass on RTX 4060; the only 2 failures are the known 1,000,000 view heap cap tests (dynamic_slots_are_held_until_released and lists_share_a_table_and_copies_keep_their_views from #1744).

**@⁠Vedoxdev123** on GitHub · 2026-11-25 15:57 UTC · [original](https://github.com/Marvisak/VIctory/pull/2482#issuecomment-7167464957) Tested on Windows with AMD Ryzen 5 5600X + NVIDIA GeForce RTX 4060 (AI-assisted): `cargo test -p victory-gpu --lib` -> **141 passed; 2 failed; 2 ignored** All tests in this branch pass on RTX 4060; the only 2 failures are the known 1,000,000 view heap cap tests (`dynamic_slots_are_held_until_released` and `lists_share_a_table_and_copies_keep_their_views` from #1744).
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/2482/head:github-bot/gh-2482'
git switch 'github-bot/gh-2482'

Merge

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