You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Edge Functions: oversized chunked requests time out after bounded reader cancellation (CLI 3.4.0) #7853
On macOS ARM64, Supabase CLI 3.4.0 with Edge Runtime 1.79.5 (Deno 2.1.4-compatible)
still has an oversized-request response delivery issue. A JSON endpoint reads a
request stream up to a 1 MiB cap, cancels its reader on overflow, and returns 413.
The normal local serve path can time out on a finite 2 MiB upload. Logs include user body write aborted and connection errors.
The same validator returns 413 in a direct main service and a minimal userWorkers.create / worker.fetch(request) relay. In a temporary copy of the
actual CLI-generated relay, native body forwarding without the extra
reader/Effect wrapper fixes the fixed-length 2 MiB case. Requesting connection
closure for 413/415 then also passes an 8 MiB fixed-length control. JWT checks,
headers and worker limits are retained. However, a finite 2 MiB chunked request
without Content-Length still times out after 15 seconds, rather than delivering
413. A 1 MiB valid-body control succeeds. We did not drain unlimited bodies or
weaken the byte cap. Stock tooling was not modified globally.
Is there a supported way to reject/cancel a bounded streamed request while
reliably delivering the error response through the standard local relay? We
have not tested hosted behavior and are not asserting that the older cloning
issue is the exact cause of this current failure.
Activity