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

supabase / supabase-flutter / 43396295816
94%

Build:
DEFAULT BRANCH: main
Ran 13 Nov 2026 08:50AM UTC
Jobs 12
Files 196
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

13 Nov 2026 08:49AM UTC coverage: 94.471% (+0.001%) from 94.47%
43396295816

push

github

web-flow
fix(realtime)!: make RealtimeChannel type safe, including its broadcast and Postgres change API (#2161)

`RealtimeChannel` kept its state in `dynamic` values and nested
string-keyed maps. That hid a bug: adding a presence listener to a
joined channel rejoined it with a config that no longer held
`postgres_changes`, so every Postgres change listener on the channel
went silent. The public broadcast API was also only checked at runtime.

Resolves SDK-3030.

### Changes

**Bugs**

- The join config is built from typed state (the channel config, the
registered bindings, and whether the last join asked for presence)
instead of the nested `_parameters` map. Adding a presence listener to a
joined channel keeps `postgres_changes` in the rejoin, and no longer
rejoins when the last join already enabled presence.
- A legacy `insert`, `update` or `delete` event is enriched once for all
matching listeners. A second listener used to get a payload enriched
twice, which threw a `FormatException`.

**Internal types** (all `@internal`)

- `Binding` holds a `ChannelFilter` instead of a map, its fields are
final, and the server-assigned id is an `int` read once at join time
instead of a string parsed on every event. `ChannelFilter` has value
equality, so `off()` and the `onPostgresChanges` stream cache compare
filters directly.
- `BindingCallback` is `void Function(Object? payload, String? ref)`,
and `_onClose`/`_onError` take typed functions instead of `Function`.
- A `PushStatus` enum (`ok`, `error`, `timeout`) replaces the status
strings of `Push.receive` and `Push.trigger`.
- `send()` takes `Duration? timeout` instead of an options map and no
longer turns its type into a string and back. `RealtimeListenType` maps
to its `ChannelEvent` and loses the unused `system` value.
- The identity `onMessage` hook and the `parameters` getter are gone.

**Public API** (breaking, following `BroadcastMessage` in
supabase-swift)

- `onBroadcast` emits a `BroadcastMessage` with the `e... (continued)

180 of 183 new or added lines in 14 files covered. (98.36%)

44 existing lines in 4 files now uncovered.

13224 of 13998 relevant lines covered (94.47%)

6.99 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
97.46
0.0% packages/supabase_realtime/lib/src/realtime_channel.dart

Coverage Regressions

Lines Coverage ∆ File
23
88.21
0.0% packages/supabase_realtime/lib/src/types.dart
10
97.46
0.0% packages/supabase_realtime/lib/src/realtime_channel.dart
10
95.72
0.0% packages/postgrest/lib/src/postgrest_builder.dart
1
98.39
0.0% packages/supabase_realtime/lib/src/push.dart
Jobs
ID Job ID Ran Files Coverage
8 supabase_common - 43396295816.8 13 Nov 2026 08:51AM UTC 38
94.41
GitHub Action Run
9 supabase_functions - 43396295816.9 13 Nov 2026 08:51AM UTC 4
94.48
GitHub Action Run
10 iceberg - 43396295816.10 13 Nov 2026 08:51AM UTC 7
99.72
GitHub Action Run
11 supabase_test - 43396295816.11 13 Nov 2026 08:50AM UTC 9
93.83
GitHub Action Run
12 supabase_flutter - 43396295816.12 13 Nov 2026 08:51AM UTC 16
89.16
GitHub Action Run
4 supabase - 43390490448.4 13 Nov 2026 08:08AM UTC 22
94.62
GitHub Action Run
7 supabase_storage - 43390490448.7 13 Nov 2026 08:08AM UTC 13
95.89
GitHub Action Run
5 supabase_auth - 43390490448.5 13 Nov 2026 08:08AM UTC 33
94.44
GitHub Action Run
6 postgrest - 43390490448.6 13 Nov 2026 08:08AM UTC 30
93.16
GitHub Action Run
12 supabase_typegen - 43390490448.12 13 Nov 2026 08:08AM UTC 7
95.53
GitHub Action Run
9 supabase_realtime - 43390490448.9 13 Nov 2026 08:08AM UTC 15
92.91
GitHub Action Run
10 yet_another_json_isolate - 43222394842.10 12 Nov 2026 12:57PM UTC 2
98.65
GitHub Action Run
Source Files on build 43396295816
  • Tree
  • List 196
  • Changed 13
  • Source Changed 13
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43396295816
  • 9881a389 on github
  • Prev Build on main (#43390490448)
  • Next Build on main (#43396554937)
  • 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