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

supabase / supabase-flutter / 39974612774
93%

Build:
DEFAULT BRANCH: main
Ran 23 Oct 2026 03:03PM UTC
Jobs 12
Files 185
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 03:01PM UTC coverage: 92.595% (+0.2%) from 92.427%
39974612774

push

github

web-flow
fix(supabase_flutter)!: keep cold-start auth links and make initialize safe against concurrent calls and dispose (#2034)

Fixes
[SDK-2352](https://linear.app/supabase/issue/SDK-2352/fixsupabase-flutter-cold-start-deep-links-can-be-lost-and-initialize).

## Changes

1. **Cold-start auth links are no longer lost.** `app_links` sends the
link that launched the app only to the first listener of its link
stream. `SupabaseAuth` now subscribes before waiting for the session
restore and holds back incoming links until the restore is done. It also
reads `getInitialLink` explicitly, so the link is exchanged even when
the app subscribed first. A launch link delivered both ways is exchanged
once. A link the `detectSessionInUriPredicate` throws for is logged and
skipped, so it cannot hold back later links.
2. **A concurrent `Supabase.initialize` waits for the first one.** Every
call gets the pending future, so a second call no longer returns a
half-ready instance. A call with another `url` or `publishableKey` fails
with a `StateError`. A failed initialization that never created a client
is forgotten, so the next call tries again.
3. **`dispose` during `initialize` leaks nothing.**
`SupabaseAuth.initialize` stops after the session restore when it was
disposed, and the link subscription it opened early is cancelled by
`dispose`.
4. **`WidgetsFlutterBinding.ensureInitialized()` is called
unconditionally**, so a custom `asyncStorage` no longer breaks the
`AppLifecycleListener` setup.
5. **The launch link is handled the same way on every platform.** It is
exchanged right after `initialize` completes, on web as well as on
mobile. This is documented on `Supabase.initialize` and in
`MIGRATION.md`.
6. **`signInWithSSO` takes `authScreenLaunchMode`**, the name
`signInWithOAuth` and `linkIdentity` use.
7. **`initializeTestSupabase` throws when an earlier instance was not
disposed**, instead of returning it with the earlier test's mocks. It
checks a new `@internal` getter, `S... (continued)

54 of 59 new or added lines in 3 files covered. (91.53%)

1 existing line in 1 file now uncovered.

11729 of 12667 relevant lines covered (92.59%)

6.19 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
87.27
16.49% packages/supabase_flutter/lib/src/supabase_auth.dart

Coverage Regressions

Lines Coverage ∆ File
1
87.27
16.49% packages/supabase_flutter/lib/src/supabase_auth.dart
Jobs
ID Job ID Ran Files Coverage
12 supabase_flutter - 39974612774.12 23 Oct 2026 03:03PM UTC 16
86.3
GitHub Action Run
10 supabase_typegen - 39972307761.10 23 Oct 2026 02:49PM UTC 6
94.46
GitHub Action Run
3 iceberg - 39972307761.3 23 Oct 2026 02:47PM UTC 6
77.18
GitHub Action Run
3 yet_another_json_isolate - 39964796217.3 23 Oct 2026 01:53PM UTC 1
98.68
GitHub Action Run
10 supabase_common - 39964796217.10 23 Oct 2026 01:53PM UTC 36
94.12
GitHub Action Run
4 supabase_functions - 39972307761.4 23 Oct 2026 02:47PM UTC 4
93.87
GitHub Action Run
7 supabase_test - 39972307761.7 23 Oct 2026 02:47PM UTC 9
92.31
GitHub Action Run
9 postgrest - 39972307761.9 23 Oct 2026 02:50PM UTC 29
92.41
GitHub Action Run
11 supabase_storage - 39972307761.11 23 Oct 2026 02:50PM UTC 10
96.51
GitHub Action Run
12 supabase - 39972307761.12 23 Oct 2026 02:52PM UTC 20
93.84
GitHub Action Run
8 supabase_auth - 39972307761.8 23 Oct 2026 02:51PM UTC 34
94.05
GitHub Action Run
5 supabase_realtime - 39972307761.5 23 Oct 2026 02:49PM UTC 14
91.69
GitHub Action Run
Source Files on build 39974612774
  • Tree
  • List 185
  • Changed 7
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39974612774
  • 7d376e8e on github
  • Prev Build on main (#39972307761)
  • Next Build on main (#39977567655)
  • 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