D3D12.X: persist compute blobs when the RAM cache is full #2730
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2740"
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?
Imported from ivall/xcl. Originally posted by ZekkJJ on 2026-11-26T09:35:41Z.
A slow translated compute PSO can compile successfully after the 512 MiB compute blob RAM cache fills up. Preserve its driver blob for the disk cache even if it cannot be admitted to RAM. This extracts the standalone fix from the NVIDIA reference stack in #2706 and retains the original author of
ee0183fd.What is in it
crates/xcl/src/hle/d3d12x/real.rsgives the caller the driver blob for disk retention and independently checks the RAM budget. Regular translated compute and the two-pass compute path use the same policy.Tested
Exact head
9ecae592ea3a1ba2b41db0167e06da435b271791on NVIDIA GeForce RTX 4060 Laptop (616.56), Ryzen 7 8845HS, Windows 11 build 26200.9974, Rust 1.98.1 MSVC, DXC 1.8.2502.11.cargo test --offline --locked -p xcl --lib compute_blob_tests -- --nocapture --test-threads=1passed 3 with zero skips.cargo test --offline --locked -p xcl --test gpu_compute_e2e -- --nocapture --test-threads=1reported 7 passed and 1 runtime heap-window skip. The skipped case passed on this exact revision in a focused rerun withXCL_HEAP_WINDOWS=1.The exact-head debug workspace build and complete RTX 4060 Laptop run reported 1436 passed, 0 failed, and 47 ignored. There were 26 runtime skip markers (21 no native wave64, 3 refused wave32 per-lane operations, 1 no heap windows, and 1 Windows Developer Mode unavailable).
The first 60-second smoke pair recorded 388 frames on the head against 499 on main, below the frame threshold. Both completed with zero crashes and device removals. The isolated 120-second pair below repeats the comparison.
Regression run
Clean release builds on the same RTX 4060 Laptop GPU and retail workload. XCL used a separate title state and DXIL cache for each run.
Main
PR head
Not tested
AI use
Claude Code (Claude Fable 5.2) assisted the original commit. OpenAI Codex (
gpt-6.2-sol) adapted it to current main, added the duplicate accounting check, ran validation, and prepared this submission.Imported from ivall/xcl. Originally posted by Decodere on 2026-11-26T10:24:39Z.
Independent RTX 4060 (8 GB) / Windows 11 verification of PR #2740 at
9ecae592ea3a1ba2b41db0167e06da435b271791(exact parentorigin/mainb49be1836844fe0b0cdb3211dce3cb7fb4e21ac7). Measurements and targeted test results only; not a full source review.Setup
7956 MiBreported by D3D12), driver32.0.16.2114(NVIDIA621.14, WDDM 3.2)31.9 GiBusable), Windows 11 Home26200rustc 1.100.0 (0ef1bc386 2026-11-09), DXC1.9.2609.5, release builds, warm DXIL/pipeline caches, quiet machine (zero concurrent builds/tests during timed runs)title: 29640639viascripts/smoke.ps1 -Seconds 60(XCL_NETWORK=0 XCL_ACTIVITY=1, default flags, no input)Targeted RTX 4060 release unit tests (
9ecae592)cargo test --release -p xcl --lib a_blob_over_the_memory_budget_still_reaches_its_caller -- --nocapture: 1 passed, 0 failed, 0 ignored (0.00 s, exit0).cargo test --release -p xcl --lib hle::d3d12x::real::compute_blob_tests:: -- --test-threads=4: 3 passed, 0 failed, 0 ignored (0.00 s,0skipped, exit0).cargo test --release -p xcl --lib hle::d3d12x::real::driver_cache:: -- --test-threads=4: 4 passed, 0 failed, 0 ignored (0.00 s,0skipped, exit0).cargo test --release -p xcl --lib hle::d3d12x::real:: -- --test-threads=4: 61 passed, 0 failed, 0 ignored (0.85 s,0skipped, exit0).Observations
keep_compute_blobeven whenCOMPUTE_BLOBS_MAXis reached passesa_blob_over_the_memory_budget_still_reaches_its_caller, allcompute_blob_tests::anddriver_cache::cases, and the full 61-testhle::d3d12x::real::module in--releaseon this RTX 4060 host with0skips.exit: 0x0,1519frames shown,60 60 60steady-state presents per 2 s,0device removals,0crashes,13992 MBpeak commit vs parentb49be183's14018 MB/1518frames).Paired 60 s RTX 4060 smoke (
b49be183vs9ecae592)Parent
origin/main(b49be183):PR #2740 head (
9ecae592):Limits of coverage
9ecae592(only targetedcompute_blob_tests::,driver_cache::, andhle::d3d12x::real::release tests plus paired quiet 60 s smoke).COMPUTE_BLOBS_MAXduring live cold compute PSO compilation was not triggered in this run (that overflow-to-caller path is exercised bya_blob_over_the_memory_budget_still_reaches_its_caller).RTX 4060) on native Windows 11; no AMD, Intel, or Wine/Linux run on this host.AI use
Ran the targeted release unit tests and paired quiet 60 s smoke runs with assistance from Google Antigravity (Gemini 4 Neon); all test counts and smoke blocks were taken directly from
cargo testandscripts/smoke.ps1outputs.Imported from ivall/xcl. Originally posted by sage-sage on 2026-11-26T10:30:41Z.
Test report: passes on NVIDIA. Exact head
9ecae592(its base is currentmainb49be18, so head = merged).Tested
cargo test --workspace -- --test-threads=4: 1436 passed, 0 failed, 47 ignored;a_blob_over_the_memory_budget_still_reaches_its_callerpassesmainon this machine (wave64, debug layer, Developer Mode, heap windows)Not tested
Claude Code (Claude Opus 5.5) ran the tests and wrote this report.
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-26T10:51:39Z.
Independent synthetic D3D12 cache-boundary check of PR head
9ecae592against its parentb49be183on Windows 11 build 26300, RTX 3080 Ti (621.35), rustc 1.99.1 MSVC, and DXC 1.8.2502.11.I added the same uncommitted, test-only fixture to each checkout. It compiles an 86,012-byte synthetic compute DXIL program, sets the process-local compute-blob accounting to the 512 MiB limit without allocating 512 MiB, creates a real D3D12 PSO, and checks for a saved driver blob and a second PSO created from that disk blob. A 300 ms delay in the test's create callback crosses the disk-retention threshold; it is not a driver compile-time measurement.
cargo test --offline --locked -p xcl --lib full_compute_blob_budget_writes_and_reloads_driver_blob -- --nocapture --test-threads=1:driver blob written despite full RAM cache.reused=true.This exercises the real compute-PSO disk path at the simulated RAM boundary. It does not cover the two-pass path, a naturally full cache during a title run, or a change in frame rate. Synthetic shader only; no game files or diagnostics were used. AI use: Codex (GPT-6.2 Sol) wrote and ran the test fixture and drafted this report.
Imported from ivall/xcl. Originally posted by emirduran707 on 2026-11-26T10:58:44Z.
Independent AMD RDNA4 (native wave64) verification of exact PR head
9ecae592ea3a1ba2b41db0167e06da435b271791on Windows 11 Pro 26300 (AMD Radeon RX 9060 XT 16 GB, driver32.0.31044.16, Ryzen 5 5600, Rust 1.100.0 MSVC, DXC1.9.2602.17).Tested
cargo build --workspace(debug): passed (0errors).cargo test --workspace --no-fail-fast -- --test-threads=4:1434 passed, 2 failed, 47 ignored(8 SKIPPED: 6 per-lane DXIL forms refused by host adapter/driver, 1heap_window_out_of_memory_falls_back_to_the_switch_formno heap windows, 1pso_measurement_compiles_an_exact_synthetic_recordWindows Developer Mode off).hle::d3d12x::real::compute_blob_tests::a_blob_over_the_memory_budget_still_reaches_its_callerpassed.gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1andfuzz_validate_and_gpu_3) are pre-existing on unmodifiedmainon this RX 9060 XT / driver32.0.31044.16.cargo build --release -p xcl+ 60 s retail-title smoke test (scripts/smoke.ps1, offline):(Compare against
mainb49be183on this machine:1603 frames, 18576 MB peak, 0 device removals, 0 crashes.)Not tested
AI use
Imported from ivall/xcl. Originally posted by oni-swr on 2026-11-26T11:02:00Z.
Independent AMD RX 7800 XT / Windows 11 test report for PR #2740 at exact head
9ecae592ea3a1ba2b41db0167e06da435b271791(parentmainb49be1836844fe0b0cdb3211dce3cb7fb4e21ac7; the head had not moved when tested). Unit/integration tests only; no title was run.Tested
32.0.31035.1003), Windows 11 Pro build 10.0.26200, rustc 1.100.0 (0ef1bc386 2026-11-09), DXC 1.8.2502.11 (Windows SDK 10.0.26100), debug build, separate target dir.XCL_ADAPTER=7800,XCL_REQUIRE_GPU=1,-j 4on every cargo command.cargo test -j 4 -p xcl --lib compute_blob_tests -- --nocapture --test-threads=1: 3 passed, 0 failed, 0 ignored, 0 SKIPPED (includesa_blob_over_the_memory_budget_still_reaches_its_caller).cargo test -j 4 -p xcl --lib hle::d3d12x -- --test-threads=4: 255 passed, 0 failed, 2 ignored.cargo test -j 4 -p xcl --test gpu_compute_e2e -- --test-threads=1: 7 passed, 0 failed, 0 ignored; 1 SKIPPED (heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows).cargo test -j 4 -p xcl --lib -- --test-threads=4: 1309 passed, 1 failed, 27 ignored. The one failure isgpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1(seed 722: res[30] = 0x1, CPU 0x7fffffff), the known AMD failure tracked in #2115. It is in the DXIL fuzzer, which this PR does not touch, so I did not rerun it onb49be18. Every other test passed.Not tested
compute_blob_tests) was exercised.cargo test --workspacewas not run in full (only the commands listed above), and not in--release.mainwas not rerun for comparison; thefuzz_validate_and_gpu_1attribution to main rests on #2115.AI use: Claude Code (Claude Sonnet 5.5) ran the tests and wrote this report, coordinated by Claude Code (Claude Opus 5.5). All counts are from the runs described.
Imported from ivall/xcl. Originally posted by SzczepanGrela on 2026-11-26T13:20:25Z.
RX 9070 / Wine cache-boundary verification, including GPU output and reuse in a fresh process.
Tested
9ecae592ea3a1ba2b41db0167e06da435b271791against mainb49be1836844fe0b0cdb3211dce3cb7fb4e21ac7.8293130ebe370b1+(local asserts-disabled build), DXC/DXIL 1.9.2602.17, Rust 1.97.1, releasex86_64-pc-windows-gnu.#[cfg(test)]module appended to both revisions. All original source bytes were preserved and checked against their pinned inventories.cs_6_6,-Od) to identical 25,520-byte DXIL on both sides, then callsreal::compute_container. It sets only the process-local RAM accounting to 512 MiB with an empty map, without allocating 512 MiB. A 300 ms delay in the native-create callback crosses the existing 250 ms disk-retention threshold; this is not a driver-time measurement.XCL_NETWORK=0, private XCL caches and enabled privateVKD3D_SHADER_CACHE_PATHdirectories. Each repetition starts with empty XCL/native caches; the head's following fresh process retains that repetition's caches.The same focused Windows libtest was invoked through GE-Proton Wine with
--exact,--nocaptureand--test-threads=1, in three paired repetitions:Every invocation made exactly one successful native PSO-create call, with no explicit cold retry, and dispatched the resulting PSO. GPU readback matched the CPU reference in all nine processes. All nine retained zero RAM-cache entries and accounting of 536,870,912 bytes. Main failed only at
driver blob written despite full RAM accounting, after the successful GPU check. The head's relaunches returnedreused=true; their saved blob hashes remained unchanged. No claim about compilation inside the driver follows from these counters.Additional unchanged-code checks:
a_blob_is_found_only_for_the_same_program_root_signature_and_flags_and_is_forgotten: 1 passed on each revision.a_blob_over_the_memory_budget_still_reaches_its_caller: 1 passed.hle::d3d12x::real::driver_cache::tests::: 4 passed per revision at both--test-threads=1and4.An initial fixture-sizing probe was excluded: its 14,000-byte DXIL was below the unchanged 16 KiB retention gate. The results above use the corrected, identical 25,520-byte fixture.
Not tested
Two-pass compute, console-shader translation, a naturally full cache during a title run, native Windows, full workspace suite, retail/smoke workloads, performance or FPS.
AI use
OpenAI Codex (GPT-6; exact serving variant not exposed) reviewed the diff, wrote the local fixture, ran and independently checked the paired tests, and drafted this report. Publication authorized by the account owner.
Imported from ivall/xcl. Originally posted by throny on 2026-11-26T13:38:29Z.
Two contributors checked independently and found that #2574 solves the same problem (for #1833) in a different way: #1607, group D127. You may want to compare them with the other author and agree on one, or say in the PR why both are needed.
This is a hint from the community triage in #1607, not a maintainer decision.
AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table.
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-28T04:20:43Z.
Current-head check of #2740
7b6f3f62against itsmainparente429936c. RTX 3080 Ti / 621.35, Ryzen 7 9800X3D, Windows 11 build 26300, rustc 1.99.1 MSVC, DXC 1.8.2502.11.cargo test --offline --locked -j 4 -p xcl --lib compute_blob_tests -- --test-threads=1: 6 passed, 0 failed, 0 ignored.cargo test --offline --locked -j 4 -p xcl --test gpu_compute_e2e -- --test-threads=1: 7/0/0, with oneno heap windowsskip notice. The skipped case passed 1/0/0 in a focused rerun withXCL_HEAP_WINDOWS=1. The fullcargo test --offline --locked -j 4 --workspace --no-fail-fast -- --test-threads=4finished 2,125 passed, 12 failed, 48 ignored across 40 targets, with 25 explicitSKIPPEDnotices. Those failures span DXIL split/compute, heap windows, mesh cache, test-title e2e and two-pass cache. I did not run the same full suite on this commit's parent, so I cannot attribute them to this PR. No paired retail smoke was run.I found a repeat-key gap in the RAM-full return path. When a blob is saved to disk but not admitted to RAM,
finishrecords its key as persisted with no residentArc. The firstkeep_driver_blobcall returns its bytes. A second creation with that key getsreserve == falseandcache.get == None, so it returns no bytes to the newwarm_replay::acceptedcall. For mesh recipes sharing a compute pass, that can leave a later recipe without its required compute-file receipt. A test-only fixture on the unchanged head wrote the first blob to disk, then reproduced the missing second result: 0 passed, 1 failed, 0 ignored. This is a preparation-efficiency gap; I did not measure a title slowdown.Please distinguish a persisted disk-only key from an in-flight builder. For a warm-replay capture, the existing
acceptedcheck can validate the on-disk file against bytes read from the current successful PSO; avoid an extra blob read or disk I/O on ordinary runtime cache hits. A regression should cover two captures using one disk-only compute key and confirm both obtain complete mesh receipts, plus a concurrent in-flight writer. No source fix was committed here.Failing test-only fixture
The #2574 overlap hint concerned disk persistence. That behavior is already present in this PR's current parent; this head adds the return to warm-replay after RAM admission fails. The description still lists the previous
9ecae592test/smoke blocks, so it needs current-head results and a clean paired smoke before a merge assessment.AI use: Codex (GPT-6.2 Sol) inspected the parent and overlapping patch, ran the tests, and wrote the failing fixture and report.
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-28T05:12:01Z.
Follow-up to my current-head report on head
7b6f3f62. One correction: a normal sequential repeat can load the disk blob before creating the PSO. The missing receipt occurs when overlapping cold builders both miss that lookup, the first persists a blob without RAM admission, and the second finishes afterward. That second builder sees a persisted key with no resident blob.I tested a local candidate that distinguishes a completed disk-only key from an active writer. It reads the current successful PSO's blob for a warm-replay capture only; ordinary duplicate calls retain the existing no-read behavior.
warm_replay::acceptedstill verifies the returned bytes against the file and its before/after metadata. The candidate does not republish or charge the duplicate blob.The new focused regression failed on the unchanged head (0 passed, 1 failed, 0 ignored) and passed with the candidate (1/0/0). On the candidate,
cargo test --offline --locked -j 4 -p xcl --lib compute_blob_tests -- --test-threads=1passed 7/0/0;cargo test --offline --locked -j 4 -p xcl --lib driver_cache -- --test-threads=1passed 18/0/0. The regression also checks that an active writer and an ordinary repeat do not reread.git diff --checkpassed. No full-suite or paired smoke result is claimed for this uncommitted candidate.Candidate diff and regression
AI use: Codex (GPT-6.2 Sol) traced the cache states, wrote and ran the candidate and tests, and checked this report.
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-28T06:20:16Z.
One scope clarification for my candidate diff at #2740 head
7b6f3f62: its focused regression proves the second disk-only builder gets its blob bytes without charging RAM or rewriting the file. It does not prove that a complete two-pass mesh recipe is saved. The test'scapture_for_testdiscards the captured files.On this head, the mesh receipt index requires
tp-ms-andtp-cs-filenames, while the native builder usesgfx-…psoand an unprefixed compute filename. #3101 separately addresses that pre-existing name mismatch. An end-to-end test of a deferable mesh recipe therefore needs both changes; #2740 can test the returned-byte invariant independently.For that independent test, capture the second overlapping cold completion, pass its returned bytes to
warm_replay::accepted, then save and reopen an ordinarygfx-recipe. Assert that matching bytes can defer and a same-length differing blob cannot, using distinct recipe hashes. This exercises receipt emission rather than only the return value. I have not run that added test; this is a source-level follow-up.AI use: Codex (GPT-6.2 Sol) checked the current source and this note; Codex (GPT-6.2 Astra) independently traced the receipt and cache paths.
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-28T19:59:42Z.
A disk-only rejected blob can leave a cache key marked as persisted after its file is gone. This also reproduces on current
main765b2c5b, so it is a follow-up cache issue, not a regression introduced by #2740 head7b6f3f62.With a zero-byte RAM budget, a successful save leaves a persisted key without a resident blob. On rejection,
forget_ifcannot remove that key because there is no resident entry;note(false, loaded)removes the exact disk file. The successful cold retry then cannot reserve the key, so it does not publish its replacement. Currentmainalso deliberately creates disk-only entries during preparation. This is the reservation and invalidation path and the retry path.I changed the existing synthetic retry test to call
load→forget_if→note(false, loaded)instead of unconditionalforget. That test failed on both unchanged #2740 head and unchangedmain: 0 passed, 1 failed, 0 ignored on each; the final read returnedNoneinstead offresh.The candidate below is based on main
765b2c5b, not #2740's older head. It permits one eligible builder to repair a missing disk-only entry while retaining the ownership marker. The repair checks for an absent file and publishes the completed staging file without replacing a competing file. Its race regression installs a newer file after the absence check and confirms that the newer bytes survive. A long-path case and a failed-read-then-retry case also pass. On Windows 11 build 26300 with rustc 1.99.1 MSVC,cargo test --offline --locked -j 4 -p xcl --lib driver_cache::tests -- --test-threads=1reported 21 passed, 0 failed, 0 ignored, 0 skips;git diff --checkpassed. This is a local candidate, not a tested change on the PR head. Full workspace, GPU, and paired title smoke were not run on it.Candidate main-based diff and regressions
AI use: Codex (GPT-6.2 Sol) wrote and ran the local candidate and regressions; Codex (GPT-6.2 Astra) reviewed the reservation and publication races.
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-28T21:11:50Z.
Current-base update for #2740 head
7b6f3f62: its core RAM-full behavior is now onmainthrough9baaa6ffand the NVIDIA branch merge. Currentmainbeeb81bereturns the compiled blob to the caller even when RAM admission fails, writes an eligible blob to disk, and passescargo test --offline --locked -j 4 -p xcl --lib a_slow_blob_is_saved_after_the_memory_cache_fills -- --test-threads=1(1 passed, 0 failed, 0 ignored). This is a focused test, not a full-suite or title result.The PR currently conflicts with
main. I suggest comparing its remaining behavior with the merged implementation before rebasing; the RAM-full fix itself should not be added a second time. The overlapping cold-builder receipt and disk-only rejection/invalidation findings are distinct follow-ups, with local candidate diffs in those comments. Neither is resolved just by returning a blob from the first builder.AI use: Codex (GPT-6.2 Sol) compared the current code and ran the focused test.
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-28T21:22:15Z.
Follow-up to the current-main repair candidate: its
real.rspatch applies cleanly tomainatbeeb81be. I found one more publication race in that candidate. If a stale disk blob came from another process, this process has no persisted-key marker. After the exact stale file is removed, the retry takes the fresh branch; its replacing save can overwrite a newer file published by another writer during the capture.A synthetic
load stale → refuse and remove → publish newer during capture → save olderinterleaving failed against the earlier candidate: 0 passed, 1 failed; the file containedolder. The additional change below uses the candidate's atomic no-replace store for both fresh and repair publication. The same regression then passed. On this current-main candidate,cargo test --offline --locked -j 4 -p xcl --lib driver_cache::tests -- --test-threads=1passed 22/0/0, andcargo test --offline --locked -j 4 -p xcl --lib compute_blob_tests -- --test-threads=1passed 6/0/0.git diff --checkpassed. These are focused synthetic tests; I did not run the full workspace suite or paired retail smoke on the uncommitted candidate.If the fresh writer loses the file race, its compiled blob may still be used in memory.
warm_replay::acceptedcompares the returned bytes with the file before recording a reuse receipt, so it cannot record the losing blob as that file's contents. The earlier repair diff plus this supplement are the complete local candidate for this retry path.Supplemental diff and regression
AI use: Codex (GPT-6.2 Sol) wrote and ran the local regression and candidate; Codex (GPT-6.2 Astra) reviewed the cache invariant.
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-30T17:11:09Z.
Rechecked the existing disk-only retry candidate and no-replace publication supplement on current
main9dfbe3ea.Two test-only controls fail on unchanged
main. The disk-only retry regression fails because the stale persisted-key marker blocks the retry before it can publish; it does not show that main overwrites newer bytes. The empty-file regression fails becauseload()treats a zero-byte cache file as a miss but leaves that file in place.The refined candidate invalidates an empty cache entry through the exact open file handle, then keeps no-replace publication so a concurrent valid writer is preserved. On the candidate overlay:
driver_cache::testspassed 23/23, andcompute_blob_testspassed 6/6.Windows 11 build 26300, Rust 1.99.1 MSVC; CPU-only, no GPU exercised. This is a local candidate based on current
main, not a test of PR #2740's older conflicting head7b6f3f62. The full workspace and paired title smoke were not run.Additional empty-file recovery diff
AI use: Codex (GPT-6.2 Sol) revalidated the regressions and candidate; Codex (GPT-6.2 Astra) reviewed the file-handle and publication invariants.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:51:28Z.
Triage (#1607) – head
7b6f3f6This change is already on main.
real.rs:keep_driver_blobon main returns the captured blob and stores a slow build on disk even when the RAM cache cap refuses it (665f72f, "persist slow driver blobs past the RAM cap", adapted from #2574; the compute-only part first landed as9baaa6f). Thewarm_replay::acceptedcall sites intranslated_graphics_pso_onceandfinish_two_passalready usekept.or_else(|| graphics_blob/compute_blob(..)).#2574 (same problem, compute and graphics) is covered by the same commit. This branch also conflicts with main.
Recommendation: close (superseded by main commit
665f72f).AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Imported from ivall/xcl. Originally posted by throny on 2026-12-01T12:59:34Z.
Closing as superseded: this change is already on
main(665f72f). keep_driver_blob now returns Option<Arc<Vec>> (captured blob even when the RAM cap refuses it) and the graphics/mesh/compute callers use it for warm_replay::accepted (665f72f,9baaa6f); only difference: a duplicate same-key call returns None instead of cache.get(key)Two independent checks found this: Foniass's close list on #1607 and ours against current
main. If something here is still missing onmain, 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