gabriel / musehub public
fix BREAKING task/fix-storage-corruption-repair #1 / 1
gabriel · 165 days ago · Apr 13, 2026 · Diff

fix: repair corrupted LocalBackend objects on put() — overwrite when bytes differ

sha256:db663f9cdf940aaf17e232cbf5aa15d9d36bfb5eafc6c11d6119e5cda622f6da sha
+3 ~4 −2 symbols
sha256:fdbfdd6dafcc01be872efd1247d243a6df0581712346a57d5681f27e711b68f0 snapshot
+3
symbols added
~4
symbols modified
−2
symbols removed
0
dead code introduced
Semantic Changes 9 symbols
+ deploy
+ docs
+ src
+ src/ts
+ tests
+ tools
~ musehub/storage/backends.py .py 2 symbols modified
~ tests/test_storage_backends.py .py 3 symbols added, 2 symbols removed, 2 symbols modified
− test_second_put_same_key_does_not_corrupt method async_method test_second_put_same_key_does_not_corrupt L458–463
− test_put_idempotent_no_overwrite method async_method test_put_idempotent_no_overwrite L216–221
+ test_put_is_idempotent_for_identical_bytes method async_method test_put_is_idempotent_for_identical_bytes L459–465
+ test_put_repairs_corrupted_file method async_method test_put_repairs_corrupted_file L467–497
+ test_put_idempotent_same_bytes method async_method test_put_idempotent_same_bytes L216–222
← Older Oldest on task/fix-storage-corruption-repair
All commits
Newer → Latest on task/fix-storage-corruption-repair

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