gabriel / muse public
refactor BREAKING push dev
AI Agent gabriel · 120 days ago · May 16, 2026 · Diff

refactor(push): remove dead stream path, everything is presign

Delete _run_presign_puts, build_push_objects, the stream else-branch, _PRESIGN_OBJECT_THRESHOLD, _PRESIGN_BYTE_THRESHOLD, and all imports that only served the stream path. _push_stream now has a single code path: BFS walk → build_mpack_from_walk → presign PUT → unpack-mpack.

sha256:f25f16d4b8053512edd9d810a66841ed90682632f47f7832512a7335cdbdba86 sha
~11 −13 symbols
sha256:9053e6afc3ff86576f30244640e396f19ba7741f18b66f49a6c8b25ef02115bc snapshot
~11
symbols modified
−13
symbols removed
0
dead code introduced
Semantic Changes 24 symbols
~ muse/cli/commands/push.py .py 13 symbols removed, 11 symbols modified
_PRESIGN_BYTE_THRESHOLD variable variable _PRESIGN_BYTE_THRESHOLD L121–121
_PRESIGN_OBJECT_THRESHOLD variable variable _PRESIGN_OBJECT_THRESHOLD L120–120
_run_presign_puts function async_function _run_presign_puts L135–156
build_push_objects function function build_push_objects L175–261
MPack import import MPack L87–87
ObjectPayload import import ObjectPayload L87–87
ObjectState import import ObjectState L85–85
build_mpack import import build_mpack L87–87
load_promisor_remotes import import load_promisor_remotes L85–85
object_state import import object_state L85–85
read_object import import read_object L86–86
read_snapshot import import read_snapshot L100–100
short_id import import short_id L81–81
← 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:f25f16d4b8053512edd9d810a66841ed90682632f47f7832512a7335cdbdba86 --body "your comment"