CI: clippy and the file-size policy green on main after the 28 November merges #1527
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1527"
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 wasonidas on 2026-11-28T21:16:13Z.
Clippy (
-D warnings, both builds) andcargo xtask policyfailed onmain, so every pull request's check was red whatever it changed. Rebased cleanly ontomain(0338ec6c):host.rs,present_planes: threedrop(presenter)dropped a reference, not the lock guard; the retry that follows (self.present_planes) locksself.presenteragain on the same thread. They now droppresentation, the guard. Reached only when the two-plane composer cannot be made or record (Series S two planes).emit/lower.rs:checked_divfor the LDS cap; moved its wave/LDS analysis helpers toemit/lower/analysis.rs(48,561bytes) and itsmod teststoemit/lower/tests.rs(35,369bytes) unchanged in logic, bringingemit/lower.rsback below the 640 KiB policy limit (704,996 -> 623,098bytes).victory-gpu:pool::let_goandresource::host_pressure_reclaimedare read only by the diagnostics memory line, so they are gated onfeature = "diagnostics";send::Memory::gpuwas never read and removed;first_upload_decisionandstreamline::fsr::before_presentallowedclippy::too_many_argumentsas elsewhere;is_multiple_of, redundant1 *identity ops in tests, and a constant test assertion made aconstassertion.Checks on
fb44422fc(Rust 1.98.1, Windows)cargo clippy --workspace --all-targets --locked --offline -- -D warningsand--all-features: both passed (0 warnings).cargo run --locked --offline -p xtask -- policy: passed (323 files ok);cargo test --locked --offline -p xtask:7 passed, 0 failed.cargo test --locked --offline -p victory-shader --lib emit::lower:: -- --test-threads=1:22 passed, 0 failed, 1 ignored(moved tests).cargo test --locked --offline -p victory-gpu --lib -- --test-threads=1:589 passed, 0 failed, 44 ignored.present_planeschange only affects the fallback path where the two-plane composer fails).It overlaps older CI-fix PRs only where
mainmoved; the unusedcolourfinding was already fixed on0338ec6c.