CI green again: clippy clean in both builds, budget tests follow VICT… #425

Closed
Togicx wants to merge 0 commits from upstream-pr/425 into main
Togicx commented 2026-11-27 22:16:57 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Togicx on 2026-11-27T22:16:57Z.


…ORY_INDIRECT_REST

CI on main stopped at its first step (clippy, 40+ findings), so the diagnostics clippy and the tests never ran. Locally all three steps of .github/workflows/ci.yml now pass.

Tests: two indirect budget tests still assumed VICTORY_INDIRECT_REST on, which 545f890 turned off by default.

  • host_list_budget_starts_empty_at_each_submission: the big records now fill the budget exactly, so the small record after them runs empty with REST on or off and the test still shows that no budget carries over.
  • warp_batch_charges_every_execution: the expected spend follows the REST rule in force (a job that does not fit takes nothing without REST). Both pass with VICTORY_INDIRECT_REST unset and =1.

Clippy:

  • mechanical: is_multiple_of, shift precedence, sort_by_key with Reverse, hex digit groups, contains_key, annotated transmutes, mem::take, from_ref, a same-type cast, an if with identical branches;
  • host/indirects.rs and placed_filler_twins are only used by the diagnostics build and are only compiled there;
  • removed the never-used batched in make_from and the never-read depth_written field; Touch::Title is only built by tests, marked so;
  • book.rs: the heap that keeps the descriptor alive is a named field;
  • ResourceDesc::from_level(&self) renamed levels_from;
  • allowed with a reason: two 8-argument functions, the Late enum (boxing a flight would allocate per flight) and the CLI Command enum;
  • apps/victory: default_paths moved above the test module; the match on a block in play.rs binds the block first.

No change in what the game runs.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5533807577 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/425). Originally posted by [Togicx](https://github.com/Togicx) on 2026-11-27T22:16:57Z. --- …ORY_INDIRECT_REST CI on main stopped at its first step (clippy, 40+ findings), so the diagnostics clippy and the tests never ran. Locally all three steps of .github/workflows/ci.yml now pass. Tests: two indirect budget tests still assumed VICTORY_INDIRECT_REST on, which 545f890 turned off by default. - host_list_budget_starts_empty_at_each_submission: the big records now fill the budget exactly, so the small record after them runs empty with REST on or off and the test still shows that no budget carries over. - warp_batch_charges_every_execution: the expected spend follows the REST rule in force (a job that does not fit takes nothing without REST). Both pass with VICTORY_INDIRECT_REST unset and =1. Clippy: - mechanical: is_multiple_of, shift precedence, sort_by_key with Reverse, hex digit groups, contains_key, annotated transmutes, mem::take, from_ref, a same-type cast, an if with identical branches; - host/indirects.rs and placed_filler_twins are only used by the diagnostics build and are only compiled there; - removed the never-used `batched` in make_from and the never-read depth_written field; Touch::Title is only built by tests, marked so; - book.rs: the heap that keeps the descriptor alive is a named field; - ResourceDesc::from_level(&self) renamed levels_from; - allowed with a reason: two 8-argument functions, the Late enum (boxing a flight would allocate per flight) and the CLI Command enum; - apps/victory: default_paths moved above the test module; the match on a block in play.rs binds the block first. No change in what the game runs.
1tsethan commented 2026-11-27 23:01:04 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 1tsethan on 2026-11-27T23:01:04Z.


Independent Windows validation of PR #425.

Tested commit: 7331b07bde8d7beca973f24a0575ca1866d034d4.

cargo test --locked -p victory-gpu indirect:: -- --nocapture --test-threads=1

Exit: 0.

  • test result: ok. 29 passed; 0 failed; 9 ignored; 0 measured; 419 filtered out; finished in 6.30s

Tested commit: 7331b07bde8d7beca973f24a0575ca1866d034d4.

cargo clippy --workspace --all-targets --locked -- -D warnings

Exit: 0.

Tested commit: 7331b07bde8d7beca973f24a0575ca1866d034d4.

cargo clippy --workspace --all-targets --all-features --locked -- -D warnings

Exit: 0.

Baseline df2daafeb1b2170931cf7a6eddff6de254841d9c: workspace test run reproduced host_list_budget_starts_empty_at_each_submission and warp_batch_charges_every_execution failures. The main shader suite passed 288 tests with 4 ignored; main HLE suite passed 174 with 2 ignored. Baseline strict-Clippy command results: baseline-clippy: exit 101, baseline-clippy-diagnostics: exit 101.

Independent verification with OpenAI Codex assistance. Windows 11 Pro build 26200; Rust 1.98.1 MSVC; Windows SDK libraries from Microsoft.Windows.SDK.CPP.x64 10.0.28000.2957. Test harness used an RTX 3070 Ti / AMD integrated-GPU host; adapter identity was not captured for every test. These are focused checks on the stated PR commit, not gameplay, FPS, or a merged-main integration result.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7229803774 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/425#issuecomment-7229803774). Originally posted by [1tsethan](https://github.com/1tsethan) on 2026-11-27T23:01:04Z. --- Independent Windows validation of PR #425. Tested commit: `7331b07bde8d7beca973f24a0575ca1866d034d4`. `cargo test --locked -p victory-gpu indirect:: -- --nocapture --test-threads=1` Exit: **0**. - test result: ok. 29 passed; 0 failed; 9 ignored; 0 measured; 419 filtered out; finished in 6.30s Tested commit: `7331b07bde8d7beca973f24a0575ca1866d034d4`. `cargo clippy --workspace --all-targets --locked -- -D warnings` Exit: **0**. Tested commit: `7331b07bde8d7beca973f24a0575ca1866d034d4`. `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` Exit: **0**. Baseline `df2daafeb1b2170931cf7a6eddff6de254841d9c`: workspace test run reproduced `host_list_budget_starts_empty_at_each_submission` and `warp_batch_charges_every_execution` failures. The main shader suite passed 288 tests with 4 ignored; main HLE suite passed 174 with 2 ignored. Baseline strict-Clippy command results: baseline-clippy: exit 101, baseline-clippy-diagnostics: exit 101. Independent verification with OpenAI Codex assistance. Windows 11 Pro build 26200; Rust 1.98.1 MSVC; Windows SDK libraries from Microsoft.Windows.SDK.CPP.x64 10.0.28000.2957. Test harness used an RTX 3070 Ti / AMD integrated-GPU host; adapter identity was not captured for every test. These are focused checks on the stated PR commit, not gameplay, FPS, or a merged-main integration result. <!-- victory-native-validation-20261128 -->
trustno1-coder commented 2026-11-28 02:49:54 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T02:49:54Z.


Merged into main (8fc2254) and shipped in v2026.11.27.10. The commit keeps you as its author, so it counts toward the contributors list. GitHub shows this as closed rather than merged only because the commits were applied on top of the newest main (new commit IDs). Thank you!

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7232621547 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/425#issuecomment-7232621547). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-28T02:49:54Z. --- Merged into main (8fc2254) and shipped in [v2026.11.27.10](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.10). The commit keeps you as its author, so it counts toward the contributors list. GitHub shows this as closed rather than merged only because the commits were applied on top of the newest main (new commit IDs). Thank you!

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

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