gabriel / muse public
fix BREAKING dev
AI Agent gabriel · 26 days ago · May 15, 2026 · Diff

fix: treat empty bundle_id + empty bundle_bytes as server nothing-to-do signal

When the server has nothing to send, wire_fetch_bundle returns _empty: bundle_id='', bundle_bytes=b'', pack_fetch=False, presign=False.

The client fell into the else branch and compared sha256(b'') against ''. sha256(b'') = 'sha256:e3b0c44...' != '' → raised TransportError.

The server-side bug (wire_push_stream not writing commit graph rows) is now fixed, but guard the client too: when both bundle_id and bundle_bytes are empty, treat it as an empty bundle with zero commits/snapshots/objects.

sha256:33965df74254167b5da9a739cd7dd47adb301b0d3fb32666f157a51bc916305e sha
sha256:b25176ef91052bff0f179b6d399e9466885e9c5f54c4cd064af3ae7311043e14 snapshot
← 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:33965df74254167b5da9a739cd7dd47adb301b0d3fb32666f157a51bc916305e --body "your comment"