fix
patch
task/fix-snapshot-heal-on-push
#1 / 1
fix: heal snapshot rows missing delta_blob on re-push
Snapshot rows created before delta storage was added have delta_blob=NULL and parent_snapshot_id=NULL. The dedup-skip meant they were never updated, so fetch always sent the full manifest from manifest_blob with parent=None. Combined with _coerce_snapshot_dict stripping delta fields on the client, pull produced hash-mismatched empty snapshots.
Server fix: when a snapshot exists but has delta_blob=NULL, use INSERT ON CONFLICT DO UPDATE to backfill delta_blob and parent_snapshot_id from the new push data. The WHERE clause ensures already-correct rows are never clobbered.
sha256:8f42679d0bc41404a3349e5bd0999f5aa75e60f23a4c1377ea97d18d35963712
sha
sha256:1536b79f74aceafe0b5ab5fc555be8399642101ce94c5208390d692e21504895
snapshot
← Older
Oldest on task/fix-snapshot-heal-on-push
All commits
Newer →
Latest on task/fix-snapshot-heal-on-push
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:8f42679d0bc41404a3349e5bd0999f5aa75e60f23a4c1377ea97d18d35963712 --body "your comment"
No comments yet. Be the first to start the discussion.