• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-flutter / 37944513512
92%

Build:
DEFAULT BRANCH: main
Ran 09 Oct 2026 02:31PM UTC
Jobs 11
Files 175
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Oct 2026 02:29PM UTC coverage: 91.51% (-0.04%) from 91.552%
37944513512

push

github

web-flow
feat!: make the request timeout an idle timeout and add it to auth, storage and functions (#1938)

Fixes
[SDK-2133](https://linear.app/supabase/issue/SDK-2133/feat-configurable-request-timeout-for-auth-storage-and-functions).

## What

- **Idle timeout everywhere.** `requestTimeout` now bounds how long a
request may go without progress instead of its total duration. The timer
restarts on every chunk of a request body that is sent (large in-memory
bodies are fed in 64 KB slices so they show progress too), when the
response headers arrive, and on every chunk of the response body. A
large but steady transfer is never cut short, and a stalled request is
still cancelled. This matches Swift (supabase/supabase-swift#1343),
which uses `URLRequest.timeoutInterval` for the same reason.
- **One shared implementation.** `IdleTimeout` in `supabase_common`
builds abortable requests whose bodies it watches (`request()`,
`multipartRequest()`, and `watchRequestBody()` for streamed uploads),
and wraps the response body stream. The timer pauses while the consumer
pauses its subscription and stops once the body is done. It also
surfaces a `TimeoutException` when the HTTP client ignores the abort
trigger, releases the late response in that case, stops the timer when a
send fails, and cancels a response body nobody listened to once the
timeout expires. PostgREST drops its own timer code and uses it too.
- **New options.**
- `SupabaseClient(requestTimeout:)` and
`Supabase.initialize(requestTimeout:)` set a default for every HTTP
service.
- `AuthClientOptions`, `StorageClientOptions` and
`FunctionsClientOptions` each get `requestTimeout`, which overrides the
global value for that service. `PostgrestClientOptions.requestTimeout`
now does the same.
- The `AuthClient`, `AuthAdminApi`, `SupabaseStorageClient` and
`FunctionsClient` constructors take it as well.
- `FunctionsClient.invoke(requestTimeout:)` overrides it for a single
invocation, next to the existing per-request overr... (continued)

134 of 147 new or added lines in 11 files covered. (91.16%)

1 existing line in 1 file now uncovered.

9496 of 10377 relevant lines covered (91.51%)

5.18 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
86.6
packages/supabase_common/lib/src/idle_timeout.dart

Coverage Regressions

Lines Coverage ∆ File
1
96.97
0.0% packages/supabase_auth/lib/src/auth_admin_api.dart
Jobs
ID Job ID Ran Files Coverage
2 supabase_common - 37944513512.2 09 Oct 2026 02:32PM UTC 23
88.14
GitHub Action Run
3 supabase_functions - 37944513512.3 09 Oct 2026 02:31PM UTC 4
93.28
GitHub Action Run
4 supabase_flutter - 37944513512.4 09 Oct 2026 02:32PM UTC 15
80.58
GitHub Action Run
5 postgrest - 37944513512.5 09 Oct 2026 02:35PM UTC 30
92.97
GitHub Action Run
6 supabase_typegen - 37944513512.6 09 Oct 2026 02:34PM UTC 24
96.19
GitHub Action Run
7 supabase_storage - 37944513512.7 09 Oct 2026 02:33PM UTC 9
98.46
GitHub Action Run
8 iceberg - 37944513512.8 09 Oct 2026 02:31PM UTC 6
69.17
GitHub Action Run
9 supabase_realtime - 37944513512.9 09 Oct 2026 02:34PM UTC 14
91.11
GitHub Action Run
10 supabase - 37944513512.10 09 Oct 2026 02:35PM UTC 17
95.05
GitHub Action Run
11 supabase_auth - 37944513512.11 09 Oct 2026 02:35PM UTC 32
92.16
GitHub Action Run
11 yet_another_json_isolate - 37623283614.11 07 Oct 2026 12:48PM UTC 1
98.44
GitHub Action Run
Source Files on build 37944513512
  • Tree
  • List 175
  • Changed 16
  • Source Changed 16
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37944513512
  • e312f31a on github
  • Prev Build on main (#37939928541)
  • Next Build on main (#38223427918)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc