cleanup: remove six answered single-setting switches #81
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!81
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-81"
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 12:12 UTC · original
TheRifai:cleanup-dead-toggles→main· +21 −71 · 11 files · 3 commits · merged 2026-12-01 12:22 UTCWhat
Six switches in
docs/TASKS.md"Dead and answered toggles" had only one setting anyone used (their environment reads and inventory entries are gone):UMEM_BIND_COALESCE(on),VKB_ARENA_BLOCK_MB(256 MiB),VKB_CLEAR_CONVERT(on),VKB_HEAP_SLOTS(1,245,184),VKB_KEEP_DESTROYED(off) andVKB_LINEAR_INPLACE(on). They and the branches that preserved the old behaviour are removed, so the default path is now the only path:VKB_CLEAR_CONVERTno longer reads the environment:clear_convertis fixed totrue, so clear values always go throughcolor_value(the old off branch cleared integer images with float bits);graveyardfield, init and drain are gone);Their inventory entries are removed as well.
The reference
No console counterpart: these were our own A/B and stress switches, not console behaviour. The kept settings are the ones already used by every run; no new constant or default is introduced.
Evidence
tools/build.shandcargo check --workspace --all-targets --lockedingreenfield/are clean.cargo test -p umem -p frame -p vkback --lib --locked: 11 + 16 + 150 pass;cargo test -p vkback --test policy --locked: 6 pass (the inventory has no stale entries)./tmp/opencode/capture/val-deadtoggles/runs/20261201-130858.Checklist (docs/AGENTS.md)
main, one topic (rule 31);docs/TASKS.mdnot edited, the fixed item named above (rule 29)unsafe(rule 36)@vktory6 on GitHub · 2026-12-01 12:22 UTC · original
Merged, thanks! Each removal checked out: none of the six is a catalogued debugging tool, and the removal conditions written at their definitions are met. For
UMEM_BIND_COALESCEthat includes the open device-loss hunt (#75): that fault is in RADV's own window, on a page that was never bound, so the title-window binds aren't involved.I pushed two commits to your branch first:
heap_slots()).heap_slots()is nowlayout::HEAP_SLOTS, a const with a compile-time check againstRAW_TWIN. Without the switch it could only returnOk(1_245_184), and four callers kept error paths that could not happen (rule 33).layout::makekeeps its range check, since tools pass other counts. The Series S version's heap fits the constant too: our Series S runs sent nothing past a heap's end.Tests pass in both workspaces and clippy is clean. No validation run was needed: the used path is untouched (rule 30), and you ran one anyway. The task lists what is left (
github.com/vktory6/VKtory@1cee55c).