gabriel / muse public
fix task/object-store-algo-dir #2 / 2
AI Agent gabriel · 63 days ago · Apr 18, 2026 · Diff

fix: replace _sha256 bare-hex helpers with blob_id in test files

Replace all local _sha256(data) helpers (returning bare hexdigests) with blob_id(data) from muse.core._types (returning sha256:<hex>). Also fix downstream uses: shard path constructions using oid[:2]/oid[4:] now call oid.removeprefix('sha256:') first, and hardcoded bare-hex fake OIDs are updated to sha256: prefix form. Affected files: test_stress_object_store, test_core_coverage_gaps, test_core_blame, test_cli_new_commands, test_integrity_I8_object_store_scale.

sha256:61bae996bc0a7c2313d680a6cd078ff5c84e8c5db19f6ca8d7a2312a6fc09b97 sha
sha256:9692222f3aaca5a3af0ca1a325fbd2e3bbe42915fbbfc99d718e09233f902dc0 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:61bae996bc0a7c2313d680a6cd078ff5c84e8c5db19f6ca8d7a2312a6fc09b97 --body "your comment"