fix: wire_push_unpack writes commit graph rows for stream-pushed commits
The stream push path (wire_push_unpack) wrote commits and snapshots but never inserted rows into musehub_commit_graph. The fast path in _walk_commit_delta relies on commit graph entries to resolve snapshot_id for each commit. For stream-pushed commits, graph_map.get() returned ([], None) — snapshot_id=None — so snap_ids was empty, and wire_fetch_bundle returned a bundle with zero objects and zero snapshots. Clients then aborted with 'snapshot missing or corrupt'.
Add a commit graph write pass at the end of wire_push_unpack, mirroring the generation-computation logic already used in process_bundle_index_job.
sha256:64f4e31f6c475de02fd974b357a0eca358a37e8b3e520500545ab3e6a46c463e
sha
sha256:9ba75d9cd914078bc2d80c873da24ffef2468dd62eeb530efd9c89a1bdc1f560
snapshot
Older
fix(wire-unpack): load parent snapshot from DB and store full ma…
sha256:955cfa501e737d45d33655fe9902eab32d1251d27ad18346c1cd5b4e17d70c02
All commits
Newer
fix: wire_push_stream writes commit graph rows (closes sha256-of…
sha256:d6239d1aa830766fa809403d83f6ef2e6d031dcb3b47b883354e9ec6689e7c45
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:64f4e31f6c475de02fd974b357a0eca358a37e8b3e520500545ab3e6a46c463e --body "your comment"
No comments yet. Be the first to start the discussion.