gabriel / muse public
fix patch task/unified-object-store #3 / 9
AI Agent gabriel · 21 days ago · May 21, 2026 · Diff

fix: update tests and impl for unified object store migration

- Update test helpers to use object_path instead of commit_path/snapshot_path - Fix _force_write_commit to write JSON+header to unified store (chmod read-only files before overwrite) - Fix _plant_commit_file to write stub directly to object_path bypassing hash verification - Fix blob_id test assertions to use sha256('blob <size>\0' + data) header format - Fix GC symlink warning: use skip_symlinks=False + manual check + logger.warning - Fix GC reachability: use canonical prefixed IDs (not bare hex) in reachable set - Fix snapshot_scale cache version assertion: 2 -> 3 - Fix mpack verify-pack: use fake_id() for missing snapshot IDs (not bare hex) - Fix write_snapshot: add assert_not_symlink guard on shard directory - Fix snapshot tests: use object_path/objects_dir/write_object; remove zstd-on-disk assumptions - Fix stdin+--write bare hex bug in hash-object: use read_object() to strip header - Fix fsync/mkstemp test assertions to match write_bytes (not atomic write) pattern - Fix bit-flip tests: use JSON-aware helpers to parse/repack unified object format - Fix commit.py: catch MissingParentError and retry with skip_parent_check=True

sha256:a61ac0eff73b2b1c688d3834a223075ebf069b20ac84b06d0f9833d7f88cb792 sha
sha256:a6dbf4775df67d5dc8c7954fe48aa6ccc4183931b261293cc2bb06d613da2da8 snapshot

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:a61ac0eff73b2b1c688d3834a223075ebf069b20ac84b06d0f9833d7f88cb792 --body "your comment"