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

supabase / supabase-swift / 39386000732
93%

Build:
DEFAULT BRANCH: main
Ran 20 Oct 2026 07:28AM UTC
Jobs 1
Files 172
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 Oct 2026 07:21AM UTC coverage: 92.782% (+0.001%) from 92.781%
39386000732

push

github

web-flow
feat(realtime)!: expose status through the actors and drop StatusMirror (#1597)

* feat(realtime)!: expose status through the actors and drop StatusMirror

RealtimeClient and RealtimeChannel own their status directly. `status` is
actor-isolated and read with `await`; `statusChanges()` and `heartbeats()`
are actor methods that keep their continuations in the actor and yield on
every change. The nonisolated `statusSnapshot` and the StatusMirror type are
gone: every production reader is the other actor on the same executor, so
the lock-protected copy bought nothing.

Streams end when the channel is removed or when the owner is released.

BREAKING CHANGE: `statusSnapshot` is removed; `statusChanges` and
`heartbeats` are now `async` methods.

* fix(realtime): probe the socket before switching on the channel state in unsubscribe

`isSocketConnected()` became an `await` when `statusSnapshot` went away, which
put a suspension point between reading `state` and starting the unsubscribe.
Two concurrent callers could both see `.subscribed` and start two tasks. Probe
first, then switch and transition in one synchronous stretch.

75 of 77 new or added lines in 4 files covered. (97.4%)

13059 of 14075 relevant lines covered (92.78%)

24009.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
90.84
0.24% Sources/Realtime/RealtimeClient.swift
Jobs
ID Job ID Ran Files Coverage
1 39386000732.1 20 Oct 2026 07:28AM UTC 172
92.78
GitHub Action Run
Source Files on build 39386000732
  • Tree
  • List 172
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39386000732
  • d19eed66 on github
  • Prev Build on main (#39383433915)
  • Next Build on main (#39394855034)
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