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

supabase / supabase-flutter / 27763779899
85%

Build:
DEFAULT BRANCH: main
Ran 18 Jun 2026 01:44PM UTC
Jobs 8
Files 78
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

18 Jun 2026 01:43PM UTC coverage: 85.744% (+0.1%) from 85.625%
27763779899

push

github

web-flow
chore(supabase): enable dispose-class-fields and dispose owned clients (#1419)

Stacked on #1417.

## What

Enables the `dispose-class-fields` DCM rule by properly tearing down the
client fields `SupabaseClient` owns.

- `SupabaseClient.dispose()` now disposes the `functions` and `rest`
clients (no-ops today since they share the parent isolate, but correct
by contract) and closes `_authHttpClient`.
- `_authHttpClient` is only closed when the SDK created the underlying
`Client` (i.e. the caller did not pass their own `httpClient`), so a
user-provided client is never closed out from under them.
- `AuthHttpClient.close()` now forwards to its inner client, so the
internally-created `Client()` is actually torn down. This fixes the leak
the rule was flagging (previously `BaseClient.close()` was a no-op and
the inner client was never closed).

## Verification

- `dcm analyze packages` -> no issues found.
- `dart analyze` clean.
- `supabase` package tests: 83 passing, unchanged from baseline.

6 of 6 new or added lines in 2 files covered. (100.0%)

181 existing lines in 10 files now uncovered.

4102 of 4784 relevant lines covered (85.74%)

3.48 hits per line

Coverage Regressions

Lines Coverage ∆ File
65
71.21
0.0% packages/gotrue/lib/src/gotrue_client.dart
34
76.19
0.13% packages/postgrest/lib/src/postgrest_builder.dart
23
88.92
-0.06% packages/realtime_client/lib/src/realtime_channel.dart
21
78.99
2.19% packages/realtime_client/lib/src/types.dart
14
66.67
0.0% packages/gotrue/lib/src/types/mfa.dart
10
85.54
0.0% packages/supabase/lib/src/supabase_stream_builder.dart
8
93.87
0.15% packages/supabase/lib/src/supabase_client.dart
3
91.18
-0.13% packages/realtime_client/lib/src/realtime_client.dart
2
79.03
0.0% packages/yet_another_json_isolate/lib/src/_isolates_io.dart
1
70.87
0.55% packages/realtime_client/lib/src/realtime_presence.dart
Jobs
ID Job ID Ran Files Coverage
1 supabase_flutter - 27763779899.1 18 Jun 2026 01:46PM UTC 9
77.0
GitHub Action Run
2 functions_client - 27763779899.2 18 Jun 2026 01:44PM UTC 2
97.1
GitHub Action Run
3 yet_another_json_isolate - 27763779899.3 18 Jun 2026 01:44PM UTC 1
79.03
GitHub Action Run
4 supabase - 27763779899.4 18 Jun 2026 01:45PM UTC 15
88.78
GitHub Action Run
5 gotrue - 27763779899.5 18 Jun 2026 01:47PM UTC 26
83.51
GitHub Action Run
6 realtime_client - 27763779899.6 18 Jun 2026 01:47PM UTC 11
88.13
GitHub Action Run
7 postgrest - 27763779899.7 18 Jun 2026 01:47PM UTC 9
83.76
GitHub Action Run
8 storage_client - 27763779899.8 18 Jun 2026 01:46PM UTC 5
93.01
GitHub Action Run
Source Files on build 27763779899
  • Tree
  • List 78
  • Changed 41
  • Source Changed 41
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27763779899
  • 0e410718 on github
  • Prev Build on main (#27629919187)
  • Next Build on main (#27767998227)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc