CI has never been green: clippy fails first in victory-shader, then ~29 more in victory-gpu (the test step has never run) #2
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/RedLightDOWN--VIvidia#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@erdemcisse on GitHub · 2026-12-01 20:52 UTC · original
CI has not been green on
mainyet: all tenCIruns in the Actions history fail (latest:46275309101,17303ca, 2m17s). The job stops at the Clippy step, so the Tests step —cargo test --workspace --locked— has never run in CI at all. Two things are in the way.1. Two lints in
victory-shader(the ones CI actually prints)Both are mechanical (
body.len().is_multiple_of(4), and return the expression directly). Fixing them alone does not turn the job green, because the next crate then fails.2. ~29 more in
victory-gpuoncevictory-shadercompilesCollected with the pinned 1.98.1 toolchain,
cargo clippy --workspace --all-targets --locked -- -D warningsonx86_64-pc-windows-msvc— rustup's default host on this PC is the GNU one, so the toolchain has to be named:RUSTUP_TOOLCHAIN=1.98.1-x86_64-pc-windows-msvc. Onmainb67c405that is 32 distinct errors in two crates: the two invictory-shaderabove, then 30 invictory-gpuonce that crate compiles — 27dead_codeand three mechanical ones (is_multiple_ofatshadow.rs:1716, a needless borrow attexture.rs:1657, a needlessmutatwatch.rs:4026).crates/victory-gpu/src/turbo.rsShaderMeta,MetaStore,META,META_MAGIC,meta_enabled,load_meta_file,meta_store,shader_meta_get/put,flush_meta_now,encode/decode_resource_kind,encode/decode_root, plusmix64,fast_hash_128*,log_statscrates/victory-gpu/src/watch.rsPort7Counts,port_journal_counts,per_frame,nothing_new,port_guard_plan,port_guard_line,held_elsewhere(inshadow.rs)…crates/victory-gpu/src/shadow.rsheld_elsewhere(dead),is_multiple_ofcrates/victory-gpu/src/smart_back.rslog_statscrates/victory-gpu/src/texture.rsThe
turbo.rsblock looks like whatRevert "merge: take non-RT performance and stability work from Leonida Continued"(732113e) left behind: the call sites went, the code stayed. Whether it should be deleted, wired up, or put behindcfg(feature = …)is your call — that is why this is an issue and not a pull request. The four mechanical ones (and the two invictory-shader) have no such question and can be done straight away.Why it matters beyond CI colour
-- -D warningsalso means nobody can usecargo clippylocally as the guide's pre-commit check, and the test suite has not been run by CI since 2026-11-28 — a failing test onmain(host::menu::tests::the_link_is_always_right_under_the_note, see #1) went unnoticed for exactly that reason.Reproduce:
AI-assisted: yes (DeepSeek Harness, lead agent) — the inventory was produced by running the commands above; no code was changed by this issue.
@github-actions[bot] on GitHub · 2026-12-01 20:53 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@erdemcisse on GitHub · 2026-12-02 18:39 UTC · original
Measured again on the current
main(b67c405) with the MSVC host of 1.98.1, and with #3 applied on top:Per file, the 27 remaining are:
turbo.rs19,watch.rs8,shadow.rs2,host.rs1 (sends_own),smart_back.rs1.What the Tests step will say the first time it runs, because this issue is the reason it never has. On this PC, with #3 applied,
cargo test -p victory-gpu --lib --locked -- --test-threads=1is 466 passed / 5 failed, and the same five fail on unmodifiedmain:all panicking at
assert!(shadow.carded(), …)(gpu_owned.rs:1254,:1370,:1433,:1508,:1567). They are not a lint and not a flake: they fail single-threaded too, and they still fail withVICTORY_ADAPTERnaming the RTX card on this machine, so the host here never places those buffers on the card. Multi-threaded, the workspace run is 7 failed: those five,host::menu::tests::the_link_is_always_right_under_the_notewheneverVICTORY_STREAMLINE_DIRis set (#1), and thewatch::port7_testsflake (#4).So the three pieces are #3 (this), #1 (the menu note) and #4 (the flakes); green CI also needs a decision on the five
gpu_ownedtests.