GPU tests: close section handles after mapping watch test views #2482
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!2482
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2482"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@VlREX on GitHub · 2026-11-25 14:36 UTC · original
VlREX:fix/watch-test-section-handles→main· +20 −6 · 1 files · 2 commits · draftThe 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.
@Bj0rnis on GitHub · 2026-11-25 14:40 UTC · original
Independent Windows 11 hardware + WARP verification of #2482 at
9dffe2c4(cleangit merge-treewithorigin/main940d32f6, Rust 1.98.1 MSVC):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 onmain940d32f6; allwatch::testspassed).VICTORY_D3D12_WARP=1): 146 passed, 0 failed, 2 ignored (0.96s).cargo clippy -p victory-gpu --all-targets --all-features --locked -- -D warnings-> 0 warnings.cargo xtask policy-> 182 files ok.AI-assisted test run and summary.
@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 ignoredAll 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_releasedandlists_share_a_table_and_copies_keep_their_viewsfrom #1744).View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.