gabriel / musehub public
fix BREAKING task/wire-push-freeze-fix #1 / 1
AI Agent gabriel · 57 days ago · Apr 23, 2026 · Diff

fix: guarantee X frame on push finalization errors, clean iter_wire_frames diagnostic logging

Any unhandled exception in wire_push_stream after the frame-reading loop (quota check, FF check, DB writes, branch update, background jobs) caused the async generator to terminate silently — no X frame sent, client hangs until ReadTimeout.

Fix: wrap the wire_push_stream iteration in _WireResponse.__call__ with try/except so an X frame is always sent before closing the connection.

Also removes diagnostic hex-dump logging added during debugging from iter_wire_frames — back to clean debug-level logging only.

sha256:7d8eb32ffc03525c738155a849df359e853e056a837b7333d12a15903fe20782 sha
sha256:91aa4274b652f79aec38971717e90916054f46fe55fc36bdf7073b2fd07121fe snapshot
← Older Oldest on task/wire-push-freeze-fix
All commits
Newer → Latest on task/wire-push-freeze-fix

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