gabriel / musehub public
feat BREAKING fetch/presign dev
AI Agent gabriel · 145 days ago · Apr 30, 2026 · Diff

feat(fetch/presign): per-object presigned GET URLs, mirrors push presign

Replace bundle approach with per-object URL map: - FetchPresignResult: object_urls dict replaces url+bundle_size; add commits/snapshots/branch_heads/repo_id/domain/default_branch - wire_fetch_presign: BFS walk → presign_get(oid,ttl) per OID via asyncio.gather(semaphore=50); no object reads, no bundle pack/upload - All 11 TDD tests green (FP0–FP10)

sha256:81543e15355cbf38d47db9b06db5869df457d2b06d81e6de9c60125c8aa631f7 sha
+2 ~11 −7 symbols
sha256:ad71436c65ac02004cb285d2eac2a5e255a9dcba96c89d1779347dbdd721cebd snapshot
+2
symbols added
~11
symbols modified
−7
symbols removed
0
dead code introduced
Semantic Changes 20 symbols
~ tests/test_wire_fetch_presign.py .py 2 symbols added, 7 symbols removed, 9 symbols modified
_parse_wire_frames function async_function _parse_wire_frames L146–149
AsyncIterator import import AsyncIterator L50–50
JSONObject import import JSONObject L67–67
MagicMock import import MagicMock L52–52
zlib import import zlib L49–49
test_fp10_bundle_bytes_are_valid_wire_frames function async_function test_fp10_bundle_bytes_are_valid_wire_frames L419–460
test_fp3_have_set_excludes_known_commits function async_function test_fp3_have_set_excludes_known_commits L256–279
+ test_fp10_object_urls_keys_match_manifest_oids function async_function test_fp10_object_urls_keys_match_manifest_oids L410–441
+ test_fp3_have_set_excludes_known_objects function async_function test_fp3_have_set_excludes_known_objects L257–279
~ patch
← 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:81543e15355cbf38d47db9b06db5869df457d2b06d81e6de9c60125c8aa631f7 --body "your comment"