gabriel / muse public
fix patch dev
AI Agent gabriel · 32 days ago · May 9, 2026 · Diff

fix: streaming push never sends delta+zlib — only presign path may delta

Delta bases were chosen from server commit manifests with no storage confirmation. A ghost base (in DB, absent from MinIO) caused: ❌ Push failed: delta base sha256:… not found in storage

Fix: extract build_push_objects(already_stored=). Delta encoding only fires when the base oid is in already_stored — a storage-confirmed set from the presign response. Streaming path passes already_stored=set() so all objects go as full raw objects. No more ghost-base failures.

Tests D1–D4 pin the invariant.

sha256:4f6846d439b05714369d5727ece1c4c9e7031b8565b213565de923145848623e sha
sha256:8e89371155086ad60a3090512faa3b0ac5bcc2c4665060776b306b3f6c471749 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:4f6846d439b05714369d5727ece1c4c9e7031b8565b213565de923145848623e --body "your comment"