Restore the beta asset-policy check #18

Manually merged
github merged 1 commit from github-bot/gh-18 into beta 2026-11-26 11:04:54 +00:00 AGit
Owner

@⁠HandshakeHackin on GitHub · 2026-11-25 16:40 UTC · original
HandshakeHackin:fix-beta-asset-check → beta · +833 −813 · 4 files · 1 commits · merged 2026-11-26 09:57 UTC

I reproduced the xtask failure mentioned in #15 and #16 on clean beta c71c7d6. Four paths fail. emit/lower.rs exceeds 512 KiB, and the checker rejects the extensions of the project logo, log summarizer, and cold-cache test.

This moves the existing shader-lowering tests into emit/lower/tests.rs, preserving the Rust module path and reducing lower.rs from 539,786 to 508,963 bytes. The checker recognizes the three project files by exact path and still applies every size, binary-signature, NUL, and encoded-data check. A test covers binary and encoded data on those paths and the same file names elsewhere.

On Linux, cargo xtask policy passed for all 190 files. cargo test --locked -p victory-shader -p xtask passed 176 shader tests and 5 policy tests. The same two shader tests were ignored on beta and on this branch.

On Windows the policy passed for all 190 files. All five policy tests and all 15 active tests in the moved module passed (one ignored). The full Windows shader suite had 223 passes, three ignored, and one failure. glc_heap_uav_loads_stores_and_atomics_execute_on_gpu requires both hardware and WARP. This runner has WARP only. I confirmed the same assertion on unmodified beta.

Windows policy and moved tests · Unmodified beta control · Full Windows shader result

**@⁠HandshakeHackin** on GitHub · 2026-11-25 16:40 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/18) `HandshakeHackin:fix-beta-asset-check` → `beta` · +833 −813 · 4 files · 1 commits · merged 2026-11-26 09:57 UTC I reproduced the `xtask` failure mentioned in #15 and #16 on clean beta `c71c7d6`. Four paths fail. `emit/lower.rs` exceeds 512 KiB, and the checker rejects the extensions of the project logo, log summarizer, and cold-cache test. This moves the existing shader-lowering tests into `emit/lower/tests.rs`, preserving the Rust module path and reducing `lower.rs` from 539,786 to 508,963 bytes. The checker recognizes the three project files by exact path and still applies every size, binary-signature, NUL, and encoded-data check. A test covers binary and encoded data on those paths and the same file names elsewhere. On Linux, `cargo xtask policy` passed for all 190 files. `cargo test --locked -p victory-shader -p xtask` passed 176 shader tests and 5 policy tests. The same two shader tests were ignored on beta and on this branch. On Windows the policy passed for all 190 files. All five policy tests and all 15 active tests in the moved module passed (one ignored). The full Windows shader suite had 223 passes, three ignored, and one failure. `glc_heap_uav_loads_stores_and_atomics_execute_on_gpu` requires both hardware and WARP. This runner has WARP only. I confirmed the same assertion on unmodified beta. [Windows policy and moved tests](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45657379328/job/139357584452) · [Unmodified beta control](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45657379328/job/139357583821) · [Full Windows shader result](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45656380643/job/139354073868)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:52:19 +00:00
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-25 17:02 UTC · original

Thanks a lot @⁠HandshakeHackin! Noted. I'll test it on the RX 9070 XT in the next test build and report back here.

**@⁠PastiiJay** on GitHub · 2026-11-25 17:02 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/18#issuecomment-7168916412) Thanks a lot @⁠HandshakeHackin! Noted. I'll test it on the RX 9070 XT in the next test build and report back here.
Author
Owner

@⁠HandshakeHackin on GitHub · 2026-11-25 17:21 UTC · original

I combined the current heads of #13, #14, #17, #18, #20 and #21 on top of beta c71c7d6 before the RX 9070 XT run. All six merged cleanly. The Windows release built and passed the cold-cache, missing-input and zero-second warm-up checks. The asset check also passed.

The software-only Windows workspace run recorded 582 passed and one failed. The depth-bounds test drew an out-of-range pixel. I ran that test on untouched beta and got the same failure. This run excluded the previously confirmed test that requires both a physical GPU and WARP.

Integrated source · Release and CLI checks · Workspace output · Depth-bounds baseline

**@⁠HandshakeHackin** on GitHub · 2026-11-25 17:21 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/18#issuecomment-7169377742) I combined the current heads of #13, #14, #17, #18, #20 and #21 on top of beta `c71c7d6` before the RX 9070 XT run. All six merged cleanly. The Windows release built and passed the cold-cache, missing-input and zero-second warm-up checks. The asset check also passed. The software-only Windows workspace run recorded 582 passed and one failed. The depth-bounds test drew an out-of-range pixel. I ran that test on untouched beta and got the same failure. This run excluded the previously confirmed test that requires both a physical GPU and WARP. [Integrated source](https://github.com/HandshakeHackin/klbf-lab/tree/68dd5fc5d2339b1b4e87f34e2ff269593bee349e) · [Release and CLI checks](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45661825264/job/139373398952) · [Workspace output](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45661825264/job/139373398144) · [Depth-bounds baseline](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45662763978/job/139376715569)
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-25 17:39 UTC · original

Thanks a lot @⁠HandshakeHackin, that combined run is really useful. It makes testing them together on the 9070 XT much easier. I'll report back here.

**@⁠PastiiJay** on GitHub · 2026-11-25 17:39 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/18#issuecomment-7169806560) Thanks a lot @⁠HandshakeHackin, that combined run is really useful. It makes testing them together on the 9070 XT much easier. I'll report back here.
github manually merged commit 7979b0ec02 into beta 2026-11-26 11:04:54 +00:00
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-26 09:58 UTC · original

Merged, good to have the asset check guarding beta again.

**@⁠PastiiJay** on GitHub · 2026-11-26 09:58 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/18#issuecomment-7188735242) Merged, good to have the asset check guarding beta again.
This discussion has been locked. Commenting is limited to contributors.
No description provided.