fix: blobs only in S3/mpack — remove commit/snapshot individual S3 writes
Architecture correction: S3/MinIO is for blobs only. - Commits: DB canonical (musehub_commits), no individual S3 writes - Snapshots: DB canonical (musehub_snapshots + manifest_blob), no S3 writes - Blobs: mpack:// in MinIO, byte-range indexed via musehub_mpack_index
Removed from all commit write paths (proposals, repository, sync, wire_push): commit_to_bytes + backend.put() + storage_uri population
Removed from all snapshot write paths (snapshot, wire_push repair+bulk): snapshot_to_bytes + backend.put() + storage_uri population
Simplified _snap_row_to_wire_s3 and _commit_to_wire_s3 to serve from DB (S3 reads are slower than DB and the data is already there).
New tests in test_blob_only_object_store.py cover the correct architecture. Deleted phase1/4/5 tests that tested the now-incorrect S3 writes for commits/snapshots.
138 tests passing.
Semantic Changes
147 symbols
0 comments
muse hub commit comment sha256:f3995ec2c05c9c34b0e4d6e96349a811d0117a1c51d78096d757998ccb3c0520 --body "your comment"
No comments yet. Be the first to start the discussion.