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

supabase / supabase-swift / 39394855034
93%

Build:
DEFAULT BRANCH: main
Ran 20 Oct 2026 08:45AM 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 08:38AM UTC coverage: 92.783% (+0.001%) from 92.782%
39394855034

push

github

web-flow
test(realtime): run the Realtime suites on Linux, serially in CI, and fix a stale join-waiter cancellation (#1598)

* feat(helpers): add immediate tasks, TaskStorage, and a non-Sendable withTimeout

Adds the concurrency tools the Realtime v3 isolation work builds on:

- `Task.immediateIfAvailable`: runs the body inline up to its first suspension
  on OS 26 (`Task.immediate`), falls back to a plain `Task` elsewhere, and
  inherits the caller's actor either way.
- `TaskStorage<Location>`: owns unstructured tasks by the reason they exist;
  `replace(_:at:)` cancels the previous run at that location, `cancelAll()`
  and `deinit` cancel everything.
- `withTimeout(_:clock:body:)` now takes a non-`Sendable`, non-escaping body
  and no longer requires `@Sendable @concurrent`, so callers can capture
  actor-isolated state. The `clock:` parameter stays for tests.

* fix(helpers): run the withTimeout body on the caller's actor

`withTimeout` ran `body` in a task-group child, so an actor method that
captured its own state in the body touched that state from the global
executor. The debug runtime reported it ("actor-isolated function was not
called on the same actor") and on arm64 the write could stay invisible to
the actor: `RealtimeChannel.runUnsubscribe` set `closeWaiter` off-actor,
`didReceiveClose` never saw it, and the unsubscribe hung. Three channel
subscription tests failed on CI from this.

The child task now hops to the caller's isolation (`#isolation`) before
calling the body. A new test runs the body from an actor with a recording
executor and checks that it ran as one of that actor's jobs; it fails on
the old implementation.

* test(helpers): implement asUnownedSerialExecutor for the iOS 16 floor

The stdlib default needs iOS 17 / macOS 14, so every iOS xcodebuild job failed
to compile RecordingExecutor.

Also remove the TestClock race from the two deadline tests: a Task that sleeps
on the clock could register its sleep after advance() ran, which hung... (continued)

8 of 8 new or added lines in 1 file covered. (100.0%)

13062 of 14078 relevant lines covered (92.78%)

51882.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39394855034.1 20 Oct 2026 08:45AM UTC 172
92.78
GitHub Action Run
Source Files on build 39394855034
  • Tree
  • List 172
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39394855034
  • 990206e8 on github
  • Prev Build on main (#39386000732)
  • Next Build on main (#39404591593)
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