CI: clippy and the file-size policy green on main after the 28 November merges #1527
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1527
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@wasonidas on GitHub · 2026-11-28 21:16 UTC · original
wasonidas:fix/clippy-1128-merges→main· +2050 −2025 · 10 files · 1 commits · merged 2026-11-29 08:16 UTCClippy (
-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.3a7cff390etofb44422fc9