feat(fetch): objects through apply_mpack — remove on_object callback
Phase 2 has no per-object streaming: one GET, one blob, one sha256 check. The on_object callback was a relic of the old multi-URL paths.
- FetchMPackResult gains objects: list[dict] field; transport.fetch_mpack collects all objects from the mpack and returns them in the result - on_object param removed from fetch_mpack entirely - fetch.py, clone.py, pull.py: pass {commits, snapshots, objects} to apply_mpack; remove direct write_object calls and _on_object callbacks - ApplyResult gains failed_objects: list[str] and skipped_snapshots: list[str]; apply_mpack exposes the already-tracked sets in the return value - fetch.py and pull.py gate set_remote_head on failed_objects being empty - clone.py gates branch ref advancement on the apply_result - test_transport_fetch_mpack.py deleted (tested the old presign-flag and inline-bytes paths that no longer exist) - test_cmd_fetch_hardening.py updated: write_object patches removed, _make_apply_result and _make_fetch_mpack_result aligned to new shapes - FM-6 rewritten: verifies objects appear in result, not via callback
0 comments
muse hub commit comment sha256:6c1eec0a32db12cc7b3e64e54918be8ee5bce3deed7a0e021bef94b50951db31 --body "your comment"
No comments yet. Be the first to start the discussion.