fix(xtask): recognize documented launcher switch reads #528
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/lobomfz--VIctory-xmem!528
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-528"
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?
@tommiehansen on GitHub · 2026-12-04 22:38 UTC · original
tommiehansen:fix/shell-switch-policy→main· +49 −9 · 1 files · 1 commits · merged 2026-12-05 17:26 UTCWhat this does
Fixes the documented-switch test for the four existing launcher switches read by
run.sh:VICTORY_GPU_GUARD,VICTORY_GPU_GUARD_PERCENT,VICTORY_RAM_GUARD_STALL, andVICTORY_STEAMDECK. They are genuine shell parameter expansions, not Rust string literals. All 18 tested upstream merge snapshots passed asset policy but failed this same check.Checks
xtask/src/switches.rschanged.cargo test --locked -p xtask -- switches(4 passed) andcargo xtask policyon this head.Verified
Before: all 18 generated merge snapshots failed the switch check with the same four names (audit). Source inspection confirms actual reads in
run.sh. After: CI passed. The baseline failure was reproduced, all four switch tests and asset policy passed at the fix head, and all 18 upstream merge snapshots passed both checks with this fix cherry-picked. No gameplay or source PR branches were modified.Cost
None at runtime; only the switch-policy test scans the existing launcher.
github-bot referenced this pull request2026-12-04 22:48:31 +00:00
github-bot referenced this pull request2026-12-04 22:48:34 +00:00
github-bot referenced this pull request2026-12-05 02:20:09 +00:00
github-bot referenced this pull request2026-12-05 02:20:16 +00:00
github-bot referenced this pull request2026-12-05 10:24:40 +00:00