feat
BREAKING
task/push-streaming-client
#2 / 2
feat: parse push response as frame stream (Unpacker, not unpackb)
- push_stream_coro uses msgpack.Unpacker to iterate P/R/X frames instead of unpackb(resp.content) which fails when server prepends progress frames - P frames are printed to stderr as they arrive (real-time push progress) - PushResult.message reads from 'msg' key (matches server R frame format) - TDD: test_push_streaming_client.py (C1/C2/C3) codifies correct behavior
sha256:fe5063f21f7a134ea0dc5079a06ce27c18615fff659fceab55e7c3f2121c0d89
sha
+8
~2
symbols
sha256:68b45800dd2204799c12b4b9eca663581eba959fd4ee5133942cc68f0d9119ca
snapshot
+8
symbols added
~2
symbols modified
0
dead code introduced
Semantic Changes
10 symbols
+
test_c1_push_client_does_not_unpackb_full_content
function
function test_c1_push_client_does_not_unpackb_full_content L38–62
+
test_c2_push_client_uses_unpacker_for_response
function
function test_c2_push_client_uses_unpacker_for_response L69–87
+
test_c3_push_client_parses_progress_then_result_frame
function
function test_c3_push_client_parses_progress_then_result_frame L94–140
← Older
Oldest on task/push-streaming-client
All commits
Newer
fix: stream push response chunks in real time so P frames print …
sha256:b56d0dee5dc6a5a1dde3bd526a906c7377481a1391ca19d1145d5b38c8f455ea
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:fe5063f21f7a134ea0dc5079a06ce27c18615fff659fceab55e7c3f2121c0d89 --body "your comment"
No comments yet. Be the first to start the discussion.