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

supabase / supabase-flutter / 32488229193
89%

Build:
DEFAULT BRANCH: main
Ran 21 Aug 2026 01:43PM UTC
Jobs 10
Files 120
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 01:42PM UTC coverage: 88.576% (+0.06%) from 88.518%
32488229193

push

github

web-flow
refactor!: process JSON through the AsyncJsonCodec interface (#1751)

`YAJsonIsolate` was the type the clients named in their public API. That
tied
them to one implementation, and on web to one that spawns no isolate at
all, so
the parameter both misnamed what it takes and left no way to process
JSON any
other way.

`YAJsonIsolate` now implements `AsyncJsonCodec`, a four method interface
(`decode`, `decodeBytes`, `encode`, `dispose`), and the clients take
that
interface instead.

### Changes

- `yet_another_json_isolate`: new `AsyncJsonCodec` interface,
implemented by
both the io and the web `YAJsonIsolate`, and exported from the package.
- `SupabaseClient`, `PostgrestClient` and `FunctionsClient`: `isolate:`
is now
`jsonCodec:` and takes an `AsyncJsonCodec`. The same rename runs through
  `PostgrestBuilder`, `PostgrestQueryBuilder`, `PostgrestRpcBuilder`,
`RawPostgrestBuilder`, `SupabaseQueryBuilder` and `SupabaseQuerySchema`.
- `postgrest` and `supabase_functions` export the interface, so the
parameter is
reachable without depending on `yet_another_json_isolate` directly,
which the
old parameter was not. `supabase` and `supabase_flutter` re-export it in
turn.
The concrete `YAJsonIsolate` stays unexported, so replacing the default
implementation later is not a breaking change for the flagship package.
- Ownership is unchanged: a codec passed to a client belongs to the
caller and
is never disposed by it. A client that was not given one creates the
default
codec and disposes it with itself. `SupabaseClient` hands its codec to
the
  rest and functions clients it builds, so one codec serves all three.
- `MIGRATION.md`: an entry for the rename.
- `sdk-compliance.yaml`: the interface registered under
`supporting_symbols`.

### Why an interface rather than the concrete type

Since #1746 there is no long-lived worker isolate: small payloads are
processed
inline and large ones on a short-lived isolate spawned per call. So
sharing an
instance buys nothing meas... (continued)

35 of 36 new or added lines in 6 files covered. (97.22%)

5978 of 6749 relevant lines covered (88.58%)

4.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
80.67
0.15% packages/postgrest/lib/src/postgrest_builder.dart
Jobs
ID Job ID Ran Files Coverage
2 yet_another_json_isolate - 32488229193.2 21 Aug 2026 01:43PM UTC 1
98.44
GitHub Action Run
3 supabase_storage - 32488229193.3 21 Aug 2026 01:46PM UTC 9
97.31
GitHub Action Run
4 supabase_flutter - 32488229193.4 21 Aug 2026 01:43PM UTC 11
82.11
GitHub Action Run
5 iceberg - 32488229193.5 21 Aug 2026 01:43PM UTC 6
68.52
GitHub Action Run
6 supabase - 32488229193.6 21 Aug 2026 01:46PM UTC 14
93.58
GitHub Action Run
7 supabase_functions - 32488229193.7 21 Aug 2026 01:43PM UTC 4
97.83
GitHub Action Run
8 supabase_realtime - 32488229193.8 21 Aug 2026 01:47PM UTC 13
90.15
GitHub Action Run
9 supabase_auth - 32488229193.9 21 Aug 2026 01:47PM UTC 30
90.67
GitHub Action Run
10 postgrest - 32488229193.10 21 Aug 2026 01:45PM UTC 11
84.5
GitHub Action Run
7 supabase_common - 32470384127.7 21 Aug 2026 09:59AM UTC 21
86.96
GitHub Action Run
Source Files on build 32488229193
  • Tree
  • List 120
  • Changed 12
  • Source Changed 11
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32488229193
  • 6969eb38 on github
  • Prev Build on main (#32480403815)
  • Next Build on main (#32709892111)
  • 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