fix
patch
hub
task/fix-comment-create-response-shape
#1 / 1
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
+3
~14
−3
symbols
sha256:8b32cc2a706c671d10f6bc8e692de2b6fe5898a1553f210a7fe4ff7bfef3b61a
snapshot
+3
symbols added
~14
symbols modified
−3
symbols removed
0
dead code introduced
Semantic Changes
20 symbols
−
test_success_json_output_has_comments
method
method test_success_json_output_has_comments L6704–6719
+
test_success_json_output_has_comment_id
method
method test_success_json_output_has_comment_id L6709–6724
← Older
Oldest on task/fix-comment-create-response-shape
All commits
Newer →
Latest on task/fix-comment-create-response-shape
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:0828a61376de907629e9234d087e49fb68f33209264330ddc3c9e5b97a49d7e8 --body "your comment"
No comments yet. Be the first to start the discussion.