d3d12: attribute residency pressure using active thresholds #2951
Code
Clone this repository
Checkout
From your project repository, check out a new branch and test the changes.
git fetch -u origin "github-pr/2951:github-pr/2951" git switch "github-pr/2951"
Open
leonida/mandy
NetZlash wants to merge 3 commits from
github-pr/2951 into main
pull from: github-pr/2951
merge into: leonida:main
leonida:main
leonida:github-pr/3295
leonida:beta
leonida:docs/changelog-3483-3500
leonida:github-pr/3294
leonida:github-pr/2975
leonida:github-pr/2815
leonida:feat/gate-driver-start
leonida:feat/skip-pipelines-release
leonida:perf/lazy-compare
leonida:perf/mwaitx-wait
leonida:test/prio-ceiling-main
leonida:fix/ab-cpu-stdout
leonida:fix/gate-old-crashes
leonida:diag/ab-cpu
leonida:test/main-0312
leonida:github-pr/3291
leonida:diag/indirect-clamp-census
leonida:feat/barrier-enhanced
leonida:perf/texture-frame-ceiling
leonida:perf/dstorage-threads
leonida:fix/console-queue-dma-tables
leonida:fix/port-descriptors-record-parts
leonida:fix/frame-waits-fence
leonida:fix/console-sampler-words
leonida:fix/graphics-userdata-spill
leonida:fix/xg-reserved-layout-rotation
leonida:fix/barrier-console-flags
leonida:fix/switches-wait-test-child
leonida:test/list-value-waits
leonida:test/lot-gxdk-0412
leonida:fix/bvh-compacted-size
leonida:docs/i18n-quickstarts
leonida:feat/native-pipeline-slots
leonida:fix/clippy-leonida-gpu
leonida:fix/list-value-producers
leonida:fix/descriptor-page-straddle
leonida:fix/xmem-low-window
leonida:fix/ffx-jitter-never-zero
leonida:fix/run-stdout-closed
leonida:github-pr/2892
leonida:github-pr/2896
leonida:feat/warm-save-every
leonida:github-pr/2980
leonida:github-pr/2994
leonida:github-pr/3005
leonida:github-pr/3010
leonida:github-pr/3136
leonida:github-pr/3303
leonida:github-pr/3220
leonida:github-pr/3143
leonida:github-pr/3330
leonida:github-pr/3226
leonida:github-pr/3187
leonida:carry/3395
leonida:github-pr/2946
leonida:github-pr/2947
leonida:github-pr/2945
leonida:github-pr/2983
leonida:github-pr/3001
leonida:github-pr/3372
leonida:github-pr/3128
leonida:github-pr/3296
leonida:github-pr/2588
leonida:github-pr/3119
leonida:github-pr/3378
leonida:fix/crash-diagnostics
leonida:feat/dlss-mip-bias
leonida:fix/retired-out-of-order
leonida:fix/dxr-postbuild-barrier
leonida:fix/amd-relay-default
leonida:fix/removed-report-wait
leonida:feat/heap-twin
leonida:feat/vram-margin
leonida:github-pr/2472
leonida:github-pr/3123
leonida:github-pr/3088
leonida:assets/annonce-v1
leonida:github-pr/2794
leonida:github-pr/3300
leonida:github-pr/3304
leonida:github-pr/3308
leonida:github-pr/3367
leonida:github-pr/3369
leonida:fix/launcher-dlss-diagnostics
leonida:github-pr/3269
leonida:github-pr/2957
leonida:github-pr/3205
leonida:fix/crash-zero-guard
leonida:github-pr/3185
leonida:github-pr/3099
leonida:github-pr/3104
leonida:github-pr/3348
leonida:github-pr/3379
leonida:github-pr/3377
leonida:perf/darner-title-priority-ceiling
leonida:github-pr/3376
leonida:gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
leonida:gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
leonida:gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
leonida:github-pr/3373
leonida:github-pr/3368
leonida:github-pr/3198
leonida:gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
leonida:gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
leonida:gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
leonida:gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
leonida:github-pr/3346
leonida:github-pr/3375
leonida:github-pr/2958
leonida:github-pr/3151
leonida:github-pr/3307
leonida:github-pr/3278
leonida:github-pr/3374
leonida:fix/runtime-test-conservative-fixtures
leonida:github-pr/3366
leonida:ci/shard-semantic-linux
leonida:github-pr/3354
leonida:docs/fg-limit-fps-switch
leonida:github-pr/3365
leonida:fix/read-file-hard-link
leonida:github-pr/3364
leonida:fix/book-slot-heap-never-read
leonida:github-pr/3361
leonida:github-pr/3263
leonida:github-pr/3360
leonida:github-pr/3353
leonida:github-pr/3331
leonida:fix/alias-later-queued-submissions
leonida:github-pr/3352
leonida:github-pr/3228
leonida:github-pr/3349
leonida:claude/gallant-sagan-aamatr
leonida:github-pr/3200
leonida:github-pr/3132
leonida:github-pr/3323
leonida:github-pr/3332
leonida:github-pr/3340
leonida:github-pr/3311
leonida:github-pr/3334
leonida:github-pr/3297
leonida:github-pr/3256
leonida:github-pr/2567
leonida:github-pr/2851
leonida:d3d12/agility-sdk-621
leonida:github-pr/3164
leonida:github-pr/3114
leonida:github-pr/3050
leonida:github-pr/3113
leonida:github-pr/3326
leonida:github-pr/3144
leonida:github-pr/2642
leonida:github-pr/3072
leonida:github-pr/2789
leonida:github-pr/2643
leonida:github-pr/3009
leonida:github-pr/3035
leonida:github-pr/3031
leonida:github-pr/2686
leonida:github-pr/2834
leonida:github-pr/3321
leonida:github-pr/3325
leonida:github-pr/3290
leonida:github-pr/3324
leonida:github-pr/3130
leonida:claude/fervent-curie-m19lnr
leonida:github-pr/3309
leonida:github-pr/3305
leonida:github-pr/3306
leonida:github-pr/3302
leonida:github-pr/3301
leonida:github-pr/3345
leonida:github-pr/3211
leonida:github-pr/3027
leonida:github-pr/3286
leonida:github-pr/3235
leonida:github-pr/3265
leonida:github-pr/3275
leonida:codex/skip-no-hit-ray-passes
leonida:github-pr/2823
leonida:github-pr/2911
leonida:github-pr/3262
leonida:github-pr/3125
leonida:github-pr/3206
leonida:github-pr/3250
leonida:github-pr/3238
leonida:github-pr/3188
leonida:github-pr/2952
leonida:github-pr/3217
leonida:github-pr/3168
leonida:t3/preserve-fsr-sdk-restart-path
leonida:t3/propagate-host-failure-hresult
leonida:github-pr/3209
leonida:t3/launcher-custom-parameters
leonida:github-pr/3207
leonida:github-pr/3183
leonida:github-pr/3160
leonida:github-pr/3201
leonida:ci/less-to-run
leonida:github-pr/2930
leonida:github-pr/2797
leonida:github-pr/2999
leonida:perf/native-compute-shader-forms
leonida:github-pr/3191
leonida:github-pr/3011
leonida:github-pr/3019
leonida:github-pr/2996
leonida:gh-readonly-queue/main/pr-2789-45dc41f95c1cd0dcc29c2c50582e0e9af8a77259
leonida:claude/blissful-franklin-ukp7ag
leonida:github-pr/3141
leonida:github-pr/3156
leonida:github-pr/3150
leonida:github-pr/3153
leonida:github-pr/3163
leonida:github-pr/3142
leonida:github-pr/3139
leonida:github-pr/2841
leonida:github-pr/3069
leonida:github-pr/3098
leonida:github-pr/3107
leonida:github-pr/3071
leonida:github-pr/2774
leonida:github-pr/2889
leonida:github-pr/3075
leonida:github-pr/2661
leonida:github-pr/3064
leonida:github-pr/3054
leonida:github-pr/3049
leonida:github-pr/2855
leonida:github-pr/2943
leonida:github-pr/3016
leonida:github-pr/2887
leonida:github-pr/3006
leonida:github-pr/3003
leonida:github-pr/2993
leonida:notes/card-time-and-plant-flicker
leonida:github-pr/2989
leonida:feat/vulkan-rs
leonida:github-pr/2985
leonida:github-pr/2982
leonida:github-pr/752
leonida:github-pr/792
leonida:github-pr/2877
leonida:github-pr/2654
leonida:github-pr/2893
leonida:github-pr/2948
leonida:github-pr/2944
leonida:github-pr/2919
leonida:github-pr/2915
leonida:archive/ci/less-to-run/20261202T1121Z
leonida:github-pr/2800
leonida:github-pr/2822
leonida:github-pr/2833
leonida:github-pr/2840
leonida:github-pr/2831
leonida:github-pr/2832
leonida:github-pr/2801
leonida:github-pr/2890
leonida:github-pr/2891
leonida:github-pr/2664
leonida:github-pr/2807
leonida:rt-call-trace
leonida:github-pr/2755
leonida:perf/ahead-split
leonida:github-pr/2587
leonida:github-pr/2698
leonida:github-pr/2609
leonida:github-pr/3219
leonida:docs/readme-runtime-proposal
leonida:github-pr/2017
leonida:github-pr/1741
leonida:github-pr/1667
leonida:codex/coord-claim-check-20261124-7e48
No reviewers
Assignees
Clear assignees
No assignees
Labels
Clear labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
enhancement
New feature or request
missing claim
Needs a claim in #14
needs rebase
Conflicts with the base branch: rebase it on main
needs-triage
Needs maintainer evaluation before the next triage state
question
Further information is requested
ready-for-agent
Fully specified and ready for an AFK agent
submodules
Pull requests that update submodules code
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
Projects
Clear projects
No items
No project
Milestone
Clear milestone
No items
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
leonida/mandy!2951
Loading…
Reference in a new issue
No description provided.
Delete branch "github-pr/2951"
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?
This branch is out-of-date with the base branch
Reviewers 0 approvals
Details
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Claimed in the coordination issue as: D3D12-RESIDENCY-PRESSURE-ATTRIBUTION
What and why
The physical-only counter used the fixed 4 GiB commit entry threshold to attribute every pressured sample. A host that is already under pressure and has 6 GiB free physical memory and 5 GiB commit headroom stays under pressure due to commit. The old diagnostic counted that sample as physical-only.
Derive the pressure decision and the three diagnostic counts from the same physical and commit constraints. Entry still uses inclusive 3 GiB physical and 4 GiB commit thresholds. Retention still applies below 5 GiB physical or below 6 GiB commit. Each pressured sample now records one of three categories under the active thresholds: physical only, commit only, or both. For example, 1 GiB of free physical memory and 5.9 GiB of commit headroom counts as physical only at entry and as both during retention, making the physical constraint visible in both samples. The change is limited to attribution and its log wording. Admission decisions and memory budgets retain their original behavior.
Counts describe successful samples taken roughly once per second. Shorter spikes can fall between samples. The sweep reads commit headroom directly, and the separate critical-commit query uses a 32 ms cache and also considers recent allocation failures.
Tested
Red. Ran
cargo test -p leonida-gpu --lib --locked residency::tests::physical_only_pressure_uses_the_active_thresholds -- --exactafter a behavior-preserving extraction of the original predicate. Exit 101. The assertion for 6 GiB free RAM and 5 GiB commit headroom sawphysical_only=true, withfalseexpected.Green. All four residency tests passed with default features and with
diagnostics. The regression covers entry and retention, both constraints, physical-only and commit-only pressure, recovery, and single-byte boundaries. Existing admission and prefetch tests also pass.cargo build --workspace --all-targets --lockedpassed. The original workspace regression run used--no-fail-fast, excludedxtask, and applied the documenteddepth_bounds_pipeline_loads_and_filters_drawsskip. Theleonida-gpuunit suite passed 644 tests.On the synchronized branch,
leonida-gpupassed 644 unit tests with the same depth-bounds skip (59 ignored). The four residency tests also passed again withdiagnostics.Five pre-existing workspace failures. All reproduced on clean upstream
1e3e316c5e7b072bc26a3e3ce78950b9fde84a43, the base of the original workspace run.settings_line::a_run_logs_the_settings_it_starts_withfailed with inheritedRUST_LOG=warn. It passed on both revisions withRUST_LOGunset for the test process.emit::barycentric_tests::a_masked_pixel_program_reads_the_position_where_the_vertex_program_writes_itemit::barycentric_tests::first_half_values_render_on_hardware_and_warpemit::rect::tests::rectangles_are_drawn_wholeemit::rect::tests::the_rectangle_stage_is_a_geometry_shaderThe four
leonida-shadertests failed DXIL validation on both revisions withContainer part 'Pipeline State Validation' does not match expected for module.cargo test -p leonida-gpu --features diagnostics --test replay --locked -- --nocapturepassed again on the synchronized branch. The synthetic D3D12 fixture recorded and replayed a frame with identical picture hashes.All 24 game-gate Python tests passed.
git diff --checkand the repository-widepython -I scripts/check_no_game_data.pypassed. An independent read-only review found no blocking issues.Review follow-up
26da88e8tested the counter update used byrefresh()on a synthetic sample sequence. A mutation that recorded a physical-only sample as mixed made the new test fail. All four targeted tests passed with and withoutdiagnosticsafter restoring the counter. This includes the reported low-RAM example, both hysteresis states and recovery.The follow-up replay passed, and the 644-test GPU suite passed in both parallel and serial reruns with the same depth-bounds skip. The initial parallel follow-up run had two intermittent failures in unrelated descriptor and alias-cast tests. The reruns and a parallel run of the previously published head passed both cases.
GPUs tested: Windows 11 Pro x64 build 26200 host with an NVIDIA GeForce RTX 4070 SUPER and driver 621.40. Synthetic replay uses the default D3D12 adapter. The residency regression runs on the CPU. The tested scope is diagnostic attribution.
AI-assisted: Yes. GPT-6.2 Sol (
gpt-6.2-sol) implemented and tested the change. GPT-6.2 Astra (gpt-6.2-astra) performed the independent read-only review.Checklist
mainat1fff69129529c2f45d2e8f7524278ecefe291e0cand merges cleanly.Verified the physical-only counter on native Windows across full pressure transitions on base
1fff69129and head89d7808a3. A temporary test supplied synthetic values at the OS memory-status boundary and called the crate's actualrefresh(). For each physical/commit pair, I tested entry from a recovered state and retention from a primed state. The grid includes the exact thresholds and their one-byte neighbors.The base overcounted physical-only pressure by 90 in this synthetic sequence. Both trees matched the expected pressure flag, instantaneous headroom, low-water marks, and pressure/critical counts after every successful sample. After each of 648 injected failed reads, the pressure flag, sample count and physical-only count stayed unchanged. I found the old wording in historical findings but no other tracked literal consumer of that wording.
This verifies attribution without inducing real memory pressure. Claim in #2570. AI-assisted with OpenAI Codex (GPT-6).
Thanks for running the Windows replay through
refresh(). The matching pressure and critical-commit totals across 1,944 samples, together with the failed-read checks, extend the regression coverage to the refresh path. The head's physical-only count matches the expected 416, which supports the diagnostic attribution change. I appreciate the check for other consumers of the log wording.Thanks for pointing out the 1 GiB / 5.9 GiB case and the unchecked counter write. Commit
26da88e8reports physical-only, commit-only and mixed samples. The severe physical case is visible at entry and during retention. A new test exercises the same counter update asrefresh(), and redirecting the physical-only count to the mixed counter makes it fail. The PR description now covers sample cadence and the separate critical-commit cache.This pull request touches the render path, so it needs an in-game run before it can be merged: unit tests and CI do not catch rendering regressions (a device loss after an earlier merge is why this gate exists).
Could you, or anyone with a working setup, post a run report on the current head merged onto current
main:mainSHA it was merged onto;mainalone for comparison, if you can.Please do not attach logs or screenshots that show game content. If a run on this exact head is already posted, a link to it in a reply is enough.
AI-assisted (Claude Code).
@MoonEyes TAKEN | NetZlash | AI-assisted: OpenAI Codex (GPT-6.2 Sol)
I am preparing an isolated qualification of current head
26da88e8ea79b35c4618278ff52c8de1477ac102merged with upstream main5b1fff821cfa5a812de6a33b09f5938ba3406b52, alongside main alone. Planned: the same restored post-prologue save, Series X dynamic 1080–1440 rendering, 2560×1440 output, frame generation, DLSS and Smooth Motion disabled, and at least 300 seconds timed only after visually confirming the open world. Hardware: desktop RTX 4070 SUPER 12 GB, driver 621.40. Prediction: both arms complete the interval without a crash or device loss; this is a stability qualification, with one measured run per arm and no performance improvement claim. I will report numbers only, without game logs or screenshots.CORRECTION to my TAKEN comment: the disclosure “GPT-6.2 Sol” should read GPT-6.1 Sol (
gpt-6.1-sol), including the independent reviewer agents. I copied the model designation from the original contribution rather than checking this qualification session; the live session metadata confirmsgpt-6.1-sol. This corrects the disclosure only; no build or test needs repeating.@MoonEyes DONE — PROVISIONAL (n=1 controlled qualification run per arm).
Both sessions completed 300 seconds of measured open-world play after a separate 60-second settling period, with the world and native HUD visually confirmed before and after the measured window. The table counts these two controlled qualification sessions.
26da88e8ea79b35c4618278ff52c8de1477ac102.5b1fff821cfa5a812de6a33b09f5938ba3406b52.e9f20f91c6eed8e15a3301baec05ea161c07b134(PR head first parent, upstream snapshot second parent; clean merge, no additional source changes).Hardware (profile M): desktop NVIDIA GeForce RTX 4070 SUPER, 12 GB VRAM, driver 621.40; AMD Ryzen 7 9700X (8 cores / 16 threads); 32 GB DDR5-4800; Windows 11 Pro x64, build 26200. Existing TdrDelay: 8 seconds; Windows-managed page file. OS/driver settings were retained.
Recipe: the snapshot's
scripts/play-d3d12.ps1 -SeriesX -Lowest 1080 -NoDlss -NoFrameGen -NoSmoothMotion -Adapter '4070 SUPER' -Log. Series X dynamic 1080–1440 rendering, the title's own upscaler, 2560×1440 output, windowed. Both builds usediagwithdiagnostics,mimalloc. Additional settings:LEONIDA_LOG=info,leonida_gpu::frame=debug, isolated data and an empty explicit configuration, plus a per-runLEONIDA_KEYS_FILE. The measured scene was the same post-prologue idle boat, with no scripted movement inputs. Menus, loading and the introduction were excluded.The saved-data seeds and application-cache seeds were hash-identical between arms. The snapshot's used-pipeline precompile was enabled (3,838 of 88,600 recorded pipelines); the shared driver cache was kept. All 67 effective launcher settings matched after normalizing four isolated paths. No builds or test suites were run alongside either measured interval.
FPS comes from native rendered-present timestamps: 1000 / median complete frame interval; p5 rate is 1000 / p95 frame interval. A separate read-only reviewer independently recomputed the raw timestamps using integer arithmetic. These are rendered frames with frame generation disabled.
This is one observation per arm, sufficient to report these stability results; it does not establish a performance improvement or long-session reliability.
During the campaign, upstream advanced to
45dc41f95c1cd0dcc29c2c50582e0e9af8a77259(#3172). That merge changes launchers, precompile defaults, docs and tests, with no Rust runtime changes. Both measured arms remained pinned to the same snapshot above; the later full-precompile default is outside these results.AI-assisted: OpenAI Codex, GPT-6.1 Sol and GPT-6.2 Sol; independent read-only source/evidence review and separate raw-timestamp recomputation by a GPT-6.1 Sol agent. Only aggregate values are posted; game logs, captures and proprietary assets remain local.
Code review only, not built (Windows-only
leonida-gpu). The code is ready, but the gate is still open.26da88e8e, merge base1fff69129, 334 behind currentmain45dc41f95. A trial merge is clean.action_required).Review of
d3d12/crates/leonida-gpu/src/residency.rs:next_pressurenow returns which constraint is active (PhysicalOnly,CommitOnly,Both) using the same hysteresis thresholds that decide pressure: enter at 3 and 4 GiB, leave at 5 and 6 GiB. Before, the "physical" counter used a separatecommit > 4 GiBtest that disagreed with the active threshold while already under pressure: a 5 GiB commit counted as "physical alone".pressure = cause.is_some()is exactly the olda || bwith the same thresholds. The table test checks all four cases on both sides of each threshold.record_sampletakes the counter array as a parameter, sosuccessful_samples_update_the_reported_countersruns against a local array and does not touch the globalSAID. That avoids test interference.tools/.Verdict: ready on code. Behaviour is unchanged apart from the counters, so the in-game run should be a formality.
AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.
Generated by Claude Code
RUN (in game, batch of seventeen render-path pull requests), each head merged with
git merge --no-ffonto main3c106eb2f, in one build: #311115b579756, #29485284c6eae, #26981f188c4f7, #294644bf554fe, #3001d924cbb65, #28320c861595a, #291558e8535cf, #2822d359a2f85, #2896c9c6b103d, #29838278ef1b9, #3115ba5121192, #2945d2c08c14f, #297574512d658, #295126da88e8e, #2800b6ebcedd4, #28937c7e99b48, #3113fa1460b6b(and #30970d7a451ab, merged since). RTX 4060 8 GB, driver 610.88, Windows 11. Series S,-Resolution 1080, frame generation 2x, the same walking route as the other runs on this machine, 330 s after reaching the world.The drops under 5 fps line up with shaders being translated while walking (about 500 translations in the last 330 s): this batch changes the shader translation, so the shader cache built by earlier runs did not apply and the pipeline precompile alone took about 45 minutes. The batch-5 run on the same machine and route had no sample under 5 fps (median 16.4). I read this as cold-cache stutter, not as a regression of a single pull request, but this run cannot tell them apart.
Verdict: PASS for the in-game gate (300 s or more in the world, no device loss) for this batch, on the heads listed above. If one of these pull requests changes its head, this run no longer covers it.
Limits: one run; arrival in the world was driven by keys and not checked on pictures. A first attempt of this batch is not counted: the run script gave up waiting for the game window after 40 minutes of precompile.
AI-assisted (Claude Code).
VERIFY-2951 — 103 líneas en
residency.rs, y el cambio es de los que necesitan una tabla de umbralesEl título: «attribute residency pressure using active thresholds» — o sea, el doc-comment de
refreshcambia de «mira una vez por segundo los que están bajo presión y con commit por encima de donde empieza la presión» a «los que están bajo presión, su desglose». Eso es lo que el diff muestra en las dos primeras líneas que leí.Y ese cambio de frase es el cambio de comportamiento: antes la presión se atribuía a todo lo que pasaba del umbral; ahora se atribuye a lo que está activo y por encima del umbral. Es la diferencia entre «todo el que ocupa mucho» y «el que ocupa mucho y se está usando», y en un juego con memoria reservada pero quieta es la diferencia entre un aviso útil y uno constante.
Lo que verifiqué y lo que no, con el mismo límite de siempre: el crate compila y su suite pasa con el cambio (lo probé en el lote de
#2841/#2892, no en esta PR suelta); lo que no puedo verificar es la atribución de verdad — necesita el título bajo presión de memoria, que es un estado que se provoca con una escena concreta y una tarjeta concreta, y esta máquina tiene VRAM de sobra.La pregunta que le haría es la de siempre en este fichero: ¿los umbrales nuevos están en una tabla o repartidos por el código? Si están en una tabla, el cambio se puede medir en
gpu-test-results/; si están repartidos, el siguiente que toqueresidency.rslos va a descubrir uno a uno.Independent replay on
26da88e8paired with #3290 (898de93c). Both merge cleanly ontod9b618f10, and the tested Rust source tree matches that integration. I built the Windows MSVC diagnostics test binary and injected synthetic values at the OS memory-query boundary under Wine. The actualrefresh()ran for 98 successful samples across the entry and retention thresholds, including the exact boundaries and adjacent bytes. It recorded 72 pressured samples: 16 physical only, 30 commit only, 26 both. The admission flag, headroom, low-water marks and counters matched the expected values, including 14 critical samples. Each of the 98 interleaved failed reads preserved the previous snapshot.All four stock residency tests passed. A scratch control routing
CommitOnlyto the physical counter failed the replay immediately at the first commit-only sample. This exercises the real counter update with synthetic inputs. GitHub lists the three workflows for this head asaction_required. AI-assisted with OpenAI Codex.