CI: one Clippy warning skips the Tests step, so a red main has no test results and the asset-policy check never runs #45
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX#45
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?
@itsonewi on GitHub · 2026-11-26 00:06 UTC · original
On
mainright now the test step does not run, and the reason is not the tests: the workflow lints first, in the same job, and any-D warningshit ends the job before a test binary is built. The asset-policy check that lives inside the test step is skipped with it.The evidence
Run 45712194691, job 139549162967 (Windows,
check), step by step:failure(first hit atcrates/victory-formats/src/texture.rs:1346)skippedskippedWhy
.github/workflows/ci.yml:18-33is one job with three steps in this order:No
if: always(), nocontinue-on-error, no separate job. Steps in a job run in order and stop at the first failure, so:--all-targets(which includes test code and examples) ⇒ no test result for that commit, of either feature set.:31says theTestsstep is wherextask'srepository_passes_policyruns ⇒ the asset-policy check also does not run while the lints are red. That is the guarantee the tree relies on; it is currently unenforced onmain, not merely unmeasured.cancel-in-progressonci-${{ github.ref }}means re-pushing a fix cancels the older run, so a red run leaves nothing behind to compare against.The reporter's count, from a local run on
0a43566with--keep-going: 32 distinct lint locations acrossvictory-formats,victory-loaderandvictory-gpuin the default-feature pass. So this is not a one-line unlock.This is not #31
#31 is that the test command omits
--all-features, so the diagnostics suites andtests/replay.rsnever run when the step runs. This issue is that the step does not run at all while lint is red. The fixes do not overlap:needs: [], no dependency oncheck), so lint and tests report independently, exactly as @UwUCammie proposed in #31.cargo test --workspace --lockedandcargo test --workspace --all-features --locked(the second coverstests/replay.rsand the diagnostics tests — #31).checkjob where they belong; they are the part that should be able to fail alone.Not checked
Read from
.github/workflows/ci.ymlat0a43566and the job's step results through the API. I did not run the workflow or any test here, and thetexture.rs:1346lint is the reporter's local run, not a CI log line.AI use
AI-assisted review (workflow file plus job metadata). No build, no run, no game files.