gabriel / muse public
perf BREAKING task/r2-presign-push #1 / 1
gabriel · 65 days ago · Apr 12, 2026 · Diff

perf: bypass Cloudflare via R2 presigned upload in MWP push

- Redesign Phase 2/3/4 in _push_mwp: presign ALL missing objects (not just large ones) when S3/R2 backend supports it; objects upload client→R2 directly, bypassing Cloudflare proxy entirely - Add confirm_objects to MuseTransport Protocol and HttpTransport: POST /push/objects/confirm registers presigned-uploaded objects in the musehub_objects DB so filter_objects skips them on future pushes - Add no-op confirm_objects to LocalFileTransport - Add ConfirmObjectsResponse TypedDict - Delete dead _push_objects_parallel function - Fix return statement: total_objects now uses presigned_ids + total_inline (old total_small + large_ids variables no longer existed after redesign) - Phase 4 (push_objects) now runs only for inline_ids — a no-op for S3/R2 backends, full flow for local:// backends

--agent-id claude-sonnet-4-6 --model-id claude-sonnet-4-6

sha256:10cc17a9a2d51ccee46d5810ab1c8022692bc80a584a01a49bf87545e94ee36f sha
sha256:4f15bed7cbe7578ffc4dfb82d9ba6e206ac2ba16e1c01500764a0bb19b26bcd8 snapshot
← Older Oldest on task/r2-presign-push
All commits
Newer → Latest on task/r2-presign-push

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:10cc17a9a2d51ccee46d5810ab1c8022692bc80a584a01a49bf87545e94ee36f --body "your comment"