Count refresh mismatches per shadow copy #908

Closed
DoubleD17 wants to merge 1 commit from upstream-pr/909 into main
DoubleD17 commented 2026-11-25 12:24:40 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by DoubleD17 on 2026-11-25T12:24:40Z.


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.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6604413543 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/909). Originally posted by [DoubleD17](https://github.com/DoubleD17) on 2026-11-25T12:24:40Z. --- 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://github.com/fxceless/victory-fork/issues/866). AI-assisted.
upstream-sync closed this pull request 2026-11-26 10:06:37 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork!908
No description provided.