gabriel / muse public
BREAKING dev
AI Agent gabriel · 150 days ago · Apr 24, 2026 · Diff

delete(grpc): remove all gRPC naming from muse — GRPC_CONTENT_TYPE, grpc_frame, GrpcFrameReader, dead test files

- mpack.py: delete GRPC_CONTENT_TYPE, grpc_frame(), GrpcFrameReader - transport.py: fetch_stream now sends WIRE_CONTENT_TYPE; response parsed with MPackStreamReader instead of GrpcFrameReader; stale comments cleaned - test_grpc_framing.py: deleted (tested deleted code) - test_wire_h2_strict.py: deleted (tested gRPC framing invariants) - test_wire_push_plain.py: rewritten clean — P1/P2/P3 only, no gRPC refs - test_wire_snapshot_delta.py: replaced _decode_grpc_frames with MWP parser; removed test C (gRPC message size limit, no longer relevant); renumbered A-F - test_wire_oc_frames.py: docstring updated

sha256:2e3b694efdb6156d2a93fb7d7eacb15fd2ff70799ec38d36dd0ecd4751c014a4 sha
+4 ~10 −61 symbols
sha256:d98f5c25aff67c86109fbc3dc7faa618b52ed7c4d5d787546d3b86142eb4ef9b snapshot
+4
symbols added
~10
symbols modified
−61
symbols removed
0
dead code introduced
Semantic Changes 75 symbols
~ tests/test_grpc_framing.py .py 15 symbols removed
_decode_all_grpc_frames function function _decode_all_grpc_frames L38–51
_decode_grpc_frame function function _decode_grpc_frame L28–35
annotations import import annotations L17–17
pytest import import pytest L21–21
struct import import struct L19–19
test_frame_generator_produces_grpc_wrapped_frames function function test_frame_generator_produces_grpc_wrapped_frames L137–154
test_grpc_content_type_constant function function test_grpc_content_type_constant L128–130
test_grpc_frame_compression_flag_is_zero function function test_grpc_frame_compression_flag_is_zero L58–61
test_grpc_frame_empty_payload function function test_grpc_frame_empty_payload L103–108
test_grpc_frame_large_payload function function test_grpc_frame_large_payload L115–121
test_grpc_frame_length_field function function test_grpc_frame_length_field L64–69
test_grpc_frame_message_body function function test_grpc_frame_message_body L72–76
test_grpc_frame_roundtrip function function test_grpc_frame_roundtrip L90–96
test_grpc_frame_total_length function function test_grpc_frame_total_length L79–83
test_multiple_grpc_frames_decode_in_order function function test_multiple_grpc_frames_decode_in_order L161–166
~ tests/test_wire_h2_strict.py .py 30 symbols removed
TestT17FetchStreamHttpx class class TestT17FetchStreamHttpx L118–140
_make_client_and_frames method method _make_client_and_frames L121–131
test_fetch_stream_uses_httpx_client method method test_fetch_stream_uses_httpx_client L133–140
TestT18NegotiateHttpx class class TestT18NegotiateHttpx L147–162
_make_client method method _make_client L150–153
test_negotiate_uses_httpx_client method method test_negotiate_uses_httpx_client L155–162
TestT19FetchRemoteInfoHttpx class class TestT19FetchRemoteInfoHttpx L169–188
_make_client method method _make_client L172–179
test_fetch_remote_info_uses_httpx method method test_fetch_remote_info_uses_httpx L181–188
TestT20PresignHttpx class class TestT20PresignHttpx L195–211
_make_client method method _make_client L198–201
test_presign_uses_httpx method method test_presign_uses_httpx L203–211
_async_mock_httpx_streaming_response function function _async_mock_httpx_streaming_response L66–79
_end_frame function function _end_frame L38–39
_grpc_wrap function function _grpc_wrap L50–52
_mock_httpx_client function function _mock_httpx_client L92–104
_mock_httpx_mod function function _mock_httpx_mod L107–111
_mock_httpx_response function function _mock_httpx_response L82–89
_mock_httpx_streaming_response function function _mock_httpx_streaming_response L55–63
_object_frame function function _object_frame L42–47
_oid function function _oid L26–27
_progress_frame function function _progress_frame L34–35
_result_frame function function _result_frame L30–31
AsyncMock import import AsyncMock L14–14
MagicMock import import MagicMock L14–14
annotations import import annotations L12–12
blob_id import import blob_id L19–19
msgpack import import msgpack L16–16
patch import import patch L14–14
pytest import import pytest L17–17
~ muse/core/mpack.py .py 7 symbols removed
GRPC_CONTENT_TYPE variable variable GRPC_CONTENT_TYPE L108–108
GrpcFrameReader class class GrpcFrameReader L808–849
__init__ method method __init__ L818–820
decompress_object method method decompress_object L840–849
feed method method feed L822–825
frames method method frames L827–838
grpc_frame function function grpc_frame L111–118
~ tests/test_wire_push_plain.py .py 3 symbols added, 5 symbols removed, 1 symbol modified
test_p1_frame_generator_no_grpc_prefix function function test_p1_frame_generator_no_grpc_prefix L31–52
test_p1_frame_generator_with_objects_no_grpc_prefix function function test_p1_frame_generator_with_objects_no_grpc_prefix L55–70
test_p2_push_does_not_use_grpc_content_type function function test_p2_push_does_not_use_grpc_content_type L89–97
test_p3_push_upload_first_no_stream_context_manager function function test_p3_push_upload_first_no_stream_context_manager L104–119
test_p4_push_response_not_grpc_reader function function test_p4_push_response_not_grpc_reader L126–138
+ test_p1_frame_generator_mwp_magic function function test_p1_frame_generator_mwp_magic L21–30
+ test_p1_frame_generator_with_objects function function test_p1_frame_generator_with_objects L33–46
+ test_p3_push_upload_first function function test_p3_push_upload_first L66–72
~ tests/test_wire_snapshot_delta.py .py 1 symbol added, 4 symbols removed, 5 symbols modified
GRPC_LIMIT variable variable GRPC_LIMIT L23–23
_decode_grpc_frames function function _decode_grpc_frames L26–37
pytest import import pytest L16–16
test_c_frames_under_grpc_limit_large_repo function function test_c_frames_under_grpc_limit_large_repo L156–172
+ _parse_mwp_frames function function _parse_mwp_frames L21–37
← Older Oldest on dev
All commits
Newer → Latest on dev

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