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

supabase / supabase-swift / 42094566955
96%

Build:
DEFAULT BRANCH: main
Ran 05 Nov 2026 07:44PM UTC
Jobs 1
Files 218
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

05 Nov 2026 07:30PM UTC coverage: 95.61% (-0.02%) from 95.631%
42094566955

push

github

web-flow
fix(auth): keep a newer stored session and guard user updates by user id (#1741)

* fix(auth): keep a newer stored session and guard user updates by user id

A user update merged the returned user into whatever session was current,
so an update for user A that finished after user B signed in stored B's
tokens with A's user. The merge now runs only while the held user has the
same id; otherwise the commit changes nothing.

Loading a session that a newer SDK wrote threw a DecodingError, and the
store removed the stored data. After a downgrade, or with an app and an
extension on different SDK versions, that signed the user out on both.
The codec now throws a distinct error for a newer schema, and the store
keeps the data and starts signed out in memory only.

Fixes SDK-2421

* fix(auth): keep a newer stored session after a rejected refresh

A rejected refresh reads storage to adopt a session that another store
saved. It treated a newer schema as no session and removed it. It now
signs out in memory only and keeps the stored data.

16 of 17 new or added lines in 2 files covered. (94.12%)

3 existing lines in 1 file now uncovered.

15113 of 15807 relevant lines covered (95.61%)

503639.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
99.36
-0.2% Sources/Auth/Internal/SessionStore.swift

Coverage Regressions

Lines Coverage ∆ File
3
97.35
-2.65% Sources/Helpers/JSONValue/JSONValue.swift
Jobs
ID Job ID Ran Files Coverage
1 42094566955.1 05 Nov 2026 07:44PM UTC 218
95.61
GitHub Action Run
Source Files on build 42094566955
  • Tree
  • List 218
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42094566955
  • 6316b83f on github
  • Prev Build on main (#42094005102)
  • Next Build on main (#42097307369)
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