gabriel / muse public
fix BREAKING wire task/w16-drop-grpc-framing #1 / 1
AI Agent gabriel · 151 days ago · Apr 23, 2026 · Diff

fix(wire): drop gRPC framing from push stream

Wall 16: CF gRPC proxy truncates large messages at ~248KB. Remove grpc_frame() from _frame_generator; switch Content-Type from GRPC_CONTENT_TYPE to WIRE_CONTENT_TYPE so CF treats the body as opaque bytes with no per-message size limit.

sha256:b12ec62424e850b9fd36ea129f3aa715801c2166773b5c4d0092de2ea3fb1023 sha
+10 ~8 −1 symbols
sha256:5c9a8f23b64de0f6c0ca6f5f35b04bf5252431bf59de20ba547fe3014620cc40 snapshot
+10
symbols added
~8
symbols modified
−1
symbol removed
0
dead code introduced
Semantic Changes 19 symbols
~ docs/protocol/musewire-performance.md .md 10 symbols added, 1 symbol removed, 5 symbols modified
SSLError: SSLV3_ALERT_BAD_RECORD_MAC on main push stream 🔴 ACTIVE section Wall 12 — ssl.SSLError: SSLV3_ALERT_BAD_RECORD_MAC on main push stream 🔴 ACTIVE L407–475
+ SSLError: SSLV3_ALERT_BAD_RECORD_MAC on main push stream ✅ ROOT-CAUSED → superseded by Wall 13 section Wall 12 — ssl.SSLError: SSLV3_ALERT_BAD_RECORD_MAC on main push stream ✅ ROOT-CAUSED → superseded by Wall 13 L407–426
+ 1 only); Cloudflare gRPC needs HTTP/2 to origin ✅ FIXED section Wall 13 — Production runs uvicorn (HTTP/1.1 only); Cloudflare gRPC needs HTTP/2 to origin ✅ FIXED L426–466
+ code@L432 variable variable code@L432 L432–436
+ code@L438 variable variable code@L438 L438–442
+ Wall 14 — nginx grpc_pass h2c: request body not delivered to ASGI app ✅ FIXED (partial) section Wall 14 — nginx grpc_pass h2c: request body not delivered to ASGI app ✅ FIXED (partial) L466–497
+ code@L471 variable variable code@L471 L471–475
+ Wall 15 — _WireResponse not subclassing Response: FastAPI JSON-serialized it instead of calling __call__ ✅ FIXED class section Wall 15 — _WireResponse not subclassing Response: FastAPI JSON-serialized it instead of calling __call__ ✅ FIXED L497–532
+ code@L502 variable variable code@L502 L502–507
+ Wall 16 — Large C frame (~4MB commits) truncated at ~248KB mid-stream 🔴 ACTIVE section Wall 16 — Large C frame (~4MB commits) truncated at ~248KB mid-stream 🔴 ACTIVE L532–606
+ code@L537 variable variable code@L537 L537–555
← Older Oldest on task/w16-drop-grpc-framing
All commits
Newer → Latest on task/w16-drop-grpc-framing

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