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

supabase / supabase-swift / 29764779923
84%

Build:
DEFAULT BRANCH: main
Ran 20 Jul 2026 05:54PM UTC
Jobs 1
Files 96
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

20 Jul 2026 05:43PM UTC coverage: 83.878% (+0.3%) from 83.591%
29764779923

push

github

web-flow
fix(client,functions): warn instead of throw on unrecognized sb_ key subtype; never send new-format key as Bearer (#1130)

* fix(client,functions): warn instead of throw on unrecognized sb_ key subtype; never send new-format key as Bearer

New Supabase API key formats (sb_publishable_.../sb_secret_...) are not JWTs
and must never be sent as an Authorization Bearer token. This adds shared
key-format classification in Helpers, warns once per unrecognized sb_
subtype instead of failing silently in unexpected ways, and stops the
Functions client from ever falling back to a new-format key as Bearer
(at rest and on auth state changes). Legacy JWT keys and Realtime are
unaffected.

Parity with supabase-js commits c23e1ab3 and 558c1f5.

Fixes SDK-1328, SDK-1329.

* fix(test): pass options explicitly for Linux build, fix cspell word

Linux lacks the options-less SupabaseClient convenience init; pass
SupabaseClientOptions() explicitly in the new Functions header tests.
Also rename Unparseable -> Unparsable to satisfy cspell.

* fix(test): use explicit auth storage for Linux-compatible SupabaseClientOptions init

SupabaseClientOptions() with no auth storage is only available off-Linux
(no default AuthLocalStorage impl there). Use the platform-agnostic
init with AuthLocalStorageMock instead.

31 of 43 new or added lines in 2 files covered. (72.09%)

6 existing lines in 2 files now uncovered.

8111 of 9670 relevant lines covered (83.88%)

38.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
72.73
Sources/Helpers/APIKeyFormat.swift
3
76.53
-0.05% Sources/Supabase/SupabaseClient.swift

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 29764779923.1 20 Jul 2026 05:54PM UTC 96
83.88
GitHub Action Run
Source Files on build 29764779923
  • Tree
  • List 96
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29764779923
  • 286ce5f1 on github
  • Prev Build on main (#29763212149)
  • Next Build on main (#29766581958)
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