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

supabase / supabase-swift / 25054157007
81%
main: 81%

Build:
Build:
LAST BUILD BRANCH: claude/kind-wilson-5cee0b
DEFAULT BRANCH: main
Ran 28 Apr 2026 01:06PM UTC
Jobs 1
Files 91
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

28 Apr 2026 12:57PM UTC coverage: 80.858% (-0.6%) from 81.408%
25054157007

Pull #917

github

grdsdev
feat(functions): functions v3 (#923)

* feat(helpers): add _HTTPClient with RequestBody and separate query/body params

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

* feat(helpers): add TokenProvider support to _HTTPClient

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

* refactor(helpers): stream UInt8 bytes instead of single-byte Data chunks

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

* feat(functions): migrate to _HTTPClient, remove old HTTP layer from Functions

- Replace HTTPClientType/HTTPClient/FetchHandler with _HTTPClient
- FunctionInvokeOptions.headers and query now use [String: String]
- _invokeWithStreamedResponse is now async throws
- SupabaseClient passes session + tokenProvider to FunctionsClient
- Remove RequestTests.swift (covered by inline snapshots in FunctionsClientTests)
- Add package access modifiers to _HTTPClient types

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

* refactor(functions): convert FunctionsClient to actor, simplify streaming API

- Convert FunctionsClient from Sendable class with LockIsolated to actor
- Replace _invokeWithStreamedResponse (URLSessionDataDelegate-based) with
  invokeStream returning AsyncThrowingStream<UInt8, any Error> via _HTTPClient
- fetchStream now async throws and returns (stream, HTTPURLResponse) tuple,
  allowing pre-stream validation (errors thrown before stream is returned)
- Remove StreamResponseDelegate class
- Set session timeout via configuration instead of per-request
- Fix relay error header name typo (x-relay -> x-relay-error)
- Update FunctionsClientTests and SupabaseClient for actor isolation

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

* fix(functions): catch HTTPClientError and convert to FunctionsError in rawInvoke

_HTTPClient.fetchData now throws HTTPClientError.responseError on non-2xx
responses. FunctionsClient.rawInvoke catches it and converts to the
public FunctionsError.httpError type.

Co-Authored-B... (continued)
Pull Request #917: feat!: v3

305 of 378 new or added lines in 29 files covered. (80.69%)

28 existing lines in 4 files now uncovered.

7198 of 8902 relevant lines covered (80.86%)

31.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
48
70.73
Sources/Helpers/_HTTPClient.swift
6
0.0
Sources/Realtime/ChannelEvent.swift
5
25.55
-11.95% Sources/Auth/Internal/Keychain.swift
4
79.41
-4.96% Sources/Auth/Internal/CodeVerifierStorage.swift
3
79.41
-4.46% Sources/Helpers/HTTP/HTTPRequest.swift
2
98.29
1.2% Sources/Functions/FunctionsClient.swift
2
82.35
-17.65% Sources/Functions/Types.swift
2
70.2
0.38% Sources/Supabase/SupabaseClient.swift
1
50.0
0.0% Sources/Auth/Internal/FixedWidthInteger+Random.swift

Coverage Regressions

Lines Coverage ∆ File
21
25.55
-11.95% Sources/Auth/Internal/Keychain.swift
5
83.33
-4.39% Sources/Auth/Internal/SessionStorage.swift
1
82.35
-17.65% Sources/Functions/Types.swift
1
79.41
-4.46% Sources/Helpers/HTTP/HTTPRequest.swift
Jobs
ID Job ID Ran Files Coverage
1 25054157007.1 28 Apr 2026 01:06PM UTC 91
80.86
GitHub Action Run
Source Files on build 25054157007
  • Tree
  • List 91
  • Changed 38
  • Source Changed 36
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25054157007
  • Pull Request #917
  • PR Base - main (#25043796050)
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