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

supabase / supabase-flutter / 40930954513
94%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2026 06:29PM UTC
Jobs 12
Files 193
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

29 Oct 2026 06:27PM UTC coverage: 94.246% (+0.003%) from 94.243%
40930954513

push

github

web-flow
fix(auth): fail a global or others sign out answered with session_not_found (#2108)

## Summary

`signOut` treated a `403 session_not_found` from `/logout` as "already
signed out" for every scope. That answer only means the current session
is gone, while the other sessions of the user can still exist. So:

- `signOut(scope: SignOutScope.global)` removed the local session,
emitted `signedOut` and returned success, although the other sessions
were still alive.
- `signOut(scope: SignOutScope.others)` returned success without having
revoked anything.

Following the error table of the proposed sign out spec
(supabase/sdk#302):

| Server answer | `local` | `global` | `others` |
| ------------------------ | ------------------ |
--------------------------- | --------------------------- |
| `204` | Success | Success | Success |
| `403` `user_not_found` | Already signed out | Already signed out |
Already signed out |
| `403` `session_not_found`| Already signed out | Throws, local session
kept | Throws, local session kept |

For `global` the local session is kept on that failure, so the app can
fall back to `SignOutScope.local` to sign out the device. The `signOut`
dartdoc now says so.

## Tests

`sign_out_scope_test.dart` gets a group that runs each scope against
`204`, `403 user_not_found` and `403 session_not_found`, checking the
local session, the emitted events and, for the failures, the thrown
error code. The old global test that expected success on
`session_not_found` is replaced, and an others test made redundant by
the new group is removed.

Fixes SDK-2600

3 of 3 new or added lines in 1 file covered. (100.0%)

25 existing lines in 1 file now uncovered.

12497 of 13260 relevant lines covered (94.25%)

6.58 hits per line

Coverage Regressions

Lines Coverage ∆ File
25
93.68
0.06% packages/supabase_auth/lib/src/auth_client.dart
Jobs
ID Job ID Ran Files Coverage
3 supabase_functions - 40930954513.3 29 Oct 2026 06:29PM UTC 4
94.01
GitHub Action Run
4 supabase_test - 40930954513.4 29 Oct 2026 06:29PM UTC 9
93.55
GitHub Action Run
5 iceberg - 40930954513.5 29 Oct 2026 06:29PM UTC 7
99.72
GitHub Action Run
6 supabase_flutter - 40930954513.6 29 Oct 2026 06:30PM UTC 16
89.03
GitHub Action Run
7 postgrest - 40930954513.7 29 Oct 2026 06:32PM UTC 30
92.81
GitHub Action Run
8 supabase_typegen - 40930954513.8 29 Oct 2026 06:32PM UTC 6
94.44
GitHub Action Run
9 supabase_storage - 40930954513.9 29 Oct 2026 06:32PM UTC 13
95.96
GitHub Action Run
10 supabase - 40930954513.10 29 Oct 2026 06:33PM UTC 21
94.52
GitHub Action Run
11 supabase_realtime - 40930954513.11 29 Oct 2026 06:32PM UTC 14
92.01
GitHub Action Run
12 supabase_auth - 40930954513.12 29 Oct 2026 06:34PM UTC 34
94.83
GitHub Action Run
2 supabase_common - 40911627463.2 29 Oct 2026 04:28PM UTC 37
94.39
GitHub Action Run
3 yet_another_json_isolate - 40346664947.3 26 Oct 2026 03:11PM UTC 2
98.65
GitHub Action Run
Source Files on build 40930954513
  • Tree
  • List 193
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40930954513
  • 95a2fc52 on github
  • Prev Build on main (#40930548214)
  • Next Build on main (#41066574325)
  • 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