metal: pin corpus.rs' failure-grouping helpers (code_name, normalise) with unit tests #479
No reviewers
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS!479
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-475"
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?
@AnastasisKon on GitHub · 2026-11-27 21:50 UTC · original
AnastasisKon:vibe/corpus-helpers-tests-1705ac→main· +32 −0 · 1 files · 1 commits · merged 2026-11-28 01:35 UTCWhat this changes
Refs #477. One change, test-only: unit tests in
crates/victory-metal/src/corpus.rsfor the two pure helpers the--corpussweep groups failures by.code_name: codes 0..=19 map to theirIRErrorCodenames, 20 and beyond (incl.u32::MAX) are"Unknown".normalise: each run of digits collapses to oneN(so hex addresses and counts group together), non-digits pass through, input is capped at 160 chars, digit-only input is"N".The crate is macOS-only and builds empty elsewhere, so the Windows CI run is unaffected.
How it was tested
cargo test -p victory-metalon this Apple Silicon Mac — 3 newcorpus::testspass (42 lib + 12 + 18 others also pass)cargo test -p victory-hle -p victory -p victory-gpu -p xtask— pass (gpu 412, hle 144+2, victory 8+2, xtask 6)cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings— passcargo xtask policy— pass (398 files ok)Checklist
VICTORY_*variable and documented — n/a, none added@Olima34 on GitHub · 2026-11-28 01:35 UTC · original · approved these changes
Check report (helping the maintainer clear the queue):
checkandmacos-scriptsgreen on the current head.code_nameandnormaliseincorpus.rs.226645f9) merged with this PR and the other test/docs/tools PRs we're landing in this batch (#401 #403 #426 #471 #475 #479 #483 #485 #490 #493 #498 #502 #509 #515). On it, thevictory-gpu(arm64),victory-shader,victory-backend,victory-metalandvictorytests pass, as do the macOS script tests (rustup-path.sh,run-summary-compare.sh,run-summary.sh --self-test), Windows clippy (-D warnings) andcargo xtask policy. Onevictory-gpurun in four failed main's ownmulti_mip_array_and_placed_depth_twins_preserve_all_subresources_and_remirror_immediately. That test also flakes on main alone, so it isn't from this batch.Thanks @AnastasisKon!