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

supabase / supabase-swift / 43196921085
96%

Build:
DEFAULT BRANCH: main
Ran 12 Nov 2026 10:19AM UTC
Jobs 1
Files 219
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

12 Nov 2026 10:03AM UTC coverage: 96.242% (+0.05%) from 96.194%
43196921085

push

github

web-flow
test: add mutation testing for critical SDK code (#1794)

* test: add mutation testing for critical SDK code

Run swift-mutation-testing on the retry, token, session, refresh,
PKCE, PostgREST filter, and Realtime connection code.

- scripts/mutation-test.sh copies the package into
  .mutation-testing/<scope>/ and builds it through a wrapper
  workspace, because the tool refuses Supabase.xcworkspace and a
  plain SwiftPM run needs the macOS test flags.
- scripts/mutation-testing.yml holds the tool settings. It sets
  no-cache, because the 1.7.1 coverage map leaves real tests out.
- .github/workflows/mutation-testing.yml runs every scope weekly and
  one scope on demand, and uploads the reports.
- DEVELOPMENT.md documents the install, the run, and the rules.
- New tests kill the real survivors in RetryPolicy, SessionStore,
  Refresher, RealtimeCore+Connection, and ChannelState.
- RetryRequestInterceptor skips its `while true` line: every mutant
  there fails to compile.

* ci: post to Slack when the weekly mutation testing run fails

The scheduled run has nobody watching it. Like ci.yml for a failure on main, a new job posts to the client libs Slack webhook when any scope fails. A manual run does not post: the person who started it watches it.

* fix(scripts): fail the mutation run when a scope crashes

An exit code other than 0, 1, or 2 (for example 137 after a kill) fell through, so the run passed and the weekly Slack alert did not fire. Every nonzero code other than 2 now maps to 1.

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

16185 of 16817 relevant lines covered (96.24%)

673580.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43196921085.1 12 Nov 2026 10:18AM UTC 219
96.24
GitHub Action Run
Source Files on build 43196921085
  • Tree
  • List 219
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43196921085
  • 1e228ef0 on github
  • Prev Build on main (#43196195906)
  • Next Build on main (#43200043413)
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