gabriel / musehub public
feat BREAKING wire task/fetch-presign-docs-tests #1 / 1
AI Agent gabriel · 144 days ago · Apr 30, 2026 · Diff

feat(wire): per-object presigned fetch — docs, docstrings, and full test suite

- Update docs_muse_wire.html: new presign-fetch section with request/response schema, step-by-step flow, security callout, updated endpoints/limits tables - Add strong docstrings to wire_fetch_presign() covering protocol, args, returns, and both presign=True and presign=False code paths - Expand test_wire_fetch_presign.py: 11→20 tests covering security (FPS0–FPS3), performance (FPP0–FPP1), stress/state-integrity (FPST0–FPST1), and a full end-to-end HTTP route test (FPE0)

sha256:9900e768e49e040352950e2042396410637487675592c11672bb8ba5f995d951 sha
+13 ~8 −1 symbols
sha256:0b779ecf91e36a6d49fb04edff332795ecf33590f4d65f825d4c55602859376c snapshot
+13
symbols added
~8
symbols modified
−1
symbol removed
0
dead code introduced
Semantic Changes 22 symbols
~ musehub/templates/musehub/pages/docs_muse_wire.html .html 4 symbols added, 1 symbol removed, 7 symbols modified
section#presign section section#presign L286–386
+ h2: Presigned fetch section h2: Presigned fetch L467–467
+ h3: Step 2 — parallel R2 GETs section h3: Step 2 — parallel R2 GETs L528–528
+ section#presign-fetch section section#presign-fetch L466–566
+ section#presign-push section section#presign-push L296–396
~ tests/test_wire_fetch_presign.py .py 9 symbols added
+ test_fpe0_route_presign_true_full_response function async_function test_fpe0_route_presign_true_full_response L811–859
+ test_fpp0_all_presign_calls_complete_above_semaphore_limit function async_function test_fpp0_all_presign_calls_complete_above_semaphore_limit L633–671
+ test_fpp1_custom_ttl_reflected_in_expires_at function async_function test_fpp1_custom_ttl_reflected_in_expires_at L679–714
+ test_fps0_ttl_forwarded_to_presign_get function async_function test_fps0_ttl_forwarded_to_presign_get L472–506
+ test_fps1_presign_get_not_called_for_have_oids function async_function test_fps1_presign_get_not_called_for_have_oids L514–566
+ test_fps2_private_repo_404_for_non_owner function async_function test_fps2_private_repo_404_for_non_owner L574–585
+ test_fps3_object_urls_no_extras function async_function test_fps3_object_urls_no_extras L593–621
+ test_fpst0_600_oids_all_presigned function async_function test_fpst0_600_oids_all_presigned L726–759
+ test_fpst1_presign_get_exception_propagates function async_function test_fpst1_presign_get_exception_propagates L767–799
← Older Oldest on task/fetch-presign-docs-tests
All commits
Newer → Latest on task/fetch-presign-docs-tests

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:9900e768e49e040352950e2042396410637487675592c11672bb8ba5f995d951 --body "your comment"