gabriel / muse public
feat BREAKING task/wire-perf #1 / 1
AI Agent gabriel · 50 days ago · Apr 22, 2026 · Diff

feat: activate CHUNK_OBJECTS batching, delta+zlib encoding, HTTP/2 via httpx

- push.py: split large pushes into CHUNK_OBJECTS=500 batches (avoids Cloudflare 100 MB upload limit); non-final batches send no commits/snapshots - push.py: attempt compute_delta against remote OID for each object that shares a path with the tip of branch_have; fall back to raw on ValueError - pack.py: add optional sz field to ObjectPayload (uncompressed byte count required for delta+zlib so server can pre-allocate before decompression) - transport.py: add HTTPX_AVAILABLE + _httpx_mod optional import; route HTTPS push_stream through new _push_stream_httpx (HTTP/2 via httpx.Client) while plain HTTP continues to use http.client chunked transfer - tests: 16 tests for T9 chunking, T10 delta encoding, 8 tests for T11/T12 HTTP/2 transport (71 total passing, 0 failing)

sha256:d61de967213b2f11699cbafb296606e0fe907fc6a6cc9744327ae71980eef8d0 sha
sha256:54ffd5bacb164b183705df4bfc6f1490f9fb5804938aef08be4fe3f94387d42f snapshot
← Older Oldest on task/wire-perf
All commits
Newer → Latest on task/wire-perf

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