gabriel / musehub public
fix minor fix/object-integrity-storage-is-truth #1 / 1
gabriel · 71 days ago · Apr 11, 2026 · Diff

fix: storage is source of truth for object existence checks

wire_filter_objects: two-phase check — DB for candidates, then parallel backend.exists() to confirm bytes actually exist in storage. wire_push_objects: storage-based dedup instead of DB-based dedup.

A DB record saying an object exists is not proof it exists. Only the storage backend knows for certain. This matches git's model: the object store IS the truth, not a metadata table.

After deploy, a muse push from local will correctly detect all objects missing from staging storage and re-upload them.

sha256:4f4456f0b9645143fe9d9096958f9b479e4453f583bad56f626c2637beba851d sha
sha256:e2a8fa66c68e9f8fea53c017d730bcb49a5afda929fefe1ef5c832a6abbc0239 snapshot
← Older Oldest on fix/object-integrity-storage-is-truth
All commits
Newer → Latest on fix/object-integrity-storage-is-truth

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:4f4456f0b9645143fe9d9096958f9b479e4453f583bad56f626c2637beba851d --body "your comment"