Clippy passes on main again, and two tests of victory-gpu the merges left behind (the check job) #4296
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4296"
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 banaanpapa on 2026-11-30T18:20:25Z.
The
checkjob is red on every open pull request and onmain: it stops at its first step, Clippy with-D warnings, so its tests have not run in CI for a while. This makes both Clippy steps pass onmain(84bd61e2) and puts right the two tests ofvictory-gputhat were stale once the job reaches them. Nothing here changes what runs.Clippy (both steps of the workflow, run locally as it runs them)
victory-shaderemit/lower.rsLowered::loop_caps(a field kept for tests) is read by no testvictory-gpushadow.rsShadow::rangedhas no caller;ranged_partsis what is askedranged_partsvictory-gpuhost.rs(a test)seed % 3 == 0seed.is_multiple_of(3)victory-gpucopystat.rs(all features)mbis shadowed by a closure of the same name wherever it was calledvictory-hlexmem.rsmatchthat isunwrap_or_defaultcargo clippy --workspace --all-targets --locked -- -D warningsand the same with--all-features: no finding.The two tests
shader_cache::tests::every_switch_of_the_translator_is_in_the_keyfailed with "VICTORY_ORACLE_RUNS is not read by the translator any more": the four switches of the differential fuzzer were still named, anda1fe8350reverted the fuzzer out of the translator. The four names are gone from the list.list::thin::tests::bindings_record_no_workfailed with "a call is in no list: 47, 49":BEGIN_QUERYandEND_QUERY(471d05c4) were named neither as binding, nor as waiting, nor as work. They are named as work, which is howbinds_onlyandwaitstake them today; whether the card runs nothing for them is for whoever knows to say, and the test will hold them to it.cargo test -p victory-gpu --locked: 1,133 pass, none fail (RTX 5080).What still fails in
cargo test --workspace, and is left alonextaskpolicy::tests::repository_passes_policy: the asset policy stops atcrates/victory-shader/src/native.rs, a 560-character hex run in the testloose_metadata_reads_version_0x403(698ab79e). Whether that line stays, is split or is allowed is the maintainers' to decide, not a contributor's. Until it is, the job stays red after this change too, at its third step and not its first.victory-hlemodules::xmem::tests::a_read_by_range_waits_only_for_a_remapping_that_meets_it: passes alone (5 of 5), fails when the crate's tests run together (4 of 4): the count of refused reads it wants to be 0 is one all tests share.victory-shaderemit::bitcode::opt::tests::hw_tests::split_lds_wave32_read_after_read_barrier_coalescing_and_parity: fails on this card atopt.rs:7736; whether it does on the runner's software adapter the job will now say.The diagnostics build as well (2026-11-30)
cargo test -p victory-gpu --features diagnostics --locked --libon this branch (RTX 5080): 1,205 passed, 1 failed, 69 ignored. Tyr0nsur's run of cleane1251c31had 1,203 passed and 3 failed: the two this pull request puts right, andcompose::tests::bgrx_plane_selects_a_typed_view(DXGI_FORMAT(88)against93), the one left here. That one is what #2646 changes; with #2646's diff on top of this branch it passes. (In that runuav_pool's lifecycle test failed once instead, and passed three of three alone: it is one of the timing tests that fail now and then onmaintoo.)🤖 Generated with Claude Code
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tyr0nsur on 2026-11-30T18:36:09Z.
I reproduced both failures from this PR on a clean Windows 11 checkout of
e1251c31(RTX 4060, driver 621.14) withcargo test -p victory-gpu --features diagnostics --locked --lib. The same run also reproduced the diagnostic-only BGRX assertion from #2646 (DXGI_FORMAT(88)vs93). Counts on clean main were 1,203 passed, 3 failed and 69 ignored. This may help when rerunning the diagnostics build in addition to the default-feature suite.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by banaanpapa on 2026-11-30T18:46:04Z.
Thank you, that helps. The same here on an RTX 5080: with this branch,
cargo test -p victory-gpu --features diagnostics --locked --libgives 1,205 passed, 1 failed, 69 ignored, the one beingcompose::tests::bgrx_plane_selects_a_typed_view. With #2646's diff applied on top it passes as well. I've added the diagnostics run to the description, so both suites are on record.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tyr0nsur on 2026-11-30T19:29:37Z.
Still needed on current
main(e1251c31): both Clippy steps of thecheckjob stop there on exactly the three findings this fixes (Lowered::loop_caps,Shadow::ranged,seed % 3). With this PR merged locally on top,cargo clippy --workspace --all-targets --locked -- -D warningsand the same with--all-featuresboth pass (Windows 11, toolchain 1.98.1). Every open PR'scheckis red at its first step until then, so CI says nothing about them for now.AI-assisted with Claude Code.