feat: presigned R2 push routing above threshold
Replace CF Worker path with presigned R2 path. Pushes >= 500 objects or >= 50 MB raw on non-loopback URLs call POST /push/presign first, PUT objects directly to R2 (bypassing Cloudflare timeout), then send a zero-O-frame push/stream. Objects with no presigned URL (LocalBackend) fall back to inline O frames. Loopback URLs always stream regardless of size.
Tests: P8a-P8f covering threshold logic and stream_these inline fallback.
sha256:1c2d6cbc0359efcffcea20d86c1e703c111c159df36c121b7cf66a81fbed3e9f
sha
+19
~1
symbols
sha256:baa547d7240cf24a459125393a0789e2cf1f085f7e9fcedad6e23261a8569d3e
snapshot
+19
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes
20 symbols
+
test_p8a_below_threshold_uses_stream
function
function test_p8a_below_threshold_uses_stream L55–57
+
test_p8b_object_threshold_triggers_presign
function
function test_p8b_object_threshold_triggers_presign L64–66
+
test_p8c_byte_threshold_triggers_presign
function
function test_p8c_byte_threshold_triggers_presign L73–77
+
test_p8f_stream_these_objects_not_dropped
function
function test_p8f_stream_these_objects_not_dropped L157–177
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:1c2d6cbc0359efcffcea20d86c1e703c111c159df36c121b7cf66a81fbed3e9f --body "your comment"
No comments yet. Be the first to start the discussion.