policy: run the file-size check over every crate #223
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/vktory6--VKtory!223
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-223"
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?
@TheRifai on GitHub · 2026-12-02 15:00 UTC · original
TheRifai:size-check-all-crates→main· +17 −6 · 2 files · 1 commits · merged 2026-12-02 17:36 UTCWhat
TASKS item "Oversized files" (
docs/TASKS.md:939): the 1,500-line check reached onlygreenfield,victory-gpuandvictory-hle. This gives the size check its own root list covering every crate in the game build, while the toggle walk keeps its existingROOTS(so the change stays one topic).*_tests.rsfiles are excluded liketests.rsand inline#[cfg(test)]mods. Four newly covered files are listed as debt at their current counts, so any further growth fails the check:crates/victory-shader/src/emit/lower.rs13,730crates/victory-shader/src/resource.rs2,435crates/victory-shader/src/ir.rs1,964crates/victory-shader/src/structure.rs1,520Evidence
cargo test -p vkback --test policy: 6 passed, 0 failed — includesfile_sizeandtoggles_registered. Before the oversize entries were added,file_sizefailed with exactly those four paths and their counts; after, all six tests pass. No runtime code or build output changed.Checklist (docs/AGENTS.md)
docs/TASKS.mdnot edited (rules 29/31)unsafeor translator output changed (rules 2/9b/33/35/36/27)@vktory6 on GitHub · 2026-12-02 17:37 UTC · original
Merged, thanks: the file-size check covers every crate now, with the four large shader files listed at their counts. #244 (the toggle walk over every crate) needs main merged into it now.