gabriel / musehub public
fix patch task/fix-delta-double-decompress #1 / 1
AI Agent gabriel · 57 days ago · Apr 22, 2026 · Diff

fix: remove double-decompression in delta+zlib push handler

apply_delta() already calls zlib.decompress() internally on the delta_compressed argument. The caller was also calling decompress_zlib() before passing the bytes in, causing a second decompression on already-raw data → zlib error -3.

Fix: pass wire_bytes directly to apply_delta(); it handles decompression.

sha256:4353b4501de308560f21560c9812e824c76e27eafdee94e943181ff611f73ffc sha
sha256:9432077cc721be9b8ce95eed11db03469b875e85f39f563409ddfdd85802e054 snapshot
← Older Oldest on task/fix-delta-double-decompress
All commits
Newer → Latest on task/fix-delta-double-decompress

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