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

supabase / supabase-swift / 28864589364
83%

Build:
DEFAULT BRANCH: main
Ran 07 Jul 2026 12:11PM UTC
Jobs 1
Files 94
Run time 7s
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

pending completion
28864589364

push

github

web-flow
fix(realtime): keep current access token when token fetch fails in setAuth (#1077)

* fix(realtime): keep current access token when token fetch fails in setAuth

setAuth used try? on the accessToken callback, so a transient failure
(e.g. a network error while Auth refreshes the session) produced a nil
token that overwrote the stored one and pushed access_token: null to
every subscribed channel. Since sendHeartbeat calls setAuth on every
tick, a single failed refresh could drop RLS-authorized subscriptions.
Keep the last known token and skip the push when the callback throws,
matching realtime-js where a rejected accessToken() propagates instead
of sending null.

* test(realtime): assert setAuth pushes no null token to channels on fetch failure

* Update Sources/RealtimeV2/RealtimeClientV2.swift

Co-authored-by: Guilherme Souza <ogrsouza@gmail.com>

---------

Co-authored-by: Guilherme Souza <ogrsouza@gmail.com>

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

6 existing lines in 2 files now uncovered.

7824 of 9402 relevant lines covered (83.22%)

37.38 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
37.23
11.68% Sources/Auth/Internal/Keychain.swift
1
41.67
-8.33% Sources/Auth/Storage/KeychainLocalStorage.swift
Jobs
ID Job ID Ran Files Coverage
1 28864589364.1 07 Jul 2026 12:11PM UTC 94
83.22
GitHub Action Run
Source Files on build 28864589364
  • Tree
  • List 94
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28864589364
  • e62ebe09 on github
  • Prev Build on main (#28860310413)
  • Next Build on main (#28868010683)
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