fix: ensure_hub_seed correctly parses muse remote --json dict format (issue #62 Phase 3 Bug B)
muse remote --json returns {"remotes": [...]} not a bare list. The old code did isinstance(remotes, list) which was always False for the dict response, making remote_names always empty, causing 'muse remote add origin' to be called even when origin was already set — crashing with 'Remote already exists'.
Fix: extract raw.get('remotes', []) from the dict before checking names. Keeps the list fallback for forward-compat and the empty-string guard.
sha256:9dd25128170441ce01bb0826fcd1dc35c02dd16329a9ae8b8ab5d86d001d8537
sha
sha256:8fda78769952ae28c06814ac802b2f7d2d562b5beebf13a35f824dacb781eee8
snapshot
Older
fix: presign_get must call _rewrite_presign_url (issue #62 Phase…
sha256:e0a98e21a8a8cf2741cfca3ec49f52432ec1c4108794e6017e8b72095daa544a
All commits
Newer →
Latest on task/fix-presign-get-rewrite
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:9dd25128170441ce01bb0826fcd1dc35c02dd16329a9ae8b8ab5d86d001d8537 --body "your comment"
No comments yet. Be the first to start the discussion.