fix: preserve delta format in _coerce_snapshot_dict for fetch mpack
When the server sends snapshots in delta format (delta_add/delta_remove/ parent_snapshot_id) rather than full manifest, _coerce_snapshot_dict was stripping those fields and returning manifest={} (empty dict). Since isinstance({}, dict) is True, _apply_snapshot_deltas took the full-manifest branch and computed sha256(empty) → hash mismatch on every fetched snapshot.
Now detects delta format (manifest absent, delta_add present) and passes through delta_add, delta_remove, and parent_snapshot_id so reconstruction works correctly.
sha256:8c4367290dc5b575a13c4449a5b5ec8e2f69a29d29fc3688c1745910b80f7535
sha
sha256:57d5c2433174ecbac4073474a9a1744c87ea8a0420018570844fa481d03f8be0
snapshot
← Older
Oldest on task/fix-pull-delta-coerce
All commits
Newer →
Latest on task/fix-pull-delta-coerce
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:8c4367290dc5b575a13c4449a5b5ec8e2f69a29d29fc3688c1745910b80f7535 --body "your comment"
No comments yet. Be the first to start the discussion.