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

supabase / supabase-swift / 44279819879
96%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2026 10:05AM UTC
Jobs 1
Files 223
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 09:51AM UTC coverage: 96.141% (-0.02%) from 96.158%
44279819879

push

github

web-flow
refactor(supabase)!: one http, logger and clock for every sub-client (#1858)

* refactor(supabase)!: one http, logger and clock for every sub-client

Apply "Convenience over configuration" (supabase/sdk docs/principles.md):
SupabaseClient.Configuration drops the per-module http, logger and clock
overrides. Every sub-client uses Global.http, Global.logger and
Global.clock. The clock and now test hooks move behind @_spi(Testing) on
the facade and on the standalone Auth, AuthAdmin, PostgREST, Storage and
Realtime configurations; tests set them on the configuration value.

A path-branching middleware or transport on Global.http replaces a
per-module http, and a LogHandler that reads the `system` metadata
replaces a per-module logger. The new "Configuring One Module" DocC
article shows both.

BREAKING CHANGE: SupabaseClient.Configuration.Database, .Auth,
.Functions, .Storage and .Realtime no longer have http or logger, and
Database, Auth, Storage and Realtime no longer have clock.
Configuration.Global.clock, and clock and now on the standalone module
configurations, are @_spi(Testing) and are no longer init parameters.

* refactor(supabase): trim duplicated docs and test setup after the config cleanup

Point V3_MIGRATION.md at the Configuring One Module article instead of
repeating its code, note the project-URL path in the article, copy the
global HTTP settings in resolveHTTP instead of rebuilding them, and share
the client setup in the Realtime integration tests.

* docs(auth): drop DocC links to the SPI clock and now

* fix(realtime): yield the presence state before the change

A consumer that wakes on a presence change could read presenceStates() before the
matching state arrived. This made presenceStatesSkipToTheLatestStateForASlowConsumer
fail on the iOS simulators.

Also fix two doc examples: the v3 Realtime logger in V3_MIGRATION.md, and the Storage
transport in ConfiguringOneModule.md, which used a background URLSession.

56 of 56 new or added lines in 8 files covered. (100.0%)

5 existing lines in 1 file now uncovered.

16417 of 17076 relevant lines covered (96.14%)

666666.82 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
83.87
-16.13% Sources/Helpers/Codable.swift
Jobs
ID Job ID Ran Files Coverage
1 44279819879.1 18 Nov 2026 10:05AM UTC 223
96.14
GitHub Action Run
Source Files on build 44279819879
  • Tree
  • List 223
  • Changed 10
  • Source Changed 8
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44279819879
  • 1a2d26b5 on github
  • Prev Build on main (#44279342830)
  • Next Build on main (#44285342311)
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