Fix CI's first failures: the warm test's /kept label and the workspace's clippy errors #20
No reviewers
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/ReTerryDavis--ReVIctory!20
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-20"
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?
@wagney on GitHub · 2026-12-03 02:08 UTC · original
wagney:fix/ci-green-warm-bad-and-clippy→main· +146 −140 · 33 files · 4 commits · merged 2026-12-04 02:49 UTCWhy
main's CI has been red since 30 Nov (run 46362456337, HEAD925ac0a), so every open PR fails before its own checks mean anything. This PR clears the two failures that run first:apps/victory/tests/warm_bad.rsreads the parentheses ofwarm's line as a bare 16-hex fingerprint.warm.rsprints<fingerprint>/keptthere since3e5cb1d(KEPT, also the label written inwarm-done.txt) and the test was not updated.warm_bad_fingerprint_override_again_and_helpfails withunexpected fingerprint "124838b44299edfe/kept".-D warningson the pinned 1.98.1 finds ~19 errors invictory-shader,victory-gpu,victory-loader(tests) and thevictoryapp.What this changes
Two commits; no runtime behaviour is intended.
warm_bad: follow the label warm prints and warm-done.txt keeps— read the printed label, take the fingerprint before the/keptmark. The message assertions compare the whole label; thewarm-bad.txtentry and thewarm-done.txtfilter use the fingerprint alone.clippy: clear the workspace's -D warnings errors on 1.98.1— mechanical lint fixes (mem::take, derivedDefault,flatten,sort_by_key(Reverse), collapsedifs,?,is_multiple_of,checked_div,is_ok_and,entry(), and test-only casts). Two exceptions, each with a reason in place:not_unsafe_ptr_arg_derefontitle_names_processors/title_named_processorsis an#[allow](the pointers are OS thread handles the system validates, not memory we read), andrun_with_progressgets atoo_many_argumentsallow like the other functions in the tree.Verification
Toolchain
1.98.1, asrust-toolchain.tomlpins:cargo clippy --workspace --all-targets --locked -- -D warnings— clean.cargo clippy --workspace --all-targets --all-features --locked -- -D warnings— clean.cargo test --workspace --locked—warm_bad_fingerprint_override_again_and_helppasses and no test this PR touches fails.Remaining failures on
mainafter this PRWith
cargo test --workspace --locked --no-fail-fast, the test job then still fails inxtask, for two reasons present at925ac0aand untouched here:policy::tests::repository_passes_policy—apps/victory/assets/background.jpgandlogo.pngare "file type not on the allowlist" and "binary content (NUL bytes)". They came in with9a70c8c("Launcher: GTA VI-styled redesign …"), which did not add them toxtask/src/policy.rs.background.jpgis a stylized city illustration (not a screenshot), so this looks like a missing entry; it needs your call: a path exception with a reason inpolicy.rs, or dropping the files.switches::documented_switches_are_read—README.mdnamesVICTORY_NAME(the launcher's More placeholder) and no Rust source reads it. Reword it (e.g.VICTORY_<NAME>=<value>) or have the launcher read it.The hardware shader tests (
emit::isa_tests,emit::typed_half_tests,emit::valu_testsf16) could not run on the machine used for this check: its GPU has no shader model 6.6, soCreatePipelineStatefails withE_INVALIDARG. Nothing in this diff touches them.Two other local failures are toolchain artefacts, not code:
victory-loader --test load_probeneeds MSVC's/DELAYLOADto link its fixture, and one symbolization test intimeline::reportexpects resolved frame names that a GNU/MinGW build does not produce.This fork PR is a first contribution, so the workflow run may wait for approval; approving it shows the same three jobs.
warmprints and warm-done.txt keeps d39431f028@wagney on GitHub · 2026-12-03 02:10 UTC · original
Note: why the CI here sits at
action_requiredThis is not a code problem and not specific to this PR — GitHub is holding the workflow run until a maintainer approves it, and that is the state of the open PRs in general right now.
Evidence from this repository:
completed / action_required, 0 s.lane-priority-equal-cores46787685838,agility-sdk-win1046786637343,docs/lawful-copy-and-repacks46737400469,series-s-fsr-pc46713133325,series-s-fsr-hudless46798949698,xmem-watched-default-alloc46787695725,amd-integration46918079941,belobug-texture-diagnostics46929302609,xmem-windows-ports46932102033,replay-reserved46953983655,xor-swizzle-fallback46957278408. 14 of the last 25 runs in the repository areaction_required.mainat925ac0ais red (run 46362456337) — three clippy errors invictory-loaderpluswarm_bad_fingerprint_override_again_and_helpfailing — so an approved PR run fails in the Clippy job before its own tests run. That is what this PR fixes.What would help:
main.Nothing is needed from the PR author for the
action_requiredstate; it clears when the run is approved.Fix CI on main: the warm test's /kept label and the workspace's clippy errorsto Fix CI's first failures: the warm test's /kept label and the workspace's clippy errors@wagney on GitHub · 2026-12-03 02:25 UTC · original
Updated the description with what the local run showed: this clears the Clippy job and the
warm_badtest failure; the test job then reachesxtask, which fails for two pre-existing reasons at925ac0a(the launcher'sbackground.jpg/logo.pngare not on the asset-policy allowlist, and the README'sVICTORY_NAMEplaceholder matches no source). Details and suggested fixes are in the Remaining failures section — those two are your policy call, so I left them out of this PR.18d8623ed4tof379f61fd29dc7d9f8f1toa1d2ba6c10