gabriel / musehub public
chore BREAKING task/minio-replace-local-backend #2 / 5
AI Agent gabriel · 130 days ago · May 9, 2026 · Diff

chore: purge disk_path column and all LocalBackend-era scaffolding

- Drop disk_path column via Alembic migration 0051 - Remove disk_path from ORM model (musehub_models.py) - Remove disk_path from consolidated schema (0001) - Strip dead repo_root/owner/slug params from BlobBackend methods and get_backend() - Fix objects.py to serve bytes from blob store instead of disk - Fix musehub_sync.py to fetch from blob store instead of disk read - Fix musehub_wire.py to stop stripping 'local://' from storage URIs - Remove disk_path kwargs from 33 test files - Rewrite test_read_object_bytes_returns_none_on_missing_disk_path to test blob-store path - Update docs, deploy scripts, and config comments

sha256:d5686c2e116ffe7c97a0a9de9fb9aab9183e68f1caf88f710287c889da770ec7 sha
+10 ~70 −3 symbols
sha256:4e59c181792d653b9ff96abf481e6b58a5aee38d3c3c1b9ae8f2cf2167a46076 snapshot
+10
symbols added
~70
symbols modified
−3
symbols removed
0
dead code introduced
Semantic Changes 83 symbols
+ branch_labels variable variable branch_labels L17–17
+ depends_on variable variable depends_on L18–18
+ down_revision variable variable down_revision L16–16
+ downgrade function function downgrade L25–29
+ annotations import import annotations L10–10
+ op import import op L13–13
+ sa import import sa L12–12
+ revision variable variable revision L15–15
+ upgrade function function upgrade L21–22
~ musehub/db/musehub_models.py .py 1 symbol modified
~ musehub/storage/backends.py .py 2 symbols removed, 6 symbols modified
Path import import Path L16–16
io import import io L13–13
~ exists
~ get
~ put
~ tests/test_gc_object_refs.py .py 1 symbol modified
~ tests/test_identity_belt_and_suspenders.py .py 1 symbol added, 1 symbol removed, 7 symbols modified
test_read_object_bytes_returns_none_on_missing_disk_path method async_method test_read_object_bytes_returns_none_on_missing_disk_path L573–587
+ test_read_object_bytes_returns_none_when_blob_store_missing method async_method test_read_object_bytes_returns_none_when_blob_store_missing L570–586
~ tests/test_mcp_read_tools.py .py 1 symbol modified
~ tests/test_social_api.py .py 1 symbol modified
~ tests/test_wire_compression.py .py 1 symbol modified

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