Fix Windows CI checks and isolate flaky tests #3902
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3902"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by NSYSLU on 2026-11-30T10:59:04Z.
Fixes #
What it changes
How it was tested
cargo testpassed for the crates it touches: yes / noChecked for overlap
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by upipibi on 2026-12-01T02:53:32Z.
Data for the
uav_poolpart of this PR. I applied only itscrates/victory-gpu/src/host/uav_pool.rshunk (the test running itself in a child process) tomainf5c3d243; it applies cleanly. I ran the wholevictory-gpulibrary suite in parallel,cargo test -p victory-gpu --lib --locked, 20 times. Ryzen 9 5950X, RTX 3070, Windows 11.host_list_uav_pool_lifecycle_retire_trim_and_info_queuefailedmain7d93ee07mainf5c3d243mainf5c3d243+ this hunkOn
mainit failed two ways:UAV_SPARE_STATS[0].load(..) >= hits_before + 3(uav_pool.rs:479), 7 times.!spare_has(bet4m_raw, 4 << 20)aftertrim_uav_spare_to(0)(:488), 5 times.Both are what other tests' lists sharing
UAV_SPARE(andRETIRED_UAVSdraining on other threads) would do. In the 20 runs with the hunk, the only failure washost::card_steps::tests::shared_scratch_eliminates_flight_settle_end_to_end, once.I only tested this hunk, not the rest of the PR. The PR conflicts with
main, but this file's hunk doesn't.Tested with the help of Claude Code (Claude Opus 5.5).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by NSYSLU on 2026-12-01T11:25:52Z.
Thanks, @upipibi , for testing the
uav_poolchange in isolation and sharing the results. I resolved the merge conflicts in2863c3a9, and GitHub generated a new test merge commit.Both
uav_poolandshared_scratchpassed locally. The fullvictory-gpusuite had one failure ina_queued_wait_or_signal_keeps_its_fence, which passed when rerun on its own.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Tan7rex on 2026-12-01T15:14:12Z.
Tested this PR's head (
2863c3a9, 0 commits behindmain5fabb46e) againstmainon Windows 11 Pro (build 26100), RTX 4090. Release test binary (cargo test --release --locked --no-run -p victory-gpu --lib), whole library suite run 60 times each, default parallel threads.main5fabb46ehost::uav_pool::tests::host_list_uav_pool_lifecycle_retire_trim_and_info_queuehost::card_steps::tests::shared_scratch_eliminates_flight_settle_end_to_endSo the
uav_poolchange works here too, matching upipibi's 20 runs. Thecard_stepschange doesn't affectshared_scratch_eliminates_flight_settle_end_to_end. That test already runs its two modes in child processes of its own, so the learned pages of other tests can't reach it; its failure is the timing one in #2741 (details there). Other failures in these runs, each 1 or 2 times on both trees:a_late_fault_leaves_the_guard_taken_since(#4704),records_copied_as_bytes_are_made_at_the_next_sync,a_rewritten_texture_descriptor_survives_a_stale_eviction,refresh_front_zero_arc_matches_and_runs_due.Not tested: the game, and the PR's other files.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.