gabriel / muse public
chore BREAKING main #3 / 44
AI Agent gabriel · 13 days ago · May 31, 2026 · Diff

chore: merge main — carry all urllib/typing/test fixes from dev

sha256:79ffe87f5fe2ec146e35f05521218bbf54dffdb0440c07f970bad05f16efb89f sha
+26 ~90 −86 symbols
sha256:cb43b2a310ddd4ec1da1b37d81c37620c606bfe8db9ac02eb41dade51684ddb6 snapshot
+26
symbols added
~90
symbols modified
−86
symbols removed
0
dead code introduced
Semantic Changes 202 symbols
~ muse/core/transport.py .py 7 symbols added, 2 symbols removed, 8 symbols modified
_httpx_verify function function _httpx_verify L117–129
_httpx_mod import import _httpx_mod L88–88
+ _NoRedirectHandler class class _NoRedirectHandler L450–461
+ redirect_request method method redirect_request L452–461
+ _make_ssl_ctx function function _make_ssl_ctx L119–129
+ _urllib_do function function _urllib_do L469–504
+ _ssl_mod import import _ssl_mod L88–88
+ error import import urllib.error L89–89
+ request import import urllib.request L90–90
~ tests/test_cmd_push_hardening.py .py 3 symbols added, 6 symbols removed, 10 symbols modified
_FakeHttpxClient class class _FakeHttpxClient L299–333
__aenter__ method async_method __aenter__ L305–306
__aexit__ method async_method __aexit__ L308–309
__init__ method method __init__ L302–303
post method async_method post L311–327
put method async_method put L329–333
+ push_mpack_presign method method push_mpack_presign L326–329
+ push_mpack_put method method push_mpack_put L331–333
+ push_mpack_unpack method method push_mpack_unpack L335–338
~ _run
~ tests/test_push_branch_have.py .py 1 symbol added, 2 symbols modified
~ tests/test_push_force_flag.py .py 7 symbols removed, 4 symbols modified
_FakeHttpxClient class class _FakeHttpxClient L110–140
__aenter__ method async_method __aenter__ L118–119
__aexit__ method async_method __aexit__ L121–122
__init__ method method __init__ L113–116
post method async_method post L124–136
put method async_method put L138–140
_unpack_body function function _unpack_body L183–186
~ tests/test_push_mpack_e2e.py .py 50 symbols removed
_CapturingClient class class _CapturingClient L119–143
__init__ method method __init__ L122–127
fake_post method method fake_post L129–138
fake_put method method fake_put L140–143
_Headers variable variable _Headers L44–44
_JsonDict variable variable _JsonDict L45–45
_RemoteHeads variable variable _RemoteHeads L46–46
_UPLOAD_URL variable variable _UPLOAD_URL L64–64
_WalkCall variable variable _WalkCall L47–47
_bare_repo function function _bare_repo L71–82
_make_commit function function _make_commit L85–116
_push_transport function function _push_transport L146–156
_run_push_cli function function _run_push_cli L159–170
_unpack_body_of function function _unpack_body_of L173–177
cli variable variable cli L61–61
CliRunner import import CliRunner L58–58
CommitRecord import import CommitRecord L49–49
MagicMock import import MagicMock L31–31
Manifest import import Manifest L57–57
Mapping import import Mapping L29–29
PushResult import import PushResult L37–37
RemoteInfo import import RemoteInfo L37–37
SnapshotRecord import import SnapshotRecord L53–53
TYPE_CHECKING import import TYPE_CHECKING L30–30
__version__ import import __version__ L36–36
annotations import import annotations L24–24
blob_id import import blob_id L57–57
compute_commit_id import import compute_commit_id L48–48
compute_snapshot_id import import compute_snapshot_id L48–48
datetime import import datetime L26–26
heads_dir import import heads_dir L39–39
json import import json L27–27
msgpack import import msgpack L33–33
muse_dir import import muse_dir L39–39
patch import import patch L31–31
pathlib import import pathlib L28–28
pytest import import pytest L34–34
remotes_dir import import remotes_dir L39–39
write_commit import import write_commit L49–49
write_object import import write_object L38–38
write_snapshot import import write_snapshot L53–53
runner variable variable runner L62–62
test_e1_three_step_sequence_in_order function function test_e1_three_step_sequence_in_order L184–214
test_e2_presign_key_matches_put_bytes function function test_e2_presign_key_matches_put_bytes L221–243
test_e6_non_merge_branch_have_is_single_head function function test_e6_non_merge_branch_have_is_single_head L375–415
test_e7_merge_commit_branch_have_includes_all_remote_heads function function test_e7_merge_commit_branch_have_includes_all_remote_heads L422–476
test_v1_second_push_commits_count_is_one function function test_v1_second_push_commits_count_is_one L250–269
test_v2_first_push_sends_all_commits function function test_v2_first_push_sends_all_commits L276–293
test_v3_live_refs_anchors_bfs function function test_v3_live_refs_anchors_bfs L300–318
test_vii1_push_twice_second_sends_one_commit function function test_vii1_push_twice_second_sends_one_commit L325–368
~ tests/test_transport_fetch_phase2.py .py 5 symbols added, 3 symbols removed, 6 symbols modified
_Resp class class _Resp L77–80
__init__ method method __init__ L78–80
_mock_client function function _mock_client L83–91
+ _DoFn class class _DoFn L80–82
+ __call__ method method __call__ L82–82
+ _mock_urllib_do function function _mock_urllib_do L85–104
+ Protocol import import Protocol L78–78
+ error import import urllib.error L77–77
~ tests/test_transport_push_mpack_presign.py .py 1 symbol added, 4 symbols removed, 6 symbols modified
_Resp class class _Resp L30–33
__init__ method method __init__ L31–33
_mock_client function function _mock_client L36–41
MagicMock import import MagicMock L11–11
+ _mock_urllib_do function function _mock_urllib_do L30–40
~ patch
~ tests/test_transport_push_mpack_put.py .py 4 symbols added, 4 symbols removed, 7 symbols modified
_Resp class class _Resp L26–29
__init__ method method __init__ L27–29
_mock_client function function _mock_client L32–37
MagicMock import import MagicMock L15–15
+ _SideEffectFn class class _SideEffectFn L23–25
+ __call__ method method __call__ L25–25
+ _mock_urllib_do function function _mock_urllib_do L32–42
+ Protocol import import Protocol L15–15
~ patch
~ tests/test_transport_push_mpack_unpack.py .py 1 symbol added, 5 symbols removed, 6 symbols modified
_JOB_ID variable variable _JOB_ID L24–24
_Resp class class _Resp L43–46
__init__ method method __init__ L44–46
_mock_client function function _mock_client L49–54
test_mu5_missing_job_id_raises_transport_error function function test_mu5_missing_job_id_raises_transport_error L129–137
+ _mock_urllib_do function function _mock_urllib_do L39–49

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:79ffe87f5fe2ec146e35f05521218bbf54dffdb0440c07f970bad05f16efb89f --body "your comment"