CI: both clippy passes and the tests green again #2682

Open
github-bot wants to merge 1 commit from github-bot/gh-2682 into main AGit
Owner

@⁠sh3nw4ld on GitHub · 2026-11-29 16:01 UTC · original
sh3nw4ld:ci-default-clippy-green → main · +0 −0 · 0 files · 1 commits · open

See the branch's commit messages for the full what-and-why. Clippy (both configurations) and the tests verified locally on an RTX 4060 Ti (8 GB), Rust 1.98.1 pinned. The CI-green PR carries the main-level fixes these stack on.

**@⁠sh3nw4ld** on GitHub · 2026-11-29 16:01 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2682) `sh3nw4ld:ci-default-clippy-green` → `main` · +0 −0 · 0 files · 1 commits · open See the branch's commit messages for the full what-and-why. Clippy (both configurations) and the tests verified locally on an RTX 4060 Ti (8 GB), Rust 1.98.1 pinned. The CI-green PR carries the main-level fixes these stack on.
The waves lost the mb helper the memory log calls four times, and a
local timing (the per-submission instrument) shadowed the
VICTORY_GPU_TIMING switch of the same name, so the three calls below
it resolved to the Option. The helper is back (bytes as f64 over
1 MiB, as the one inline use beside them computes it), and the local
is timed.
The waves left the default clippy pass red, and the repo's Actions
started running this week, so every PR shows it. One pass over the
workspace: the loader's unwind_copy is reachable from the diagnostics
re-export alone (gated as its caller chain is); the shader side lost
an import and gained a mutable propagation condition; the gpu crate's
newer waves left an unused import, three unused variables, a leftover
const, a duplicate '%' glyph arm (the first renders, as before), two
never-built fns, a few prepared-but-unwired fns and a variant (marked
as such, the way pipeline.rs and shadow.rs already do), a needless
borrow, two is_multiple_of, a lazy evaluation, a runtime assert of a
const (const { assert! }), and items after a test module (the hle one
moves above it); the workspace rust-version rises to 1.89, which the
file locking in pipeline/library.rs already needs.
The wave that moved the fast path to Microsoft's dictionary reading
(f9de61c5) left the reference oracle at the old one, and the parity
tests caught the two apart: the oracle skipped the widths word and
read 31 slots, the decoder reads all 32 in order. The oracle follows
the decoder now, as its own bc7_dictionary_indices_line_up test pins
against the shipped tables. The three BC7 oracle-parity tests are
green again.
card_steps' two tests of the learned pages share the global registry
and ran side by side: heap reuse gave one test's leftovers to the
next, and the four-core runner hit it (places_written_after_sending_
are_learned failed in CI). They take a lock of their own now and the
registry is forgotten between them.

And the policy entry for the generated frame_users.rs the waves
merged: rows of instruction recipes and window offsets, no title
bytes — the mechanical hex-run count trips on the recipes' long rows;
the owner to confirm the entry.
The runner has no hardware and its WARP predates SM 6.6: the wave64
helper panicked on its empty run (neither device available), the
nv05d1 reference turned the skip into an expect, and the intersect
test asked for both devices before anything ran. An empty run is a
skip now, the way the harness's other paths skip.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 16:04:08 +00:00
github-bot force-pushed github-bot/gh-2682 from 03b38e926f to eec35ce5d5 2026-11-29 16:15:46 +00:00 Compare
The test asserted events as soon as the termination completed, but
returned lands on the callback's thread one line after the terminate
call it sits in returns: the four-core runner read events between the
two. The wait polls for it, the way the tests' other threads are
waited for.
Author
Owner

@⁠ANDREANIADS on GitHub · 2026-11-29 16:34 UTC · original

The Windows check job passed both Clippy steps and Tests. One coverage detail in 3003044 is independent of the seven-case readlane test discussed in #2019: one_console_wave_divergent_loop_wave_ops_widen_for_one_and_two_block_loops has 2 loop shapes × 3 operations. If run_group64_on_hosts returns an empty vector on the first variant, return exits after only (false, reduction). Five variants miss their CPU lowering assertions and optional DXIL validation. Could the empty-host branch skip just that variant’s readback (continue in the kind loop), keeping the CPU assertions for all six? This is from control-flow inspection; I did not establish which adapters the CI job used.

**@⁠ANDREANIADS** on GitHub · 2026-11-29 16:34 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2682#issuecomment-7259004039) The Windows `check` job passed both Clippy steps and `Tests`. One coverage detail in `3003044` is independent of the seven-case readlane test discussed in #2019: `one_console_wave_divergent_loop_wave_ops_widen_for_one_and_two_block_loops` has 2 loop shapes × 3 operations. If `run_group64_on_hosts` returns an empty vector on the first variant, `return` exits after only `(false, reduction)`. Five variants miss their CPU lowering assertions and optional DXIL validation. Could the empty-host branch skip just that variant’s readback (`continue` in the `kind` loop), keeping the CPU assertions for all six? This is from control-flow inspection; I did not establish which adapters the CI job used.
github-bot force-pushed github-bot/gh-2682 from 6ff3910571 to dd90c0c1bc 2026-11-29 16:43:45 +00:00 Compare
Author
Owner

@⁠sh3nw4ld on GitHub · 2026-11-29 16:46 UTC · original

The latest runner run fails only on one test: the shared-scratch bench's exact fill counts on a 2-4 core runner — diagnosed and filed as #2741 with the reproduction context and three options. Everything else this PR carries (both clippy passes, the diagnostics build, the bcpack oracle parity, the policy entry, the card_steps learned-pages race, the shader tests' skips) is green in this run's earlier steps and locally. The bench call is the maintainers' to make; the three PRs of mine that still show red run the same bench on the same runner.

**@⁠sh3nw4ld** on GitHub · 2026-11-29 16:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2682#issuecomment-7259172302) The latest runner run fails only on one test: the shared-scratch bench's exact fill counts on a 2-4 core runner — diagnosed and filed as #2741 with the reproduction context and three options. Everything else this PR carries (both clippy passes, the diagnostics build, the bcpack oracle parity, the policy entry, the card_steps learned-pages race, the shader tests' skips) is green in this run's earlier steps and locally. The bench call is the maintainers' to make; the three PRs of mine that still show red run the same bench on the same runner.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
The changes on this branch are already on the target branch. This will be an empty commit.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2682/head:github-bot/gh-2682'
git switch 'github-bot/gh-2682'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2682'
git switch 'github-bot/gh-2682'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2682'
git switch 'github-bot/gh-2682'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2682'
git switch 'main'
git merge --squash 'github-bot/gh-2682'
git switch 'main'
git merge --ff-only 'github-bot/gh-2682'
git switch 'main'
git merge 'github-bot/gh-2682'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!2682
No description provided.