Docs: switches as the code reads them, and an xtask check for dead names (#49) #90
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!90
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-90"
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?
@sharan104 on GitHub · 2026-11-26 02:51 UTC · original
sharan104:fix/49-switch-docs→main· +137 −17 · 5 files · 1 commits · merged 2026-11-26 08:17 UTCFixes #49.
I checked every
VICTORY_*name in the tracked Markdown (73 names) against the code. The issue and the follow-up comment disagree, and the code settles it:VICTORY_LATE_WAIThost.rslate_stage(), accepts1/2/3, defaults to stage 3 while the relay is on (the comment above it still says "0, 1, or 2")VICTORY_WIDE_REFRESHhost.rswide_refresh(), unit-tested; the doc line was rightVICTORY_LATE_WAITSframe.rsVICTORY_MERGE_RACEVICTORY_WALLS_TRACE,VICTORY_CAPTURE_FRAMESVICTORY_CARD_BUFFERS_MIN_KB_MIN_MBwhen above 0, as the issue saysThe bigger finding: several switches the docs call "off by default" are on now (
VICTORY_RELAYstage 2,VICTORY_LATE_WAITstage 3 with the relay,VICTORY_WIDE_BACK,VICTORY_CARD_ROOM_FOR_BUFFERS,VICTORY_PAGE_WRITES=guards). That is also why the README's speed line made no difference in #34: three of its assignments are the defaults.Doc changes (
docs/README-fxceless.md,docs/findings.md): the speed line notes which switches are now defaults;VICTORY_PAGE_WRITESandVICTORY_CARD_ROOM_FOR_BUFFERSdescribe their real defaults; theVICTORY_MERGE_RACEswitch is gone but its finding is kept; the "off by default" paragraph now lists what is on and the values each accepts, and that_MIN_KBwins over_MIN_MB.The check the issue suggested:
xtask/src/switches.rs(test-only) fails if aVICTORY_*name in a tracked.mdfile is not quoted in at least one.rsfile outsidextask/. It matches whole names, soVICTORY_LATE_WAITSdoes not count asVICTORY_LATE_WAIT. It reuses the policy test's file list (policy::list_filesis nowpub(crate)). A scratch.mdnamingVICTORY_MERGE_RACEmade it fail and name the file.Tests:
cargo test -p xtask --locked(9 passed);cargo clippy -p xtask --all-targets --lockedclean.Left alone on purpose (code, not docs):
VICTORY_GPU_TIMING=0still turns the late wait off; thelate_stagecomment omits stage 3;VICTORY_LATE_WAIT=0probably also stops the relay. Please check the new wording suits a file kept as fxceless' historical README.🤖 Generated with Claude Code
@avatarmanz on GitHub · 2026-11-26 07:56 UTC · original
Merged into main in the next push (tests pass); thanks.