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

supabase / supabase-swift / 44378515053
96%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2026 07:27PM UTC
Jobs 1
Files 224
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

18 Nov 2026 07:15PM UTC coverage: 96.204% (+0.03%) from 96.177%
44378515053

push

github

web-flow
fix(auth): store the server's user after unlinkIdentity (#1851)

* fix(auth): store the server's user after unlinkIdentity

unlinkIdentity edited the stored user on the client: it removed the
identity and its provider from app_metadata.providers. The Auth server
owns the user record and can change more on unlink, such as clearing
the phone or moving the email to another identity.

After a successful unlink, the client now fetches the user with
GET /user, stores it, and emits userUpdated. When that fetch or the
storage write fails, the call still succeeds, because the identity is
already deleted; currentUser keeps the old user until the next refresh
or user update.

* test(auth): cover a refetched user with another ID in unlinkIdentity

* fix(auth): do not retry the user refetch after unlinkIdentity

The refetch after a successful unlink is best effort: its result is
discarded on failure. With the default retry policy, a GET that hits a
5xx or a timeout waited through every retry and backoff, so a failing
server made unlinkIdentity slow for no gain. The refetch now retries
only connection failures, through a new AuthRequest.retriesServerFailures
switch.

The unlinkIdentity integration test now awaits the deletion of its
test user instead of starting it in an unawaited Task.

* style(auth): rename a local to pass the spell check

12 of 12 new or added lines in 3 files covered. (100.0%)

16550 of 17203 relevant lines covered (96.2%)

664366.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44378515053.1 18 Nov 2026 07:27PM UTC 224
96.2
GitHub Action Run
Source Files on build 44378515053
  • Tree
  • List 224
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44378515053
  • 88ea33f4 on github
  • Prev Build on main (#44376694894)
  • Next Build on main (#44406701863)
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