Tests: free an imported heap's memory once its held Release has gone #904

Closed
NathanTheophile wants to merge 1 commit from upstream-pr/910 into main
NathanTheophile commented 2026-11-24 08:05:00 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by NathanTheophile on 2026-11-24T08:05:00Z.


hle::d3d12x::real::readback_routing_tests::coherent_buffer_sanitizes_console_flags_and_state fails now and then in the whole suite at its last line (VirtualFree of the 64 KiB under its imported heap returns 0) and passes alone. It shows up in the test reports of #682, #607 and #708, in a comment on #718, and in #866's own description, whose held Release was meant to fix it. It still happened on main a1672ef, which has #866.

Cause: D3D12 has one device per adapter, and other tests in the lib adopt it (bind.rs, title_textures.rs, vram.rs). The test's placed resource is then XCL's, and its last Release goes through late_release (#866): it is held until every queue XCL knows of is past its work. Release itself waits 300 µs for that. With other tests' work in flight the resource goes a few ms later, from late_release's thread, and until then the imported heap pins the pages: VirtualFree fails with ERROR_INVALID_PARAMETER (87). Measured with a probe: on the adopted device, with a known queue waiting on an unsignalled fence, VirtualFree right after the drops returned 0 (error 87). Once the fence was signalled it succeeded 5.3 ms later. Without the blocked queue it succeeded at once.

Test-only: the diff is inside real.rs's #[cfg(test)] mod readback_routing_tests, so I'd ask for the test-only label. The runtime is unchanged, including late_release's 300 µs wait.

What is in it

  • crates/xcl/src/hle/d3d12x/real.rs (tests only): free_imported retries VirtualFree until the held release has gone (at most 10 s), and the coherent test frees its memory with it.
  • New test imported_heap_memory_frees_after_a_held_release. It sets up the case on purpose: the device adopted, a queue registered as known (present::note_execute) and waiting on a fence. It then asserts that the release is held (VirtualFree fails), lets the queue go, and asserts that free_imported frees the memory. With free_imported cut to a single attempt (the old cleanup), it failed 5 runs out of 5; as written, it passed 5 out of 5. The blocked queue is let go as soon as the hold is seen (and on unwind), so other tests' held releases wait less than a millisecond for it.

Tested

  • NVIDIA GeForce RTX 4060 Laptop GPU (driver 32.0.16.1687), i7-13650HX, 32 GB; Windows 11 25H2 (26200); Rust 1.100.0 MSVC; DXC 1.8.2502.11; debug; XCL_ADAPTER=nvidia
  • cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4:
    • main a1672ef: 711 passed, 4 failed, 41 ignored. The 4: this test, plus the #718 trio (placed_title_textures_share_vram_and_preserve_pixels and the two PoisonError follow-ups).
    • this branch (145b449): 713 passed, 3 failed, 41 ignored. The 3: the #718 trio, as on main; the coherent test and the new one pass.
  • SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware
  • On main, the coherent test failed in 1 of 7 runs here (1 full workspace run, 6 lib-only runs). The new test reproduces the case every time instead.

Not tested

  • No retail title and no smoke.ps1 run: test-only change (hence the label request).
  • AMD / Intel GPUs, Wine.

AI use

  • Claude Code (Claude Opus 5.5): found the cause, wrote the probe, the fix, the test and this description, and ran the tests on this machine.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5468394656 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/910). Originally posted by [NathanTheophile](https://github.com/NathanTheophile) on 2026-11-24T08:05:00Z. --- `hle::d3d12x::real::readback_routing_tests::coherent_buffer_sanitizes_console_flags_and_state` fails now and then in the whole suite at its last line (`VirtualFree` of the 64 KiB under its imported heap returns 0) and passes alone. It shows up in the test reports of #682, #607 and #708, in a comment on #718, and in #866's own description, whose held `Release` was meant to fix it. It still happened on `main` `a1672ef`, which has #866. **Cause:** D3D12 has one device per adapter, and other tests in the lib adopt it (`bind.rs`, `title_textures.rs`, `vram.rs`). The test's placed resource is then XCL's, and its last `Release` goes through `late_release` (#866): it is held until every queue XCL knows of is past its work. `Release` itself waits 300 µs for that. With other tests' work in flight the resource goes a few ms later, from `late_release`'s thread, and until then the imported heap pins the pages: `VirtualFree` fails with `ERROR_INVALID_PARAMETER` (87). Measured with a probe: on the adopted device, with a known queue waiting on an unsignalled fence, `VirtualFree` right after the drops returned 0 (error 87). Once the fence was signalled it succeeded 5.3 ms later. Without the blocked queue it succeeded at once. Test-only: the diff is inside `real.rs`'s `#[cfg(test)] mod readback_routing_tests`, so I'd ask for the `test-only` label. The runtime is unchanged, including `late_release`'s 300 µs wait. **What is in it** - `crates/xcl/src/hle/d3d12x/real.rs` (tests only): `free_imported` retries `VirtualFree` until the held release has gone (at most 10 s), and the coherent test frees its memory with it. - New test `imported_heap_memory_frees_after_a_held_release`. It sets up the case on purpose: the device adopted, a queue registered as known (`present::note_execute`) and waiting on a fence. It then asserts that the release is held (`VirtualFree` fails), lets the queue go, and asserts that `free_imported` frees the memory. With `free_imported` cut to a single attempt (the old cleanup), it failed 5 runs out of 5; as written, it passed 5 out of 5. The blocked queue is let go as soon as the hold is seen (and on unwind), so other tests' held releases wait less than a millisecond for it. **Tested** - NVIDIA GeForce RTX 4060 Laptop GPU (driver 32.0.16.1687), i7-13650HX, 32 GB; Windows 11 25H2 (26200); Rust 1.100.0 MSVC; DXC 1.8.2502.11; debug; `XCL_ADAPTER=nvidia` - `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4`: - `main` `a1672ef`: 711 passed, 4 failed, 41 ignored. The 4: this test, plus the #718 trio (`placed_title_textures_share_vram_and_preserve_pixels` and the two `PoisonError` follow-ups). - this branch (`145b449`): 713 passed, 3 failed, 41 ignored. The 3: the #718 trio, as on `main`; the coherent test and the new one pass. - SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` - On `main`, the coherent test failed in 1 of 7 runs here (1 full workspace run, 6 lib-only runs). The new test reproduces the case every time instead. **Not tested** - No retail title and no `smoke.ps1` run: test-only change (hence the label request). - AMD / Intel GPUs, Wine. **AI use** - Claude Code (Claude Opus 5.5): found the cause, wrote the probe, the fix, the test and this description, and ran the tests on this machine. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Diskuss commented 2026-11-24 09:07:08 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Diskuss on 2026-11-24T08:41:49Z.


Tested on AMD Radeon RX 9070 XT (RDNA4) at 145b449b7e6982e9a3b49461ae41c8b0f05e3f1f

Ryzen 7 5700X3D, 32 GB RAM, Windows 11 Pro build 26300.9974, driver 32.0.32015.7029, Rust 1.100.0 msvc, DXC 1.9.2602.17, debug build.

Note: this has been tested only on NVIDIA so far; this is its first AMD run.

Tested (PR head 145b449 merged locally with main 1ec4c98; the branch is 2 commits behind main):

  • cargo build --workspace: OK
  • cargo test --workspace --no-fail-fast -- --test-threads=4: 716 passed, 0 failed, 41 ignored
  • Named tests, each run alone 5 times (cargo test -p xcl --lib <filter> -- --test-threads=1, 1 passed each run):
    • imported_heap_memory_frees_after_a_held_release: 5/5 passed
    • coherent_buffer_sanitizes_console_flags_and_state: 5/5 passed
  • SKIPPED lines: 0. Device removal (DXGI_ERROR_DEVICE_REMOVED): none.
  • Main at 1ec4c98 gave 715 / 0 / 41; this run has 1 more passed, 0 failed, same ignored.

Not tested: retail title / scripts/smoke.ps1 (no game files), release build.

Report written by Claude Code (Claude Sonnet 5.5) from a real run on this machine.

Correction (hidden skips): "0 SKIPPED" above means no SKIPPED line appeared in the normal run. A later -- --nocapture run on this machine shows that two tests skip silently, because the D3D12 debug layer is not installed (no Graphics Tools / d3d12SDKLayers.dll). libtest captures their output, so they show as ok: e2e::test_title_draws_with_a_root_signature_under_the_debug_layer and texture_states::uploads_start_from_each_subresources_state. Neither is related to this change, and all other GPU tests ran on the RX 9070 XT.

<!-- greyfinch-sync:ivall/xcl:comment:7126450027 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/910#issuecomment-7126450027). Originally posted by [Diskuss](https://github.com/Diskuss) on 2026-11-24T08:41:49Z. --- **Tested on AMD Radeon RX 9070 XT (RDNA4) at `145b449b7e6982e9a3b49461ae41c8b0f05e3f1f`** Ryzen 7 5700X3D, 32 GB RAM, Windows 11 Pro build 26300.9974, driver 32.0.32015.7029, Rust 1.100.0 msvc, DXC 1.9.2602.17, debug build. Note: this has been tested only on NVIDIA so far; this is its first AMD run. **Tested** (PR head 145b449 merged locally with main 1ec4c98; the branch is 2 commits behind main): - `cargo build --workspace`: OK - `cargo test --workspace --no-fail-fast -- --test-threads=4`: 716 passed, 0 failed, 41 ignored - Named tests, each run alone 5 times (`cargo test -p xcl --lib <filter> -- --test-threads=1`, 1 passed each run): - `imported_heap_memory_frees_after_a_held_release`: 5/5 passed - `coherent_buffer_sanitizes_console_flags_and_state`: 5/5 passed - SKIPPED lines: 0. Device removal (DXGI_ERROR_DEVICE_REMOVED): none. - Main at 1ec4c98 gave 715 / 0 / 41; this run has 1 more passed, 0 failed, same ignored. **Not tested**: retail title / `scripts/smoke.ps1` (no game files), release build. Report written by Claude Code (Claude Sonnet 5.5) from a real run on this machine. **Correction (hidden skips):** "0 SKIPPED" above means no `SKIPPED` line appeared in the normal run. A later `-- --nocapture` run on this machine shows that two tests skip silently, because the D3D12 debug layer is not installed (no Graphics Tools / `d3d12SDKLayers.dll`). libtest captures their output, so they show as `ok`: `e2e::test_title_draws_with_a_root_signature_under_the_debug_layer` and `texture_states::uploads_start_from_each_subresources_state`. Neither is related to this change, and all other GPU tests ran on the RX 9070 XT.
SlopTart commented 2026-11-24 10:04:47 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-24T09:34:42Z.


Linux / AMD RDNA3: this PR's own new test fails deterministically here.

Merged state: head 145b449 onto main 09940bb, clean merge.

Full suite: 706 passed, 11 failed, 41 ignored; 7 are the known Wine-lane set and 3 are this rig's title-textures flake family (see #718), but one failure is new and is this PR's test:

  • hle::d3d12x::real::readback_routing_tests::imported_heap_memory_frees_after_a_held_release - fails 2/2 in isolation (single-test runs), panic at crates/xcl/src/hle/d3d12x/real.rs:5542. Deterministic, not an ordering artifact.
  • Everything else the PR touches is green: the other readback_routing_tests pass, and the two gpu_div_f64-era regressions stay fixed.

On the NVIDIA rigs (#913 thread context) this test passes, so this looks like a Wine/vkd3d imported-heap path difference on the Close fence side of that assert - or a real hole in the held-release assumption under a translated fence.

Full log on request.

Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.

Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross x86_64-pc-windows-gnu, XCL_NETWORK=0, release profile, --test-threads=4. My Linux rows: #42 / #718.

AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7127605885 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/910#issuecomment-7127605885). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-24T09:34:42Z. --- Linux / AMD RDNA3: this PR's own new test fails deterministically here. **Merged state:** head `145b449` onto main `09940bb`, clean merge. **Full suite:** 706 passed, 11 failed, 41 ignored; 7 are the known Wine-lane set and 3 are this rig's title-textures flake family (see #718), but one failure is new and is this PR's test: - `hle::d3d12x::real::readback_routing_tests::imported_heap_memory_frees_after_a_held_release` - **fails 2/2 in isolation** (single-test runs), panic at `crates/xcl/src/hle/d3d12x/real.rs:5542`. Deterministic, not an ordering artifact. - Everything else the PR touches is green: the other `readback_routing_tests` pass, and the two `gpu_div_f64`-era regressions stay fixed. On the NVIDIA rigs (#913 thread context) this test passes, so this looks like a Wine/vkd3d imported-heap path difference on the `Close fence` side of that assert - or a real hole in the held-release assumption under a translated fence. Full log on request. **Not tested:** retail titles (none here), Windows, RDNA4. Counts only, no game data. **Machine:** RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross `x86_64-pc-windows-gnu`, `XCL_NETWORK=0`, release profile, `--test-threads=4`. My Linux rows: #42 / #718. AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
eizispark commented 2026-11-24 11:05:41 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by eizispark on 2026-11-24T10:12:50Z.


Hardware check of 145b449b7e6982e9a3b49461ae41c8b0f05e3f1f (verified clean merge with main 9aec53d): pass.

Tested

  • Hardware: AMD Radeon RX 9070 XT (RDNA4, driver 32.0.32015.16001), AMD Ryzen 7 9800X3D, 32 GB RAM, Windows 11, rustc 1.100.0 (0ef1bc386 2026-11-09), release + test profile
  • cargo test --workspace -- --test-threads=4: 716 passed, 0 failed, 41 ignored (GPU tests skipped on this adapter: none)
  • hle::d3d12x::real::readback_routing_tests::imported_heap_memory_frees_after_a_held_release and hle::d3d12x::real::readback_routing_tests::coherent_buffer_sanitizes_console_flags_and_state: passed (5 passed, 0 failed across readback_routing_tests)

Regression run
main (6bac4b4):

xcl-smoke v1
commit: 6bac4b4419886acc940d479dcf8815d0b1804435
gpu: AMD Radeon RX 9070 XT
title: GTA6.Xbox.v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 1669 (PresentX 1669)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14860 MB

PR (145b449):

xcl-smoke v1
commit: 145b449b7e6982e9a3b49461ae41c8b0f05e3f1f
gpu: AMD Radeon RX 9070 XT
title: GTA6.Xbox.v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 1674 (PresentX 1674)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14858 MB

Not tested

  • wave32-only GPUs (NVIDIA / Intel); Wine / vkd3d-proton; gameplay past the menus

AI use

  • Antigravity (Gemini 4 Carbon) ran the build, test suite, and scripts/smoke.ps1 harness on this machine and formatted this report.
<!-- greyfinch-sync:ivall/xcl:comment:7128470412 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/910#issuecomment-7128470412). Originally posted by [eizispark](https://github.com/eizispark) on 2026-11-24T10:12:50Z. --- Hardware check of `145b449b7e6982e9a3b49461ae41c8b0f05e3f1f` (verified clean merge with `main` `9aec53d`): **pass**. **Tested** - Hardware: AMD Radeon RX 9070 XT (RDNA4, driver 32.0.32015.16001), AMD Ryzen 7 9800X3D, 32 GB RAM, Windows 11, `rustc 1.100.0 (0ef1bc386 2026-11-09)`, release + test profile - `cargo test --workspace -- --test-threads=4`: `716 passed, 0 failed, 41 ignored` (GPU tests skipped on this adapter: `none`) - `hle::d3d12x::real::readback_routing_tests::imported_heap_memory_frees_after_a_held_release` and `hle::d3d12x::real::readback_routing_tests::coherent_buffer_sanitizes_console_flags_and_state`: passed (`5 passed, 0 failed` across `readback_routing_tests`) **Regression run** `main` (`6bac4b4`): ``` xcl-smoke v1 commit: 6bac4b4419886acc940d479dcf8815d0b1804435 gpu: AMD Radeon RX 9070 XT title: GTA6.Xbox.v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1669 (PresentX 1669) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14860 MB ``` PR (`145b449`): ``` xcl-smoke v1 commit: 145b449b7e6982e9a3b49461ae41c8b0f05e3f1f gpu: AMD Radeon RX 9070 XT title: GTA6.Xbox.v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1674 (PresentX 1674) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14858 MB ``` **Not tested** - wave32-only GPUs (NVIDIA / Intel); Wine / vkd3d-proton; gameplay past the menus **AI use** - Antigravity (Gemini 4 Carbon) ran the build, test suite, and `scripts/smoke.ps1` harness on this machine and formatted this report.
DavidM1911 commented 2026-11-25 10:10:31 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T09:31:06Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7158438042 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/910#issuecomment-7158438042). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T09:31:06Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
ivall commented 2026-11-25 20:08:39 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-25T19:32:36Z.


#1590 is merged and retries the VirtualFree of coherent_buffer_sanitizes_console_flags_and_state, which is the failure this PR is about. What is left here is the regression test imported_heap_memory_frees_after_a_held_release. It is welcome on its own, rebased, if it skips or passes under Wine, where SlopTart saw it fail 2 of 2 times alone.

AI use: Claude Code (Claude Opus 5.5) wrote this on the maintainer's behalf.

<!-- greyfinch-sync:ivall/xcl:comment:7172441933 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/910#issuecomment-7172441933). Originally posted by [ivall](https://github.com/ivall) on 2026-11-25T19:32:36Z. --- #1590 is merged and retries the `VirtualFree` of `coherent_buffer_sanitizes_console_flags_and_state`, which is the failure this PR is about. What is left here is the regression test `imported_heap_memory_frees_after_a_held_release`. It is welcome on its own, rebased, if it skips or passes under Wine, where SlopTart saw it fail 2 of 2 times alone. AI use: Claude Code (Claude Opus 5.5) wrote this on the maintainer's behalf.
github-actions[bot] commented 2026-11-30 08:39:28 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:39:28Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7273180128 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/910#issuecomment-7273180128). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-30T08:39:28Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 04:29:00 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:29:00Z.


Triage (#1607) – head 145b449

Main already has this fix. Commit 5a7307ed (#1590, "Tests: wait for the late release before freeing the coherent buffer test's heap") makes coherent_buffer_sanitizes_console_flags_and_state in real.rs retry VirtualFree for up to 10 s while the held Release pins the imported heap, which is what free_imported does here. The only part not on main is the extra test imported_heap_memory_frees_after_a_held_release, which checks the same retry.
Recommendation: close (superseded by #1590).

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7300779414 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/910#issuecomment-7300779414). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T04:29:00Z. --- **Triage (#1607)** – head 145b449 Main already has this fix. Commit 5a7307ed (#1590, "Tests: wait for the late release before freeing the coherent buffer test's heap") makes `coherent_buffer_sanitizes_console_flags_and_state` in real.rs retry `VirtualFree` for up to 10 s while the held `Release` pins the imported heap, which is what `free_imported` does here. The only part not on main is the extra test `imported_heap_memory_frees_after_a_held_release`, which checks the same retry. Recommendation: close (superseded by #1590). AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
throny commented 2026-12-01 12:41:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-12-01T12:41:29Z.


Closing as superseded: this change is already on main (5a7307ed). main coherent_buffer_sanitizes_console_flags_and_state retries VirtualFree up to 10 s; PR is test-only (plus an extra test)

Two independent checks found this: Foniass's close list on #1607 and ours against current main. If something here is still missing on main, say so and reopen it, or ask and I will.

AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents.

<!-- greyfinch-sync:ivall/xcl:comment:7311506577 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/910#issuecomment-7311506577). Originally posted by [throny](https://github.com/throny) on 2026-12-01T12:41:29Z. --- Closing as superseded: this change is already on `main` (5a7307ed). main coherent_buffer_sanitizes_console_flags_and_state retries VirtualFree up to 10 s; PR is test-only (plus an extra test) Two independent checks found this: Foniass's close list on #1607 and ours against current `main`. If something here is still missing on `main`, say so and reopen it, or ask and I will. AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents.

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
xcl-dev/xcl!904
No description provided.