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

supabase / supabase-flutter / 40336741954
94%

Build:
DEFAULT BRANCH: main
Ran 26 Oct 2026 02:09PM UTC
Jobs 12
Files 187
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

26 Oct 2026 02:07PM UTC coverage: 94.065% (+0.01%) from 94.051%
40336741954

push

github

web-flow
fix(auth)!: signOut must not report success when the server revoke was skipped or lost (#2053)

Fixes
[SDK-2374](https://linear.app/supabase/issue/SDK-2374/fixauth-signout-must-not-report-success-when-the-server-revoke-was).

`signOut` could return normally although the server never revoked
anything. Global and others sign out now throw and keep the session
instead of reporting success. A local sign out now waits for its revoke,
so `dispose()` can no longer abort it, and logs a failure instead of
throwing, since the app has no session left to retry with.

## Global and others sign out

When `getSession()` fails to refresh (429, a proxy page, an unknown
error code) the session is kept since #2033, and `signOut(scope: global
| others)` used to fall back to the stored, expired access token. GoTrue
answers `/logout` with 403 `bad_jwt` for it, which counted as "already
signed out", so the call succeeded while every other device stayed
signed in.

- When the refresh fails and the stored access token has expired,
`signOut` rethrows the refresh error and keeps the session. A token
still inside the expiry margin is used as before, but only if no other
sign in replaced the session meanwhile.
- When the refresh token was rejected, the failed refresh has already
signed this device out, but nothing was revoked on the server. `signOut`
used to return normally here. It now rethrows, so the other devices are
not silently left signed in.
- `_revokeSessions` used to ignore every 401, 403 and 404 from
`/logout`. GoTrue (checked against v2.197) answers an expired or forged
access token with 403 `bad_jwt`, and a session or user that is already
gone with 403 `session_not_found` or `user_not_found`. It now reads the
error code: only `session_not_found` and `user_not_found` count as
already signed out, so `bad_jwt` throws. For a server that answers
without an error code, a 404 still counts as signed out, and a 401 or
403 counts as signed out only when neither the message nor... (continued)

53 of 57 new or added lines in 1 file covered. (92.98%)

1 existing line in 1 file now uncovered.

12156 of 12923 relevant lines covered (94.06%)

6.34 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
93.3
0.24% packages/supabase_auth/lib/src/auth_client.dart

Coverage Regressions

Lines Coverage ∆ File
1
93.3
0.24% packages/supabase_auth/lib/src/auth_client.dart
Jobs
ID Job ID Ran Files Coverage
3 supabase_test - 40336741954.3 26 Oct 2026 02:10PM UTC 9
93.55
GitHub Action Run
4 supabase_functions - 40336741954.4 26 Oct 2026 02:09PM UTC 4
94.01
GitHub Action Run
5 postgrest - 40336741954.5 26 Oct 2026 02:13PM UTC 29
92.45
GitHub Action Run
6 supabase_auth - 40336741954.6 26 Oct 2026 02:14PM UTC 34
94.12
GitHub Action Run
7 supabase_typegen - 40336741954.7 26 Oct 2026 02:12PM UTC 6
94.46
GitHub Action Run
8 supabase_storage - 40336741954.8 26 Oct 2026 02:11PM UTC 10
96.51
GitHub Action Run
9 iceberg - 40336741954.9 26 Oct 2026 02:09PM UTC 6
100.0
GitHub Action Run
10 supabase - 40336741954.10 26 Oct 2026 02:14PM UTC 21
94.16
GitHub Action Run
11 supabase_realtime - 40336741954.11 26 Oct 2026 02:12PM UTC 14
91.77
GitHub Action Run
12 supabase_flutter - 40336741954.12 26 Oct 2026 02:10PM UTC 16
89.29
GitHub Action Run
4 yet_another_json_isolate - 40330369462.4 26 Oct 2026 01:27PM UTC 2
98.65
GitHub Action Run
1 supabase_common - 40299077241.1 26 Oct 2026 09:24AM UTC 36
94.12
GitHub Action Run
Source Files on build 40336741954
  • Tree
  • List 187
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40336741954
  • 62b923e6 on github
  • Prev Build on main (#40333345355)
  • Next Build on main (#40340509539)
  • 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