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

supabase / supabase-swift / 37037639573
96%

Build:
DEFAULT BRANCH: main
Ran 02 Oct 2026 05:03PM UTC
Jobs 1
Files 141
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

02 Oct 2026 04:59PM UTC coverage: 89.833% (-0.005%) from 89.838%
37037639573

push

github

web-flow
chore(android): cross-compile and test the SDK on Android (#1415)

First step toward Android support. Cross-compiles the whole SDK and its unit
tests for Android and runs them on an emulator. 1273 tests pass on API 35 /
arm64-v8a; the macOS suite is unchanged at 1411.

Two portability fixes were needed:

- Android's Foundation does not vend `POSIXErrorCode`. The WebSocket close
  mapping now matches on the platform's own `ENOTCONN`/`EPROTO` constants,
  which are in scope everywhere and keep the Darwin-vs-Linux errno
  difference the original change was for.
- ConcurrencyExtras only implements `withMainSerialExecutor` where it can
  swap the runtime's global executor hook, which rules out Android. The
  existing Windows passthrough is generalised to cover both, and gains the
  async overload the call sites actually use.

Five Realtime tests drive a `TestClock` and rely on that serial executor to
know the task they are waking already reached its `sleep`. With a
passthrough they race: three hang, two observe a half-finished sequence.
They are skipped on Android and Windows through one condition trait rather
than five scattered `#if`s, and still run everywhere else.

Notably `URLOpener.live` compiles to an empty closure on Android, so
`signInWithOAuth` would hang, and there is no default `AuthLocalStorage`.
Full platform support — a CI job, a dynamic library product for JNI
consumption, and closing those gaps — is follow-up work.

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

4 existing lines in 1 file now uncovered.

10514 of 11704 relevant lines covered (89.83%)

917529.51 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
79.28
-0.97% Sources/Realtime/WebSocket/URLSessionWebSocket.swift
Jobs
ID Job ID Ran Files Coverage
1 37037639573.1 02 Oct 2026 05:03PM UTC 141
89.83
GitHub Action Run
Source Files on build 37037639573
  • Tree
  • List 141
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37037639573
  • 0d2de41d on github
  • Prev Build on main (#37008973041)
  • Next Build on main (#37282464320)
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