CI passes on main again: clippy clean in both CI configurations, tests green (includes #67), no behaviour change #86
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/86"
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 harrisotiropoulos-jpg on 2026-11-27T17:34:26Z.
CI fails on
mainright now, so every open pull request's CI fails too, whatever the PR changes:-D warnings) stop on about 45 errors, nearly all invictory-gpu;cargo test --workspacefails 2 tests (indirect::tests::host_list_budget_starts_empty_at_each_submission,warp_batch_charges_every_execution).This PR makes all three CI steps pass without changing what the code does.
What changed
cargo clippy --fix), each reviewed by hand:x % n == 0becomesx.is_multiple_of(n). The one divisor that comes from a setting (VICTORY_FRAMEGEN_CYCLE) is already checked> 0.mem::replace(x, default)becomesmem::take;slice::from_ref;_.sort_*_by_key(Reverse(..)): same order, and the stable sort stays stable;drop(<Copy value>)becomeslet _ =;get(..).is_none()becomes!contains_key(..)in xmem tests.replay/play/diverge.rs:1217:if s.kind == SRV { 8 } else { 8 }becomes8. It's the same value, but the lines above it all differ between the two branches, so the original may be a typo. Worth a look by whoever wrote it.#[allow]s, each with a note, where a "real" fix would delete or restructure code other open PRs touch:host/indirects.rs,Touch::Title,placed_filler_twins, a test field,book.rs's held heap;large_enum_variant:host.rs'sLate(boxing it would add an allocation per flight) and the CLI'sCommand;too_many_argumentson two functions;wrong_self_conventiononfrom_level;Checked locally, with CI's exact commands (Windows 11, toolchain 1.98.1)
cargo clippy --workspace --all-targets --locked -- -D warnings: exit 0cargo clippy --workspace --all-targets --all-features --locked -- -D warnings: exit 0cargo test --workspace --locked: 0 failures (victory-gpu 420 passed, 35 ignored; the rest of the workspace passes too)cargo xtask policy --staged: okFormatting is untouched: CI doesn't check it, and most files already differ from
rustfmt.🤖 Generated with Claude Code
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by JoeY54 on 2026-11-27T20:50:25Z.
Supplemental Windows / Rust 1.98.1 validation and two small follow-up fixes for integration with newer main.
PR head
388485b91f253032f2af7d530c977c6e6290de17includes #67. Both workspace Clippy configurations pass at that head. The initial 8-thread workspace run had 1052 passed, 2 failed and 46 ignored:watch::tests::faults_that_take_no_lock_tell_the_samepassed on isolated serial retry;modules::net::tests::only_loopback_is_reachablepassed outside the execution sandbox. These retries are not a single green full run or proof of a PR regression.Merging this PR into main
e69e39c55b92f71a40ea3eadaa3439678df4e721produced a single successful serial workspace run: 1064 passed, 0 failed, 46 ignored (cargo test --workspace --locked --no-fail-fast -- --test-threads=1 --nocapture). Both budget tests passed. Internally skipped optional paths are not claimed as covered; no game launch or assets were used.That integration exposed two lints in newer main code, still present at
f3534e6b09f113e369c3ade2a13ff3d711ce0cf1and not covered by #265's changed-file list:manual_is_multiple_of: use the equivalent block-length predicate (N = 2048).items_after_test_module: movedefault_pathsunchanged before the test module.The patch below applies to the integration with newer main, not directly to this older PR head. After applying it, both
cargo clippy --workspace --all-targets --locked -- -D warningsand the same command with--all-featurespass. The two convolution unit tests and all 22 CLI tests pass;cargo xtask policyalso passes. The 1064-test full run above was before these mechanical fixes; it was not repeated afterward. No lint suppressions or runtime behavior changes were added.Sharing the small follow-up here for adoption by this PR's author, rather than opening a competing CI-cleanup PR.
AI-assisted by OpenAI Codex.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T18:27:28Z.
Thanks for this. I'm closing it without merging because it conflicts with the current main in the files it changes, and I can't resolve that safely on your behalf. If you'd still like it in, please rebase it on the current main and open a new pull request. Thanks for the work.
Pull request closed