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

supabase / supabase-flutter / 32465485913
89%

Build:
DEFAULT BRANCH: main
Ran 21 Aug 2026 08:57AM UTC
Jobs 10
Files 119
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

21 Aug 2026 08:56AM UTC coverage: 88.549% (+0.05%) from 88.496%
32465485913

push

github

web-flow
refactor(postgrest)!: make the rest client and builders stateless (#1748)

## Summary

Ports the stateless PostgREST refactor from supabase/supabase-swift#1240
to the Flutter SDK, in the idiomatic Dart shape. The builder chain here
was already made up of immutable value types sharing one request config,
and the per-request `accessToken` callback already landed in #1742, so
this PR covers the remaining pieces:

- `PostgrestQueryBuilder` and `PostgrestRpcBuilder` no longer extend the
executable builder, so a request without a table operation no longer
compiles. `await supabase.from('countries')`, which used to compile and
throw an `ArgumentError` at runtime, is now a compile-time error, and
`withConverter()`/`abortSignal()` are only reachable after
`select`/`insert`/`upsert`/`update`/`delete`/`count`. `setHeader()` and
`retry()` stay available on the query phase, since they meaningfully
configure whichever request follows. This is the Dart equivalent of the
Swift phantom-typed phase graph, expressed through the class hierarchy
instead.
- `PostgrestClient.headers` is now an unmodifiable map, making the
client fully stateless after construction.
- `SupabaseClient.rest` is no longer a mutable singleton: assigning
`SupabaseClient.headers` replaces the rest client instead of mutating
its header map in place, and `SupabaseClient.rpc()` no longer
permanently merges the client headers into the rest client on every
call.
- `SupabaseQuerySchema` drops its separate `headers` parameter; the
headers of the rest client it wraps are the single source.
- `PostgrestQueryBuilder` drops its type argument, which only mattered
while the builder was awaitable: `insert`/`upsert`/`update`/`delete`
without a trailing `select()` now resolve to `void` everywhere, instead
of `void` from a standalone `PostgrestClient` but `dynamic` from
`supabase.from()`.
-
`PostgrestBuilder.appendSearchParameters()`/`overrideSearchParameters()`
are removed from the public API; they were internal U... (continued)

133 of 145 new or added lines in 8 files covered. (91.72%)

7 existing lines in 2 files now uncovered.

5900 of 6663 relevant lines covered (88.55%)

4.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
90.7
-9.3% packages/postgrest/lib/src/postgrest.dart
4
96.0
0.2% packages/postgrest/lib/src/postgrest_filter_builder.dart
4
90.32
1.75% packages/postgrest/lib/src/postgrest_query_builder.dart

Coverage Regressions

Lines Coverage ∆ File
4
80.52
-1.22% packages/postgrest/lib/src/postgrest_builder.dart
3
85.63
-1.8% packages/supabase/lib/src/supabase_stream_builder.dart
Jobs
ID Job ID Ran Files Coverage
8 supabase_flutter - 32465485913.8 21 Aug 2026 08:57AM UTC 11
81.82
GitHub Action Run
9 supabase - 32465485913.9 21 Aug 2026 09:00AM UTC 14
92.93
GitHub Action Run
10 postgrest - 32465485913.10 21 Aug 2026 08:59AM UTC 11
84.48
GitHub Action Run
3 supabase_storage - 32367207852.3 20 Aug 2026 12:11PM UTC 9
97.31
GitHub Action Run
5 supabase_common - 32367207852.5 20 Aug 2026 12:08PM UTC 20
87.65
GitHub Action Run
10 yet_another_json_isolate - 32373781271.10 20 Aug 2026 01:22PM UTC 1
98.41
GitHub Action Run
6 supabase_functions - 32373781271.6 20 Aug 2026 01:22PM UTC 4
97.83
GitHub Action Run
9 supabase_realtime - 32367207852.9 20 Aug 2026 12:12PM UTC 13
90.27
GitHub Action Run
2 supabase_auth - 32367207852.2 20 Aug 2026 12:12PM UTC 30
90.67
GitHub Action Run
6 iceberg - 32367207852.6 20 Aug 2026 12:08PM UTC 6
68.62
GitHub Action Run
Source Files on build 32465485913
  • Tree
  • List 119
  • Changed 18
  • Source Changed 18
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32465485913
  • 4efb8ce4 on github
  • Prev Build on main (#32373781271)
  • Next Build on main (#32470384127)
  • 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