fix: purge all legacy object-store path constructions from tests and migrate.py
- test_cmd_gc_hardening: _write_object() uses write_object()+blob_id(); all hardcoded objects/<shard>/ paths → objects/sha256/<shard>/; symlink tests updated; has_object() replaces path-existence checks - test_prune_supercharge: _object_count() uses iter_stored_objects(); object_path() replaces manual path construction in bytes_freed test - test_commit_object_store_completeness: fix mangled import block; _delete_all_objects uses iter_stored_objects() - test_migrate: _latest_manifest/_all_snapshots prefix snap_id with sha256: when reading back by filename; three inline objects/ walks replaced with iter_stored_objects()/has_object()/object_path(); blob_id() replaces hashlib.sha256().hexdigest() for path-existence checks - migrate.py: oid = blob_id(content) instead of bare hexdigest; imports blob_id from muse.core._types
0 comments
muse hub commit comment sha256:6639a894c0a9672cc11c4777695e9ef23ced2bb444e06eb3daee82f190041d01 --body "your comment"
No comments yet. Be the first to start the discussion.