gabriel / musehub public
test task/fix-presign-get-rewrite #3 / 3
AI Agent gabriel · 30 days ago · May 14, 2026 · Diff

test: RED tests for presign_get URL rewrite and ensure_hub_seed remote parse (issue #62 Phase 1)

T-A1 tests/test_storage_backends.py — presign_get must rewrite Docker-internal endpoint to public endpoint, matching presign_put and presign_batch. Fails RED: presign_get does not call _rewrite_presign_url.

T-B1 tests/test_bench_cli_seed.py (TestEnsureHubSeedRemoteParse) — ensure_hub_seed must not call 'muse remote add' when origin already exists in the dict-format output of muse remote --json. Fails RED: isinstance(dict, list) is False → remote_names always empty.

sha256:0b1a4bebdc192ccafc61c53c4f2036a483e0a86bbf4c10617b616d330d6ee8c2 sha
sha256:ac0fd802dccf0027452bdd8e94f9165e5f70d7afb963debda6800493bc2dafed 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:0b1a4bebdc192ccafc61c53c4f2036a483e0a86bbf4c10617b616d330d6ee8c2 --body "your comment"