gabriel / muse public
feat patch rev-parse task/supercharge-rev-parse #1 / 1
AI Agent gabriel · 162 days ago · Apr 18, 2026 · Diff

feat(rev-parse): add elapsed_ms/exit_code to all JSON paths; route all errors to stdout as JSON; delete hollow stress tests

sha256:64057a6988e077bbb7dc377a3de62e8b7efa856a1f9fa3adc8eb6a040909c4a7 sha
+17 ~1 −3 symbols
sha256:2e43410d3617d59ec4ba26c3056eaa773c49f121d628544b62c581d33bcef472 snapshot
+17
symbols added
~1
symbol modified
−3
symbols removed
0
dead code introduced
Semantic Changes 21 symbols
~ muse/cli/commands/rev_parse.py .py 1 symbol added, 1 symbol modified
+ time import import time L54–54
~ run
~ tests/test_cmd_rev_parse.py .py 16 symbols added, 3 symbols removed
− TestStress class class TestStress L398–411
− test_200_abbrev_ref_resolves method method test_200_abbrev_ref_resolves L406–411
− test_200_rapid_resolves method method test_200_rapid_resolves L399–404
+ TestErrorJson class class TestErrorJson L440–503
+ _assert_error method method _assert_error L443–450
+ test_ambiguous_prefix_has_schema method method test_ambiguous_prefix_has_schema L471–484
+ test_bare_hex_has_schema method method test_bare_hex_has_schema L492–496
+ test_empty_ref_emits_json_to_stdout method method test_empty_ref_emits_json_to_stdout L452–457
+ test_error_json_has_ref_key method method test_error_json_has_ref_key L498–503
+ test_head_no_commits_has_schema method method test_head_no_commits_has_schema L486–490
+ test_invalid_format_emits_json_to_stdout method method test_invalid_format_emits_json_to_stdout L459–463
+ test_not_found_has_schema method method test_not_found_has_schema L465–469
+ TestJsonSchema class class TestJsonSchema L398–432
+ _assert_schema method method _assert_schema L401–406
+ test_abbrev_ref_has_schema method method test_abbrev_ref_has_schema L423–426
+ test_branch_resolution_has_schema method method test_branch_resolution_has_schema L408–411
+ test_head_resolution_has_schema method method test_head_resolution_has_schema L413–416
+ test_prefix_resolution_has_schema method method test_prefix_resolution_has_schema L428–432
+ test_sha_resolution_has_schema method method test_sha_resolution_has_schema L418–421
← Older Oldest on task/supercharge-rev-parse
All commits
Newer → Latest on task/supercharge-rev-parse

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:64057a6988e077bbb7dc377a3de62e8b7efa856a1f9fa3adc8eb6a040909c4a7 --body "your comment"