gabriel / muse public
task/supercharge-switch #3 / 3
gabriel · 160 days ago · Apr 18, 2026 · Diff

initial

sha256:2e02eccb9600856bd1ff973e4f0ec2db5353141a2f0cabd2d059bdfc348ecfe6 sha
+71 symbols
sha256:f5a9ee80732c53cddcc1122f4b80a3bd0dab085094918856376d35156891bc52 snapshot
+71
symbols added
0
dead code introduced
Semantic Changes 71 symbols
~ tests/test_cmd_switch_supercharge.py .py 71 symbols added
+ TestCommitIdAndFromBranch class class TestCommitIdAndFromBranch L251–268
+ test_D2_commit_id_matches_head method method test_D2_commit_id_matches_head L264–268
+ test_U6_commit_id_sha256_prefixed method method test_U6_commit_id_sha256_prefixed L252–254
+ test_U7_from_branch_after_create method method test_U7_from_branch_after_create L260–262
+ test_U7_from_branch_correct method method test_U7_from_branch_correct L256–258
+ TestConcurrent class class TestConcurrent L487–510
+ test_C1_four_concurrent_switches method method test_C1_four_concurrent_switches L488–510
+ TestDataIntegrity class class TestDataIntegrity L397–437
+ test_D1_prev_branch_correct_after_10_toggles method method test_D1_prev_branch_correct_after_10_toggles L398–408
+ test_D5_force_create_action_created_when_new method method test_D5_force_create_action_created_when_new L416–420
+ test_D5_force_create_action_reset_when_existed method method test_D5_force_create_action_reset_when_existed L410–414
+ test_all_error_json_keys_present method method test_all_error_json_keys_present L432–437
+ test_all_success_json_keys_present method method test_all_success_json_keys_present L422–430
+ TestElapsedAndExitCode class class TestElapsedAndExitCode L131–172
+ test_D3_elapsed_ms_is_float method method test_D3_elapsed_ms_is_float L165–167
+ test_D4_exit_code_is_int_not_bool method method test_D4_exit_code_is_int_not_bool L169–172
+ test_U1_elapsed_ms_created method method test_U1_elapsed_ms_created L137–140
+ test_U1_elapsed_ms_dry_run method method test_U1_elapsed_ms_dry_run L154–157
+ test_U1_elapsed_ms_force_create_existing method method test_U1_elapsed_ms_force_create_existing L147–152
+ test_U1_elapsed_ms_force_create_new method method test_U1_elapsed_ms_force_create_new L142–145
+ test_U1_elapsed_ms_switched method method test_U1_elapsed_ms_switched L132–135
+ test_U2_exit_code_in_json method method test_U2_exit_code_in_json L159–163
+ TestIntegration class class TestIntegration L276–353
+ test_I10_create_existing_json_error_not_traceback method method test_I10_create_existing_json_error_not_traceback L346–353
+ test_I1_switch_dash_json method method test_I1_switch_dash_json L277–285
+ test_I2_force_create_existing_action_reset method method test_I2_force_create_existing_action_reset L287–292
+ test_I3_force_create_new_action_created method method test_I3_force_create_new_action_created L294–297
+ test_I4_create_with_intent method method test_I4_create_with_intent L299–311
+ test_I5_create_with_resumable method method test_I5_create_with_resumable L313–320
+ test_I6_autoshelf_json method method test_I6_autoshelf_json L322–326
+ test_I8_dry_run_force_create_json method method test_I8_dry_run_force_create_json L328–337
+ test_I9_dry_run_switch_dash_json method method test_I9_dry_run_switch_dash_json L339–344
+ TestJsonErrors class class TestJsonErrors L180–243
+ test_U3_branch_not_found_json_error method method test_U3_branch_not_found_json_error L181–186
+ test_U4_no_prev_branch_json_error method method test_U4_no_prev_branch_json_error L188–192
+ test_U5_mutual_exclusion_c_and_C_json_error method method test_U5_mutual_exclusion_c_and_C_json_error L194–198
+ test_U5_mutual_exclusion_discard_autoshelf_json_error method method test_U5_mutual_exclusion_discard_autoshelf_json_error L208–214
+ test_U5_mutual_exclusion_discard_merge_json_error method method test_U5_mutual_exclusion_discard_merge_json_error L200–206
+ test_U5_mutual_exclusion_merge_autoshelf_json_error method method test_U5_mutual_exclusion_merge_autoshelf_json_error L216–222
+ test_create_existing_branch_json_error method method test_create_existing_branch_json_error L235–243
+ test_json_error_has_elapsed_ms method method test_json_error_has_elapsed_ms L224–227
+ test_json_error_has_exit_code method method test_json_error_has_exit_code L229–233
+ TestSecurity class class TestSecurity L361–389
+ test_S1_null_byte_in_branch_name_rejected method method test_S1_null_byte_in_branch_name_rejected L362–364
+ test_S2_path_traversal_in_branch_name_rejected method method test_S2_path_traversal_in_branch_name_rejected L366–370
+ test_S3_json_error_no_ansi method method test_S3_json_error_no_ansi L372–374
+ test_S4_branch_name_sanitized_in_json method method test_S4_branch_name_sanitized_in_json L376–380
+ test_ansi_in_branch_name_rejected_with_json method method test_ansi_in_branch_name_rejected_with_json L382–389
+ TestStress class class TestStress L445–476
+ test_P1_50_rapid_switches_three_branches method method test_P1_50_rapid_switches_three_branches L446–457
+ test_P2_switch_with_many_branches method method test_P2_switch_with_many_branches L459–466
+ test_P3_elapsed_ms_in_all_rapid_json_calls method method test_P3_elapsed_ms_in_all_rapid_json_calls L468–476
+ _INIT_LOCK variable variable _INIT_LOCK L484–484
+ _add_branch function function _add_branch L98–99
+ _init_repo function function _init_repo L85–95
+ _invoke function function _invoke L67–73
+ _json_switch function function _json_switch L106–108
+ _run function function _run L76–82
+ _switch function function _switch L102–103
+ CliRunner import import CliRunner L57–57
+ annotations import import annotations L48–48
+ get_head_commit_id import import get_head_commit_id L58–58
+ json import import json L50–50
+ os import import os L51–51
+ pathlib import import pathlib L52–52
+ pytest import import pytest L55–55
+ read_current_branch import import read_current_branch L58–58
+ threading import import threading L53–53
+ repo function function repo L112–113
+ runner variable variable runner L60–60
+ two_branch_repo function function two_branch_repo L117–123

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:2e02eccb9600856bd1ff973e4f0ec2db5353141a2f0cabd2d059bdfc348ecfe6 --body "your comment"