cache-diagnostics changedbuild-with-claude/cache-diagnostics
Nearest release: v2.1.317, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+3added
Lines−12removed
From line
324
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits20to this page, all time
The whole hunk
from line 324, old and new numbered
/
from line 324
324324 IO.println("Comparison still pending.");
325325 } else {
326326 var reason = r2.diagnostics().get().cacheMissReason().get();
327 // CacheMissReason doesn't expose a typed .type() accessor; read it from the raw JSON.
328 @SuppressWarnings("unchecked")
329 var json = (Map<String, JsonValue>) reason._json().orElseThrow().asObject().orElseThrow();
330 IO.println("cache_miss_reason: " + json.get("type").asStringOrThrow());
327 IO.println("cache_miss_reason: " + reason.type().asString());
331328 }
332329 ```
333330
from line 629
632629 IO.println("Comparison still pending.");
633630 } else {
634631 var reason = diagnostics.get().cacheMissReason().get();
635 // CacheMissReason doesn't expose a typed .type() accessor; read it from the raw JSON.
636 @SuppressWarnings("unchecked")
637 var json = (Map<String, JsonValue>) reason._json().orElseThrow().asObject().orElseThrow();
638 IO.println("cache_miss_reason: " + json.get("type").asStringOrThrow());
632 IO.println("cache_miss_reason: " + reason.type().asString());
639633 }
640634 ```
641635
from line 897
903897
904898 if (r.diagnostics().isPresent() && r.diagnostics().get().cacheMissReason().isPresent()) {
905899 var reason = r.diagnostics().get().cacheMissReason().get();
906 // CacheMissReason doesn't expose a typed .type() accessor; read it from the raw JSON.
907 @SuppressWarnings("unchecked")
908 var json = (Map<String, JsonValue>) reason._json().orElseThrow().asObject().orElseThrow();
909 IO.println("Turn " + (turn + 1) + " cache_miss_reason: " + json.get("type").asStringOrThrow());
900 IO.println("Turn " + (turn + 1) + " cache_miss_reason: " + reason.type().asString());
910901 }
911902
912903 messages.add(r.toParam());
No line in this hunk matches that.