gabriel / muse public
fix migrate dev
gabriel · 62 days ago · Apr 14, 2026 · Diff

fix(migrate): warn on empty cat.read() blob instead of silent drop

Add 7 integrity tests to TestMigrateIntegrity covering: - all manifest OIDs exist in the local object store - stored object SHA-256 matches its filename - every commit references an existing snapshot - binary files written correctly - object deduplication (unique versions only) - no empty (zero-byte) objects written - cat.read() empty blob emits WARNING, not silent drop

Fix the silent-drop bug: when git cat-file returns b'' for a non-null blob SHA, migrate now emits a logger.warning() naming the path and blob prefix instead of silently excluding the file from the manifest.

sha256:32f4b6cf21fa27eb4c14c1da29cec02865d9b15873a6dc1cf2b69bdfc2861b10 sha
sha256:a224706541a9059afae6b3ac25c68b937c78ce2b1329ab383f93663cce172110 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

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