gabriel / muse public
feat patch dev
AI Agent gabriel · 115 days ago · May 16, 2026 · Diff

feat: add build_unpack_payload and HttpTransport.push_mpack_unpack for push step 3

sha256:79130fbaf1bd652a0b4005d50834011a58723c09a3d623002d8995b204c86558 sha
+36 ~1 symbols
sha256:fffdb3801c9111aa8dc293ad6502d298585fcef63b0ccfc2225ca7257795627b snapshot
+36
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes 37 symbols
~ tests/test_mpack_unpack_payload.py .py 11 symbols added
+ _HEAD variable variable _HEAD L16–16
+ _KEY variable variable _KEY L15–15
+ annotations import import annotations L10–10
+ blob_id import import blob_id L13–13
+ build_unpack_payload import import build_unpack_payload L12–12
+ test_up1_mpack_key_passed_through function function test_up1_mpack_key_passed_through L19–21
+ test_up2_branch_defaults_to_main function function test_up2_branch_defaults_to_main L24–26
+ test_up3_head_passed_through function function test_up3_head_passed_through L29–31
+ test_up4_counts_default_to_zero function function test_up4_counts_default_to_zero L34–37
+ test_up5_all_keys_always_present function function test_up5_all_keys_always_present L40–42
+ test_up6_counts_are_integers function function test_up6_counts_are_integers L45–50
+ _HEAD variable variable _HEAD L22–22
+ _JOB_ID variable variable _JOB_ID L23–23
+ _MPACK_KEY variable variable _MPACK_KEY L21–21
+ _Resp class class _Resp L42–45
+ __init__ method method __init__ L43–45
+ _URL variable variable _URL L20–20
+ _mock_client function function _mock_client L48–53
+ _unpack_response function function _unpack_response L26–39
+ HttpTransport import import HttpTransport L17–17
+ MagicMock import import MagicMock L12–12
+ TransportError import import TransportError L17–17
+ annotations import import annotations L10–10
+ blob_id import import blob_id L18–18
+ fake_id import import fake_id L18–18
+ msgpack import import msgpack L14–14
+ patch import import patch L12–12
+ pytest import import pytest L15–15
+ test_mu1_happy_path_returns_all_fields function function test_mu1_happy_path_returns_all_fields L58–73
+ test_mu2_post_body_encodes_all_fields function function test_mu2_post_body_encodes_all_fields L78–97
+ test_mu3_posts_to_correct_endpoint function function test_mu3_posts_to_correct_endpoint L102–111
+ test_mu4_non_200_raises_transport_error function function test_mu4_non_200_raises_transport_error L116–123
+ test_mu5_missing_job_id_raises_transport_error function function test_mu5_missing_job_id_raises_transport_error L128–136
+ test_mu6_authorization_header_present function function test_mu6_authorization_header_present L141–163
~ muse/core/mpack.py .py 1 symbol added
+ build_unpack_payload function function build_unpack_payload L836–851
~ muse/core/transport.py .py 1 symbol added, 1 symbol modified
+ push_mpack_unpack method method push_mpack_unpack L1068–1115
← 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:79130fbaf1bd652a0b4005d50834011a58723c09a3d623002d8995b204c86558 --body "your comment"