watch: lock-free clean/held mirrors for guard() and publish() #212
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: launcher
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
run report
security: hold
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs gpu test
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Androtim--MiniVI!212
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/212/head"
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?
@Androtim on GitHub · 2026-11-30 06:29 UTC · original
Androtim:feat/iter209-watch-guards-lockfree→main· +96 −6 · 1 files · 1 commits · closed without mergingSummary
Guards::cleanandGuards::heldinto atomic lock-free bitsets (CLEAN_BITSandHELD_BITS) viaBlocks::mirrored(...), keeping mirror updates synchronized oninsert/remove.guards_lockfree()(enabled by default;VICTORY_GUARDS_LOCKFREE=0opts out to the locked path) soguard()andpublish()inspect clean/held/beside/unsettled bitsets without acquiring theGUARDSmutex on clean fast paths.cover()clearsPUBLISHEDafter removing uncovered blocks fromclean(matching every otherclean.removepath so lock-freepublish()re-checks stay race-free).guards_lockfree_defaults_on_and_honors_zero_opt_outandmirrored_blocks_stay_in_sync_across_insert_remove_and_ranges.Verification
cargo run -p xtask -- policy(asset policy: 311 files ok)cargo test -p victory-gpu --lib watch:: -- --test-threads=1(54 passed; 0 failed)cargo test -p victory-gpu --features diagnostics --lib watch:: -- --test-threads=1(57 passed; 0 failed)cargo clippy --workspace --all-targets -- -D warnings(exit 0)cargo clippy --workspace --all-targets --features diagnostics -- -D warnings(exit 0)-PlayParity -AutoNudgeMenu):12.8 fps(77.9 ms,preparing 35.2 ms),6521 / 6836 MB(over=0 MB),0crashes,lit=18/24,luma=104.75,edge_energy=7.04,magenta=0.0%; latest frames visually verified crisp.10.6 fps(94.5 ms,preparing 39.45 ms),6729 / 6873 MB(over=0 MB),0crashes,lit=18/24,luma=106.91,edge_energy=6.96,magenta=0.0%; latest frames visually verified crisp.@Androtim on GitHub · 2026-11-30 08:12 UTC · original
GitHub reports merge conflicts against current \main\ (\98c171). Please rebase on \main\ so we can test it in the next wave.
@Androtim on GitHub · 2026-11-30 10:02 UTC · original
Automated triage for the maintainers (not an approval).
Verdict:
needs-rebase· CI (check):passingThis PR no longer merges cleanly into
main.To change the verdict: Rebase onto current
mainand resolve conflicts; CI and triage will run again automatically.Generated with Antigravity CLI (
agy).@Androtim on GitHub · 2026-12-01 01:39 UTC · original
Closing stale/conflicted backlog PR per #276. Superseded by the active root-architecture replacement pillars with isolated plain --release A/B verification.
Pull request closed