feat(#92): phase 3 — cache lookup in wire_fetch_mpack (FMC_09–FMC_14)
- Cache hit: query MusehubFetchMPackCache at top of wire_fetch_mpack for fresh-clone requests (want=[tip], have=[]); return presigned URL immediately without entering the DAG walk or blob-load path - Cache miss: after successful build+upload, write cache row (7-day TTL) so the next clone hits the cache; skip the cleanup future for cached mpacks (Phase 5 GC handles R2 deletion on expiry instead) - Tests: FMC_13 (hit returns early, no DAG walk), FMC_14 (miss writes row)
sha256:1c5b7a0aba79472f4b10e52326dc010bdab1a498c9e195593d0707860478a034
sha
+3
~2
symbols
2 changed · 972 in snapshot
files
sha256:0504637fae3d3e77dacee6ce21add120b2334e92d22bf66c3a5a97300c30d126
snapshot
+3
symbols added
~2
symbols modified
2
files changed
972
files in snapshot
0
dead code introduced
Semantic Changes
5 symbols
+
test_fmc_13_cache_hit_returns_presigned_url_without_blob_load
function
async_function test_fmc_13_cache_hit_returns_presigned_url_without_blob_load L201–231
+
test_fmc_14_cache_miss_builds_and_writes_cache_row
function
async_function test_fmc_14_cache_miss_builds_and_writes_cache_row L237–275
Files Changed
~2
972 in snapshot
~2
972 in snapshot
Older
feat(phase2): fetch.mpack.prebuild job handler + worker dispatch…
sha256:0e447fc3f6b7887d5d9e86b557c659ef7d0b05e2e09ddb0cb551ada240e48a51
All commits
Newer
feat(#92): phase 4 — enqueue fetch.mpack.prebuild on push (FMC_1…
sha256:d50f9cf9829dfbe35721a23b81ad256c729ddf9dd565a0a9e56d27847e255632
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:1c5b7a0aba79472f4b10e52326dc010bdab1a498c9e195593d0707860478a034 --body "your comment"
No comments yet. Be the first to start the discussion.