feat
BREAKING
transport
task/fetch-phase2-tdd
#2 / 2
feat(transport): Phase 2 fetch protocol — single presigned URL, sha256 integrity gate
Replace the three old fetch branches (pack_fetch multi-URL, presign flag, inline bytes) with the single Phase 2 shape: server returns {mpack_url, mpack_id, commit_count, object_count}. Client GETs mpack_url directly, verifies blob_id(bytes) == mpack_id before unpacking, raises TransportError on mismatch or non-200. Null mpack_url = up-to-date, returns empty result.
Adds TDD suite (FM-1 through FM-6) — all 6 pass. Removes unused hashlib import; adds blob_id to types import.
sha256:e2565387467fbe2db8d97866d9f57c693cf0f6a6421379a89b60952fbf05504a
sha
+23
~3
−1
symbols
sha256:d2763a3a27e12488ee11aa7e655db47623988b87ad7ee130e638c03cd477da79
snapshot
+23
symbols added
~3
symbols modified
−1
symbol removed
0
dead code introduced
Semantic Changes
27 symbols
+
test_fm1_normal_fetch_returns_result
function
function test_fm1_normal_fetch_returns_result L96–112
+
test_fm5_null_mpack_url_means_up_to_date
function
function test_fm5_null_mpack_url_means_up_to_date L170–182
+
test_fm6_on_object_callback_called_for_each_object
function
function test_fm6_on_object_callback_called_for_each_object L187–205
← Older
Oldest on task/fetch-phase2-tdd
All commits
Newer
feat(fetch): objects through apply_mpack — remove on_object callback
sha256:6c1eec0a32db12cc7b3e64e54918be8ee5bce3deed7a0e021bef94b50951db31
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:e2565387467fbe2db8d97866d9f57c693cf0f6a6421379a89b60952fbf05504a --body "your comment"
No comments yet. Be the first to start the discussion.