Count refresh mismatches per shadow copy #909

Closed
github-bot wants to merge 1 commit from github-bot/gh-909 into main AGit
Owner

@⁠DoubleD17 on GitHub · 2026-11-25 12:24 UTC · original
DoubleD17:fix/refresh-check-shadow-generation → main · +7 −10 · 1 files · 1 commits · closed without merging

The opt-in refresh diagnostic keyed consecutive mismatches by address. A replacement shadow at the same address could inherit an earlier shadow's count, and a matching sample from another shadow could clear it. Store the sampled-address counts in each shadow so they are released with that copy. A synthetic CPU fixture showed the baseline warning on the replacement's first mismatch and the corrected counter warning on its third. It also checked resets, separate blocks, and the disabled diagnostic. The reviewed revision preserves the tested code paths, and the diagnostics build passed at the exact candidate commit on Windows x64 with a Ryzen 7 5800X and Rust 1.98.1 MSVC. This validates warning attribution for the investigation in #866.

AI-assisted.

**@⁠DoubleD17** on GitHub · 2026-11-25 12:24 UTC · [original](https://github.com/fxceless/victory-fork/pull/909) `DoubleD17:fix/refresh-check-shadow-generation` → `main` · +7 −10 · 1 files · 1 commits · closed without merging The opt-in refresh diagnostic keyed consecutive mismatches by address. A replacement shadow at the same address could inherit an earlier shadow's count, and a matching sample from another shadow could clear it. Store the sampled-address counts in each shadow so they are released with that copy. A synthetic CPU fixture showed the baseline warning on the replacement's first mismatch and the corrected counter warning on its third. It also checked resets, separate blocks, and the disabled diagnostic. The reviewed revision preserves the tested code paths, and the diagnostics build passed at the exact candidate commit on Windows x64 with a Ryzen 7 5800X and Rust 1.98.1 MSVC. This validates warning attribution for the investigation in [#866](https://git.gtahub.st/github/fxceless--victory-fork/issues/866). AI-assisted.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:53:39 +00:00
github-bot closed this pull request 2026-11-26 11:20:20 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.