gabriel / musehub public
fix patch push task/wall5-multi-c-frame #1 / 1
AI Agent gabriel · 57 days ago · Apr 22, 2026 · Diff

fix(push): accumulate commits/snapshots across multiple C frames

The Muse client now chunks the C (COMMIT_PACK) frame into batches of 50 commits to avoid Cloudflare truncating an 84 MB streaming POST body mid-frame (Wall 5). The server must extend — not replace — commits_wire and snapshots_wire on each C frame.

Changes: - C frame handler: replace -> extend for commits_wire and snapshots_wire - Progress message emitted only on first C frame (avoid duplicate 'objects complete' messages for subsequent chunks) - Cumulative commit count checked against STREAM_MAX_COMMITS (not per-chunk)

Backward compatible: a single C frame (the previous client behavior) still works identically — extend of a one-chunk list is the same as replace.

sha256:952caf7fbdd535ec39ff1e089acd4ce3a3161074de05a24f736ea0571a57bdae sha
sha256:d4d19f32ab283f6b88d36be1c283d23ba80b5db87a64bbb373dbd4a0d72033eb snapshot
← Older Oldest on task/wall5-multi-c-frame
All commits
Newer → Latest on task/wall5-multi-c-frame

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