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

supabase / supabase-swift / 42811619925
96%

Build:
DEFAULT BRANCH: main
Ran 10 Nov 2026 12:05PM 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

10 Nov 2026 11:56AM UTC coverage: 95.995% (-0.02%) from 96.013%
42811619925

push

github

web-flow
fix(realtime)!: httpSend sends the configured headers, and Authorization only with a token (#1780)

* fix(realtime)!: httpSend sends the configured headers and X-Client-Info

httpSend built its headers from scratch and sent only Content-Type,
apikey and Authorization. It now starts from the client's headers
(Configuration.headers, the global headers under SupabaseClient, and
X-Client-Info), then sets Content-Type and Authorization on top.

- timeout stays a total deadline (default requestTimeout, kind
  .timeout), like every other Realtime timeout. The HTTP idle timeout
  still applies underneath; Configuration.http documents both.
- httpSend never retries: a replay can deliver a broadcast twice.

BREAKING CHANGE: RealtimeChannel.httpSend sends every configured and
global header, including X-Client-Info, on the REST broadcast request.

Fixes SDK-2874

* test(realtime): stall the deadline test with a Gate, not Task.sleep

* fix(realtime)!: httpSend sends only apikey when it has no access token

The broadcast endpoint accepts `apikey` alone on a public channel; only
a private channel needs a token its RLS policies accept. httpSend now
sets `Authorization` only when the client has a token, as supabase-js
does, instead of throwing before it sends.

BREAKING CHANGE: RealtimeError.Kind.accessTokenMissing is removed;
nothing throws it any more.

7 of 7 new or added lines in 2 files covered. (100.0%)

3 existing lines in 1 file now uncovered.

15698 of 16353 relevant lines covered (95.99%)

694891.83 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
97.35
-2.65% Sources/Helpers/JSONValue/JSONValue.swift
Jobs
ID Job ID Ran Files Coverage
1 42811619925.1 10 Nov 2026 12:05PM UTC 218
95.99
GitHub Action Run
Source Files on build 42811619925
  • Tree
  • List 218
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42811619925
  • 3058feaa on github
  • Prev Build on main (#42802959846)
  • Next Build on main (#42827545940)
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