gabriel / musehub public
fix patch dev #49 / 100
AI Agent gabriel · 24 days ago · May 16, 2026 · Diff

fix: inline mpack_index write so fetch/pull works immediately after push

Write MusehubMPackIndex rows for every object in the inline content_cache path (small mpacks ≤ threshold). Without this, wire_fetch_mpack step 3 raises 503 because objects pushed inline are never in the index table — the background job writes index rows but races against an immediate fetch.

Also inline snapshot, commit, commit_graph, and commit_ref rows so _walk_commit_delta finds new commits without waiting for the background job.

Bench-tested: all four xs verbs (push/clone/fetch/pull) pass on localhost.

sha256:0240b33d2dae1e2bbdf5699679a29e929179c7ed70bbd23d4d70af3b154354f7 sha
sha256:1ab8e7fd1ec5ee04203e886d4150e8d3f62da2f917e82513182c34b93c505ca2 snapshot

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:0240b33d2dae1e2bbdf5699679a29e929179c7ed70bbd23d4d70af3b154354f7 --body "your comment"