gabriel / musehub public
feat patch dev
AI Agent gabriel · 146 days ago · Apr 29, 2026 · Diff

feat: add push/confirm endpoint to register presigned R2 objects in DB

Adds wire_push_confirm() service function and POST /push/confirm route. The client calls this after R2 PUTs succeed so musehub_objects and musehub_object_refs rows exist before push/stream's Phase-C integrity check. Fixes 422 'snapshot object(s) not in push bundle or storage' on large pushes.

sha256:58b7f5cd38e5728d13720b3d7adbb04cdaf6ea9fcc034be9cb697c04b99d7137 sha
+6 ~11 symbols
sha256:30cad2f3e54137ee7e46036ee7f1475c2534c468c634c4765a52ca9d44a4d805 snapshot
+6
symbols added
~11
symbols modified
0
dead code introduced
Semantic Changes 17 symbols
~ musehub/api/routes/wire.py .py 2 symbols added, 11 symbols modified
~ musehub/services/musehub_wire.py .py 1 symbol added
+ wire_push_confirm function async_function wire_push_confirm L1257–1309
~ tests/test_wire_presign_push.py .py 3 symbols added
+ test_p10_confirm_is_idempotent function async_function test_p10_confirm_is_idempotent L585–607
+ test_p11_full_end_to_end_with_confirm function async_function test_p11_full_end_to_end_with_confirm L615–682
+ test_p9_confirm_registers_objects_and_push_succeeds function async_function test_p9_confirm_registers_objects_and_push_succeeds L520–577
← 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:58b7f5cd38e5728d13720b3d7adbb04cdaf6ea9fcc034be9cb697c04b99d7137 --body "your comment"