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

supabase / supabase-swift / 37450992223
95%

Build:
DEFAULT BRANCH: main
Ran 06 Oct 2026 10:54AM UTC
Jobs 1
Files 147
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

06 Oct 2026 10:37AM UTC coverage: 90.109% (+0.03%) from 90.077%
37450992223

push

github

web-flow
feat(functions)!: rebuild the module around Configuration, FunctionBody and FunctionResponse (#1443)

* feat(functions)!: rebuild the module around Configuration, FunctionBody and FunctionResponse

- FunctionsClient takes a Configuration (url, HTTPFields headers, region, http,
  logger, decoder, accessToken); the two flat initializers are removed.
- invoke returns FunctionResponse (status, headers, body, region, execution id,
  decode(as:decoder:)); invoke<T> gains as:; the decode: closure overload is removed.
- The body is an explicit FunctionBody (.json, .text, .data, .stream). A value that
  fails to encode throws .invalidRequest instead of sending a bodiless request.
- FunctionInvokeOptions.method is HTTPRequest.Method; headers are HTTPFields.
- FunctionsError gains code (sb-error-code) and isPlatformError.
- One FunctionsAPI choke point builds, sends and classifies every request; the
  duplicated relay/status/transport mapping is gone.
- The default decoder is JSONDecoder.supabase(), like PostgREST and Storage.
- supabase.functions carries no static Authorization header; its accessToken closure
  returns the session token, else the legacy key, else nil for a new-format key.

Fixes SDK-2143
Fixes SDK-2144
Fixes SDK-2145
Fixes SDK-2146
Fixes SDK-2147
Fixes SDK-2148

Co-Authored-By: Claude <noreply@anthropic.com>

* chore(compliance): register the Phase 1 Functions symbols

The capability-matrix check requires every public symbol to be listed; the new
request, response and error types all support functions.invocation.invoke.

Co-Authored-By: Claude <noreply@anthropic.com>

* chore(compliance): list supporting symbols as plain strings

Co-Authored-By: Claude <noreply@anthropic.com>

* test(functions): drop the reportIssue assertion that crashes the nightly Linux runner

swift-issue-reporting's withExpectedIssue segfaults on swiftlang/swift:nightly-main
when reportIssue runs inside a @Test. Same note as SupabaseClientTests (SDK-435).

Co-Authored-By: ... (continued)

213 of 224 new or added lines in 8 files covered. (95.09%)

107 existing lines in 6 files now uncovered.

10768 of 11950 relevant lines covered (90.11%)

898590.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
88.57
-8.1% Sources/Functions/FunctionsClient.swift
3
50.0
Sources/Functions/FunctionRegion.swift

Coverage Regressions

Lines Coverage ∆ File
83
80.26
1.03% Sources/Realtime/RealtimeChannelV2.swift
8
93.71
0.42% Sources/Helpers/HTTP/URLSessionTransport.swift
6
93.26
5.31% Sources/PostgREST/Query/PostgrestMutation.swift
5
96.45
-2.96% Sources/PostgREST/Legacy/PostgrestRequestBuilder.swift
4
79.28
-1.02% Sources/Realtime/WebSocket/URLSessionWebSocket.swift
1
96.43
-0.24% Sources/Helpers/DateFormatter.swift
Jobs
ID Job ID Ran Files Coverage
1 37450992223.1 06 Oct 2026 10:54AM UTC 147
90.11
GitHub Action Run
Source Files on build 37450992223
  • Tree
  • List 147
  • Changed 12
  • Source Changed 8
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37450992223
  • e2437359 on github
  • Prev Build on main (#37393111378)
  • Next Build on main (#37452755485)
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