fix: muse hub release list crashed on every call (_hub_api has no params kwarg)
run_release_list called _hub_api(..., params=params) but _hub_api's actual signature is (hub_url, identity, method, path, body=None, timeout=10.0) — no params kwarg exists at all. Every invocation crashed with a TypeError before making any request. Completely untested until now (found while confirming build/version state ahead of cutting a release for #185).
Fixed to match the established pattern used elsewhere (e.g. run_issue_list): urlencode the query params directly into the path string, since _hub_api has no separate params argument.
3 tests added (previously zero coverage for this command), written first against the real crash. Verified live against staging and production hubs — muse hub release list --json now returns real data instead of crashing.
Semantic Changes
11 symbols
Files Changed
+1
~1
1164 in snapshot
0 comments
muse hub commit comment sha256:c4f1efcedc75c6d1eda18b7f73bbe06081120c20afd3aa3eb688a63cc22389c7 --body "your comment"
No comments yet. Be the first to start the discussion.