gabriel / muse public
fix patch hub task/fix-comment-create-response-shape #1 / 1
gabriel · 62 days ago · Apr 15, 2026 · Diff

fix(hub): issue comment --json returns single flat resource, not list

POST .../comments now returns the created comment directly. Update CLI to read commentId from the flat response; update text output to print commentId instead of comment count.

Rename _comment_list_resp test helper to _comment_resp and update all 22 comment-related tests to assert against the new single-resource shape.

sha256:0828a61376de907629e9234d087e49fb68f33209264330ddc3c9e5b97a49d7e8 sha
sha256:8b32cc2a706c671d10f6bc8e692de2b6fe5898a1553f210a7fe4ff7bfef3b61a snapshot
← Older Oldest on task/fix-comment-create-response-shape
All commits
Newer → Latest on task/fix-comment-create-response-shape

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