fix: restore typed-object ID formula for commits and snapshots; use unified object store
compute_commit_id and compute_snapshot_id were using blob_id(canonical) = sha256(canonical), but all stored objects use the typed-object formula sha256('<type> <size>\0' + canonical). This caused _verify_commit_id and _verify_snapshot_id to always fail after migration.
- compute_commit_id: sha256('commit <size>\0' + canonical_identity_bytes) - compute_snapshot_id: sha256('snapshot <size>\0' + canonical_identity_bytes) - commit_path / snapshot_path: delegate to object_path (unified store) - write_commit / write_snapshot: write '<type> <size>\0<json>' to object store - read_commit / read_snapshot / read_snapshot_result: parse header+json format
sha256:90c649ace756253d7e82371ca9e2fd3143c7a85d33f47f9a4d5f0331ae4834ca
sha
sha256:79e1e062816b8e7783a6832155691554ed26ddd09998c426d7b68b2917d714d1
snapshot
Older
fix: compute_commit_id uses typed-object formula; read/write_com…
sha256:d119073ae61083669169e67b2ae6b7a10afb18a68d64f68e825d4d78bd03b3ae
All commits
Newer →
Latest on task/fix-commit-id-formula
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:90c649ace756253d7e82371ca9e2fd3143c7a85d33f47f9a4d5f0331ae4834ca --body "your comment"
No comments yet. Be the first to start the discussion.