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

supabase / supabase-flutter / 32299689172
89%

Build:
DEFAULT BRANCH: main
Ran 19 Aug 2026 08:41PM UTC
Jobs 10
Files 117
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

19 Aug 2026 08:39PM UTC coverage: 88.445% (-0.3%) from 88.752%
32299689172

push

github

web-flow
refactor!: rework logging to emit only through the supabase logger hierarchy (#1741)

## What kind of change does this PR introduce?

Refactor of how logging works across all packages, for v3.

Closes #1533

## What is the current behavior?

- `Supabase.initialize(debug:)` attaches a `debugPrint` listener inside
the SDK, with the default derived from `kDebugMode &&
!isRunningInFlutterTest` (the test-detection hack that prompted #1533).
- Because nothing sets `hierarchicalLoggingEnabled`,
`Logger('supabase').onRecord` resolves to the root logger's stream, so
the listener actually prints every `INFO`+ record of the entire
application, not just Supabase records.
- The README example (`Logger('supabase').level = Level.ALL`) throws
`UnsupportedError` under default `package:logging` settings.
- `RealtimeClient` has a second, JS-ported logging path: a public
`logger` callback and a public `log(kind, message, data, level)` method,
with almost everything logged at `FINEST` including genuine errors.
- Each file constructs its own `Logger`, partly as per-instance fields,
with the name string duplicated across files.

## What is the new behavior?

Libraries emit, applications listen:

- Every package emits through one package-private `package:logging`
logger defined in a single `src/logger.dart` (marked `@internal`). No
Supabase package prints, attaches listeners, or mutates
`package:logging` state anymore.
- `Supabase.initialize(debug:)`, the internal `debugPrint` listener, and
the Flutter-test detection are removed.
- `RealtimeClient.logger` and `RealtimeClient.log` are removed; realtime
call sites now log directly on the `supabase.realtime` logger with
deliberate levels (`FINEST` wire payloads, `FINE` lifecycle, `WARNING`
for failures such as decode errors, heartbeat timeouts, and connection
errors that were previously logged at `FINEST`).
- Logger names are cleaned up: `supabase.supabase` becomes
`supabase.dart` and `supabase.supabase_flutter` becomes
`supaba... (continued)

128 of 169 new or added lines in 25 files covered. (75.74%)

7 existing lines in 4 files now uncovered.

5909 of 6681 relevant lines covered (88.44%)

4.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
21
27.59
packages/supabase_common/lib/src/redaction.dart
7
84.82
-0.14% packages/supabase_auth/lib/src/auth_client.dart
4
69.09
0.0% packages/supabase_flutter/lib/src/supabase_auth.dart
2
87.5
-1.39% packages/supabase_flutter/lib/src/supabase.dart
2
93.77
-0.27% packages/supabase_realtime/lib/src/realtime_channel.dart
2
96.21
0.76% packages/supabase_realtime/lib/src/realtime_client.dart
2
93.86
-0.48% packages/supabase_storage/lib/src/fetch.dart
1
95.53
0.0% packages/supabase/lib/src/supabase_client.dart

Coverage Regressions

Lines Coverage ∆ File
3
85.63
-1.8% packages/supabase/lib/src/supabase_stream_builder.dart
2
84.82
-0.14% packages/supabase_auth/lib/src/auth_client.dart
1
93.86
-0.48% packages/supabase_storage/lib/src/fetch.dart
1
87.5
-1.39% packages/supabase_flutter/lib/src/supabase.dart
Jobs
ID Job ID Ran Files Coverage
2 supabase_realtime - 32299689172.2 19 Aug 2026 08:44PM UTC 13
90.27
GitHub Action Run
3 supabase_storage - 32299689172.3 19 Aug 2026 08:43PM UTC 9
97.3
GitHub Action Run
4 supabase - 32299689172.4 19 Aug 2026 08:44PM UTC 14
90.69
GitHub Action Run
5 supabase_common - 32299689172.5 19 Aug 2026 08:41PM UTC 18
88.84
GitHub Action Run
6 supabase_functions - 32299689172.6 19 Aug 2026 08:41PM UTC 4
97.78
GitHub Action Run
7 supabase_auth - 32299689172.7 19 Aug 2026 08:45PM UTC 30
90.69
GitHub Action Run
8 postgrest - 32299689172.8 19 Aug 2026 08:43PM UTC 11
85.16
GitHub Action Run
9 supabase_flutter - 32299689172.9 19 Aug 2026 08:41PM UTC 11
81.34
GitHub Action Run
10 iceberg - 32299689172.10 19 Aug 2026 08:41PM UTC 6
68.67
GitHub Action Run
2 yet_another_json_isolate - 32034091672.2 17 Aug 2026 01:16PM UTC 1
94.44
GitHub Action Run
Source Files on build 32299689172
  • Tree
  • List 117
  • Changed 17
  • Source Changed 17
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32299689172
  • d1642c80 on github
  • Prev Build on main (#32267202794)
  • Next Build on main (#32354126909)
  • 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