feat
BREAKING
wire
task/delta-snapshot-wire
#1 / 1
feat(wire): delta snapshot format + manifest_blob nullable + bundle hash proof
Content-addressing is a proof, not a label.
- Make MusehubSnapshot.manifest_blob nullable (migration 0053) snapshot_id = sha256(manifest) — the ID is the proof; no need to store the manifest - wire_push_unpack_bundle: verify sha256(wire_bytes) == bundle_key once, then reconstruct manifests from delta chain without per-snapshot re-hashing - Store manifest_blob=None during bundle push — bundle in MinIO is source of truth - Same delta reconstruction applied to wire_push_unpack (streaming push path) - Add test_wire_step4c_scale.py: 1000 commits × 1000 snapshots × 5000 objects < 10s
Result: unpack-bundle for 1000 commits × 5000 objects: 1337ms (was 9694ms, 7× faster)
sha256:a338df95efa8c1b082e4a6a3cc61c67d35c03d6f0e869646bab8f1466853292d
sha
sha256:dbe0aa173360d40863fc36faac5e521dd921f9390bc77b2386818fd91b25995f
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:a338df95efa8c1b082e4a6a3cc61c67d35c03d6f0e869646bab8f1466853292d --body "your comment"
No comments yet. Be the first to start the discussion.