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

feat(shortlog): add elapsed_ms/exit_code/truncated to JSON; refactor _parse_date to pure ValueError; structured error JSON on bad dates; fix test helpers to use blob_id(); delete hollow concurrent-read stress test

sha256:9ace4455d999a1854e1120a22e5ed0b5d932d497fce4f7b50139dd2061a7c590 sha
+24 ~10 −4 symbols
sha256:9df993bc33d3094a8f5a8533cbf7fb7b3e8b1fdf022741dd4d0a27792f5f04bb snapshot
+24
symbols added
~10
symbols modified
−4
symbols removed
0
dead code introduced
Semantic Changes 38 symbols
~ muse/cli/commands/shortlog.py .py 1 symbol added, 4 symbols modified
+ time import import time L83–83
~ run
~ tests/test_cmd_shortlog.py .py 1 symbol added, 1 symbol removed, 2 symbols modified
− hashlib import import hashlib L11–11
+ blob_id import import blob_id L21–21
~ _sha
~ tests/test_cmd_shortlog_hardening.py .py 22 symbols added, 3 symbols removed, 4 symbols modified
− hashlib import import hashlib L21–21
− threading import import threading L25–25
− test_stress_concurrent_reads function function test_stress_concurrent_reads L697–722
+ TestErrorJson class class TestErrorJson L806–834
+ _assert_error method method _assert_error L809–816
+ test_date_error_has_message method method test_date_error_has_message L830–834
+ test_since_bad_date_json_error method method test_since_bad_date_json_error L818–822
+ test_until_bad_date_json_error method method test_until_bad_date_json_error L824–828
+ TestJsonSchema class class TestJsonSchema L700–755
+ _assert_schema method method _assert_schema L703–709
+ test_all_branches_json_has_schema method method test_all_branches_json_has_schema L724–729
+ test_empty_repo_json_has_schema method method test_empty_repo_json_has_schema L718–722
+ test_exit_code_zero_on_success method method test_exit_code_zero_on_success L750–755
+ test_normal_output_has_schema method method test_normal_output_has_schema L711–716
+ test_numbered_json_has_schema method method test_numbered_json_has_schema L731–737
+ test_since_filtered_empty_has_schema method method test_since_filtered_empty_has_schema L739–748
+ TestParseDateRefactor class class TestParseDateRefactor L842–851
+ test_invalid_date_raises_value_error method method test_invalid_date_raises_value_error L845–847
+ test_wrong_format_raises_value_error method method test_wrong_format_raises_value_error L849–851
+ TestTruncated class class TestTruncated L763–798
+ test_truncated_false_on_empty_repo method method test_truncated_false_on_empty_repo L793–798
+ test_truncated_false_when_no_limit method method test_truncated_false_when_no_limit L784–791
+ test_truncated_false_when_under_limit method method test_truncated_false_when_under_limit L775–782
+ test_truncated_true_when_limit_hit method method test_truncated_true_when_limit_hit L766–773
+ blob_id import import blob_id L34–34
~ _sha
← Older Oldest on task/supercharge-shortlog
All commits
Newer → Latest on task/supercharge-shortlog

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:9ace4455d999a1854e1120a22e5ed0b5d932d497fce4f7b50139dd2061a7c590 --body "your comment"