Repository navigation
Conversation
…the asset policy's 512 KiB limit The check job fails on main: crates/victory-gpu/src/host.rs (528,954 bytes) and crates/victory-shader/src/emit/lower.rs (535,588 bytes) are over the asset policy's 512 KiB limit (#1342). Only #[cfg(test)] modules move, verbatim apart from losing one level of indentation; module names and paths are unchanged, no non-test code changes. - host.rs: its eight test modules (tests, relay_tests, grouped_tests, late_tests, trail, spare, batch, queue2_tests) move to host/<name>.rs, the layout profile.rs and profile/tests.rs already use. 492,495 bytes. - lower.rs: mod tests moves to emit/lower_tests.rs, declared with #[path = "lower_tests.rs"] as in #1322. 512,559 bytes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015kFDn6faAxnJwPKPwiCnj1
AI-assisted: keep original tested commit in history; local all-feature check, strict Clippy and focused tests passed. Upstream asset-policy baseline remains open (fxceless#1357).
AI-assisted: keep original tested commit in history; local all-feature check, strict Clippy and focused tests passed. Upstream asset-policy baseline remains open (fxceless#1357).
AI-assisted: keep original tested commit in history; local all-feature check and strict Clippy passed. Upstream asset-policy baseline remains open (fxceless#1357).
AI-assisted: keep original tested commit in history; local all-feature check and strict Clippy passed. Upstream asset-policy baseline remains open (fxceless#1357).
AI-assisted: keep original tested commit in history; local all-feature check, strict Clippy and focused synthetic tests passed. Upstream asset-policy baseline remains open (fxceless#1357).
AI-assisted: keep original tested commit in history; local all-feature check, strict Clippy and focused synthetic tests passed. Upstream asset-policy baseline remains open (fxceless#1357).
AI-assisted: keep original tested commit in history; local all-feature check, strict Clippy and focused synthetic tests passed. Upstream asset-policy baseline remains open (fxceless#1357).
AI-assisted: keep original tested commit in history; local all-feature check, strict Clippy and focused synthetic tests passed. Upstream asset-policy baseline remains open (fxceless#1357).
|
I carried the existing host test split onto the current The full local asset policy passes for 240 files on Source for the rebase is available in my fork. Review branch Assisted by Codex (GPT-6.2-Sol High). |
Requested by ELEVEN · project thread
Problem
The
checkjob fails onmain(#1342):cargo xtask policyreportsChange
Only
#[cfg(test)]modules move. Each one moves verbatim apart from losing one level of indentation, and the lines inside multi-line raw strings are left untouched. Module names and paths (host::tests,emit::lower::tests, ...) stay the same, souse super::...and every test name are unchanged. No non-test code changes.host.rs: its eight test modules (tests,relay_tests,grouped_tests,late_tests,trail,spare,batch,queue2_tests) move tocrates/victory-gpu/src/host/<name>.rs, the same layoutprofile.rs/profile/tests.rsalready use. The size goes from 528,954 to 492,495 bytes.lower.rs:mod testsmoves toemit/lower_tests.rs, declared with#[path = "lower_tests.rs"]the way Shaders: lower.rs's tests move to their own file, under the asset policy's 512 KiB limit #1322 does it. The size goes from 535,588 to 512,559 bytes. Shaders: lower.rs's tests move to their own file, under the asset policy's 512 KiB limit #1322 has conflicts withmainnow, so this redoes its move on currentmainand would replace it.Tests
HEAD: the code is identical apart from whitespace, and all 1,958 string literals are byte-for-byte the same.cargo xtask policy: 232 files ok.cargo test -p xtask --locked: 5 passed, includingrepository_passes_policy.cargo test -p victory-shader --lib --locked lower::tests: 14 passed, 1 ignored. That test was ignored before the move too.cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-msvc -- -D warningswas clean, both with and without--all-features. I ran it from Linux withCARGO_FEATURE_PURE=1so blake3 builds without MSVC.Note:
lower.rsis about 11 KiB under the limit and grows quickly, so #1342's idea of a separate limit for.rsfiles is still worth deciding.Fixes #1342.
Generated by Claude Code