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

supabase / supabase-flutter / 39926427044
94%

Build:
DEFAULT BRANCH: main
Ran 23 Oct 2026 08:44AM UTC
Jobs 11
Files 174
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

23 Oct 2026 08:41AM UTC coverage: 91.706% (+0.009%) from 91.697%
39926427044

push

github

web-flow
refactor(yet_another_json_isolate)!: drop initialize(), align web and IO behavior, and keep small toJson objects off the isolate (#2041)

Resolves
[SDK-2351](https://linear.app/supabase/issue/SDK-2351/refactoryet-another-json-isolate-drop-initialize-align-web-and-io).

## Changes

### `initialize()` is removed

It was a no-op kept for backwards compatibility that still asserted on a
second call. It is gone from both implementations, from
`sdk-compliance.yaml`, and from the callers in `postgrest`,
`supabase_functions`, `supabase`, the benchmark and the example. The
MIGRATION.md snippet no longer calls it, and the JSON codec section says
to delete the call.

### Web and IO behave the same

- The web constructor is no longer `const`, and it exposes `debugName`
like the IO one.
- On web, `dispose()` now makes later calls throw a `StateError`, as IO
already did.
- Web `encode` awaited before encoding, so a caller could mutate the
value before it was read. That broke the `AsyncJsonCodec` contract. It
now encodes synchronously, like the IO inline path.

### Web runs inline, and the docs say so

The library doc, README, pubspec description and web class doc now state
that on web every payload is processed inline on the main thread.

### `toJson()` runs on the calling isolate

`encode` makes one pass over the value on the calling isolate. It
replaces objects that are not JSON values with the result of their
`toJson()` method and estimates the encoded size at the same time,
replacing the separate size walk. A small model object is now encoded
inline instead of spawning an isolate, and `toJson` runs on the calling
isolate once for each place the object appears, so its side effects
happen where the caller expects them. Lists and maps are only copied
when something inside them is replaced.

A value that cannot be encoded is encoded inline, so `jsonEncode` throws
exactly the error it always did, without an isolate spawn. Values that
cannot be encoded include a `toJ... (continued)

46 of 47 new or added lines in 4 files covered. (97.87%)

10747 of 11719 relevant lines covered (91.71%)

5.39 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.68
0.25% packages/yet_another_json_isolate/lib/src/json_isolate_io.dart
Jobs
ID Job ID Ran Files Coverage
2 supabase_common - 39926427044.2 23 Oct 2026 08:44AM UTC 35
93.58
GitHub Action Run
3 yet_another_json_isolate - 39926427044.3 23 Oct 2026 08:44AM UTC 1
98.68
GitHub Action Run
4 supabase_flutter - 39926427044.4 23 Oct 2026 08:45AM UTC 16
80.84
GitHub Action Run
5 postgrest - 39926427044.5 23 Oct 2026 08:48AM UTC 28
91.26
GitHub Action Run
6 iceberg - 39926427044.6 23 Oct 2026 08:44AM UTC 6
71.32
GitHub Action Run
7 supabase_typegen - 39926427044.7 23 Oct 2026 08:44AM UTC 6
94.36
GitHub Action Run
8 supabase - 39926427044.8 23 Oct 2026 08:47AM UTC 20
94.12
GitHub Action Run
9 supabase_storage - 39926427044.9 23 Oct 2026 08:48AM UTC 10
96.26
GitHub Action Run
10 supabase_realtime - 39926427044.10 23 Oct 2026 08:47AM UTC 14
91.18
GitHub Action Run
11 supabase_functions - 39926427044.11 23 Oct 2026 08:44AM UTC 4
93.28
GitHub Action Run
11 supabase_auth - 39922342490.11 23 Oct 2026 08:13AM UTC 34
93.38
GitHub Action Run
Source Files on build 39926427044
  • Tree
  • List 174
  • Changed 4
  • Source Changed 4
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39926427044
  • 69474c10 on github
  • Prev Build on main (#39922342490)
  • Next Build on main (#39927507934)
  • 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