CI on main is red: pre-existing unwind_copy dead-code and 5 asset-policy violations #37

Open
opened 2026-12-03 03:47:55 +00:00 by github-bot · 2 comments
Owner

@⁠imShangLi on GitHub · 2026-12-03 03:43 UTC · original

On the current main (3425e05), the CI check and policy-and-tests jobs fail on main's own files, independent of any PR. This blocks every open PR, including #32 and #33, whose diffs touch only test modules and pass locally.

check (clippy, -D warnings): crates/victory-loader/src/crash.rs:804 - unction 'unwind_copy' is never used (-D dead-code).

policy-and-tests (cargo xtask policy): 5 violations in the tree:

  • crates/victory-loader/src/heap_sites/frame_users.rs - 2022 hex digits in one run of \x/x literals (embedded data?);
  • docs/banner.jpg - file type not on the allowlist; binary content (NUL bytes);
  • docs/progress-en.svg - file type not on the allowlist;
  • docs/progress-ru.svg - file type not on the allowlist.

Could you take a look? PRs #32 (pool-hook place tables) and #33 (descriptor record-store places) add #[cfg(test)] modules only; both cargo test -p victory-loader --lib (7 tests total) and clippy on those files are clean here, and the failures above reproduce on an unmodified main. Happy to help with either the unwind_copy cleanup or a policy carve-out if useful.

**@⁠imShangLi** on GitHub · 2026-12-03 03:43 UTC · [original](https://github.com/ToLIManl/VIctory-Hydra/issues/37) On the current main (3425e05), the CI check and policy-and-tests jobs fail **on main's own files**, independent of any PR. This blocks every open PR, including #32 and #33, whose diffs touch only test modules and pass locally. **check (clippy, -D warnings):** crates/victory-loader/src/crash.rs:804 - unction 'unwind_copy' is never used (-D dead-code). **policy-and-tests (cargo xtask policy):** 5 violations in the tree: - crates/victory-loader/src/heap_sites/frame_users.rs - 2022 hex digits in one run of \x/x literals (embedded data?); - docs/banner.jpg - file type not on the allowlist; binary content (NUL bytes); - docs/progress-en.svg - file type not on the allowlist; - docs/progress-ru.svg - file type not on the allowlist. Could you take a look? PRs #32 (pool-hook place tables) and #33 (descriptor record-store places) add #[cfg(test)] modules only; both cargo test -p victory-loader --lib <module> (7 tests total) and clippy on those files are clean here, and the failures above reproduce on an unmodified main. Happy to help with either the unwind_copy cleanup or a policy carve-out if useful.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 03:47:56 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-12-03 03:43 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.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

**@⁠github-actions[bot]** on GitHub · 2026-12-03 03:43 UTC · [original](https://github.com/ToLIManl/VIctory-Hydra/issues/37#issuecomment-7366864545) 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. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
Author
Owner

@⁠imShangLi on GitHub · 2026-12-03 04:05 UTC · original · edited 2026-12-03 04:22 UTC

This is not a runtime crash report - the needs-logs label is a misfire. #37 reports that the repo's own CI is red on an unmodified main (3425e05 and 60d36c7), independent of any PR. There are no play/crash logs to attach; this is a build-time failure.

The check job (gate-1 clippy, no --all-features) fails in two crates:

  1. victory-loader: unwind_copy is never used at crates/victory-loader/src/crash.rs:804 - a #[cfg(feature = "diagnostics")] gate is missing (it is only called from stacks.rs, which is itself diagnostics-gated). PR #38 fixes this and matches the identical gate already on save_on_crash / writes_zero / stacks_at_kill.

  2. victory-shader (pre-existing, unrelated): gate-1 clippy also fails on E0063 "missing field code_table" in three HostShader test initializers (emit/mod.rs), plus clippy::useless_conversion (emit/lower/paired.rs:936) and clippy::while_immutable_condition (emit/lower/analysis.rs:467). These reproduce on a pristine main and are not touched by any open PR; the v2.1 commit 60d36c7 modified emit/mod.rs, emit/lower.rs and emit/bitcode.rs.

The policy-and-tests job additionally fails on 5 asset-policy violations: docs/banner.jpg, docs/progress-en.svg, docs/progress-ru.svg, and the long hex run in crates/victory-loader/src/heap_sites/frame_users.rs.

PRs #32 and #33 (test-only) remain blocked by these pre-existing failures. I have opened PR #38 for the victory-loader dead-code part; the victory-shader and asset-policy parts sit in the maintainer's active v2.x work, and I'd rather not touch those without direction. Happy to help with any of it if useful.

**@⁠imShangLi** on GitHub · 2026-12-03 04:05 UTC · [original](https://github.com/ToLIManl/VIctory-Hydra/issues/37#issuecomment-7367248147) · edited 2026-12-03 04:22 UTC This is not a runtime crash report - the `needs-logs` label is a misfire. #37 reports that the repo's own CI is red on an unmodified main (`3425e05` and `60d36c7`), independent of any PR. There are no play/crash logs to attach; this is a build-time failure. The `check` job (gate-1 clippy, no `--all-features`) fails in **two crates**: 1. **victory-loader**: `unwind_copy` is never used at `crates/victory-loader/src/crash.rs:804` - a `#[cfg(feature = "diagnostics")]` gate is missing (it is only called from `stacks.rs`, which is itself diagnostics-gated). **PR #38 fixes this** and matches the identical gate already on `save_on_crash` / `writes_zero` / `stacks_at_kill`. 2. **victory-shader (pre-existing, unrelated)**: gate-1 clippy also fails on `E0063` "missing field `code_table`" in three `HostShader` test initializers (`emit/mod.rs`), plus `clippy::useless_conversion` (`emit/lower/paired.rs:936`) and `clippy::while_immutable_condition` (`emit/lower/analysis.rs:467`). These reproduce on a pristine main and are not touched by any open PR; the v2.1 commit `60d36c7` modified `emit/mod.rs`, `emit/lower.rs` and `emit/bitcode.rs`. The `policy-and-tests` job additionally fails on 5 asset-policy violations: `docs/banner.jpg`, `docs/progress-en.svg`, `docs/progress-ru.svg`, and the long hex run in `crates/victory-loader/src/heap_sites/frame_users.rs`. PRs #32 and #33 (test-only) remain blocked by these pre-existing failures. I have opened PR #38 for the victory-loader dead-code part; the victory-shader and asset-policy parts sit in the maintainer's active v2.x work, and I'd rather not touch those without direction. Happy to help with any of it if useful.
This discussion has been locked. Commenting is limited to contributors.
No description provided.