victory-gpu: remove the broken VICTORY_AB phase switch #53
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!53
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-53"
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-01 08:22 UTC · original
TheRifai:gpu-remove-victory-ab→main· +7 −121 · 10 files · 2 commits · merged 2026-12-01 08:38 UTCWhat
VICTORY_AB(diagnostics A/B phases) is broken: nothing starts a phase any more, so a switch named in it is off for the whole run instead of alternating (issue #40). Per AGENTS.md rule 2 (no dead toggles), remove it and its readers' hooks:ab.rsandvictory_gpu::switched();toggled!/asked_for!and theab::pickreaders (no_reset,sync_jobs,lane_core,side_by_side,titlewrite::import) to read their own variable once;VICTORY_ABfromgreenfield/tools/policy/toggles.txt.Net −119/+7 lines. Every affected switch now behaves exactly as its non-diagnostics path already did.
Evidence
cargo test -p vkback --test policy: 6 pass, incl.toggles_registeredandtoggle_scan_finds_reads.tools/build.sh(PE, diagnostics) compiles.VICTORY_SYNC_FINE=1: reaches the world, survives, and shows only the pre-existing known rule-32 loud kinds (no new kind). The switch takes effect via read-once.@vktory6 on GitHub · 2026-12-01 08:38 UTC · original
Merged, thanks! This is the removal decided in #40 (rule 2), and each switch now reads its own variable once, as its normal path already did. One commit of mine on top (
dec128a) takes the finished line out of TASKS.md.Check on the reference system (RX 9070 XT): the PE build with
diagnostics(where the removed code lived), victory-gpu and vkback tests, and policy pass. The house-scene validation run shows no new error.VICTORY_ABholds the switches it names off for the whole run #40