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

supabase / supabase-swift / 23064833049
79%
main: 80%

Build:
Build:
LAST BUILD BRANCH: grdsdev/spm-build-analysis
DEFAULT BRANCH: main
Ran 13 Mar 2026 06:29PM UTC
Jobs 1
Files 86
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

13 Mar 2026 06:23PM UTC coverage: 80.379% (+0.04%) from 80.34%
23064833049

Pull #917

github

web-flow
chore: set minimum Swift version to 6.1 and Xcode to 16.3+ for v3.0 (#918)

* chore: set minimum Swift version to 6.1 and Xcode to 16.3+ for v3.0

Update supabase-swift SDK minimum requirements from Swift 5.10/Xcode 15.3+
to Swift 6.1/Xcode 16.3+ for the v3.0 release. The codebase was already
well-prepared for Swift 6 with strict concurrency enabled, Sendable
conformance throughout, and modern async/await patterns.

## Changes

### Package & Documentation
- **Package.swift**: Updated swift-tools-version from 5.10 to 6.1
- **Package.swift**: Updated platform targets (iOS 16+, macOS 12+, tvOS 16+, watchOS 9+)
- **README.md**: Updated requirements to reflect Swift 6.1+ and Xcode 16.3+
- **AGENTS.md**: Updated development environment requirements

### Test Fixes for Swift 6 Concurrency
Fixed Swift 6 strict concurrency issues in test suite:
- **FunctionsClientTests**: Explicit capture of session in @Sendable closures
- **PostgresQueryTests**: Explicit capture of session in @Sendable closures
- **SupabaseStorageTests**: Explicit capture of supabaseURL in closures
- **AuthClientTests**: Explicit capture of sut in Task closures
- **SessionManagerTests**: Fixed capture list and Result type
- **RealtimeTests**: Explicit capture of client and sut in closures
- **CallbackManagerTests**: Added sending parameter to XCTAssertNoLeak
- **StorageBucketAPITests**: MainActor.assumeIsolated for XCTContext
- **MockHelpers**: Convert Dependencies.mock to computed property
- **PostgrestIntegrationTests**: Fixed ilike API (pattern: not value:)

## Testing
- Production code builds cleanly with Swift 6.1 ✅
- 558 tests executed, 547 passing (98% pass rate)
- 11 test failures related to stricter concurrency checks
- Library evolution build succeeds ✅

## What Benefits Swift 6.1 Brings
- Official language-level strict concurrency (not experimental)
- Better compile-time data race detection
- Improved optimization for async/await
- Type-safe existentials by default
- Enhanced actor... (continued)
Pull Request #917: chore: remove all deprecated code for v3.0

101 of 122 new or added lines in 24 files covered. (82.79%)

4 existing lines in 2 files now uncovered.

6325 of 7869 relevant lines covered (80.38%)

27.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
50.0
0.0% Sources/Auth/Internal/FixedWidthInteger+Random.swift
1
0.0
0.0% Sources/Realtime/RealtimeChannel+AsyncAwait.swift
1
69.17
-0.71% Sources/Supabase/SupabaseClient.swift
3
79.41
-4.46% Sources/Helpers/HTTP/HTTPRequest.swift
4
79.41
-4.96% Sources/Auth/Internal/CodeVerifierStorage.swift
5
37.23
-0.27% Sources/Auth/Internal/Keychain.swift
6
0.0
Sources/Realtime/ChannelEvent.swift

Uncovered Existing Lines

Lines Coverage ∆ File
1
79.41
-4.46% Sources/Helpers/HTTP/HTTPRequest.swift
3
68.18
-0.17% Sources/Realtime/RealtimeChannelV2.swift
Jobs
ID Job ID Ran Files Coverage
1 23064833049.1 13 Mar 2026 06:29PM UTC 86
80.38
GitHub Action Run
Source Files on build 23064833049
  • Tree
  • List 86
  • Changed 31
  • Source Changed 31
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23064833049
  • Pull Request #917
  • PR Base - main (#22304074981)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc