You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3c674f1
Browse filesBrowse the repository at this point in the historyBrowse files
cache: redesign as a Bazel-style CAS and action cache
Replace the ad-hoc on-disk caches with a design modeled on Bazel's local
disk cache:
- A content-addressable store (cas/) holding blobs keyed by the BLAKE3
hash of their contents, written atomically and verified on read, with
corrupt entries evicted and repaired.
- An action cache (ac/) mapping the digest of a unit of cacheable work
and its inputs to the CAS digests of its outputs. Entries whose
outputs are missing from the CAS are treated as misses.
The query analysis cache becomes a QueryAnalysis action keyed by the
sqlc version, config, schema, and query, with the marshaled analysis
stored in the CAS. The WASM plugin cache becomes a FetchPlugin action
keyed by the URL and expected sha256, with the plugin binary stored in
the CAS; the declared sha256 is still re-verified on every cache hit.
wazero's compiled-code cache keeps its own directory (wazero/) since its
format is managed by the runtime.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MPgq3rwip76D554BktbqR4
0 commit comments