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

supabase / supabase-swift / 33001779423
87%

Build:
DEFAULT BRANCH: main
Ran 26 Aug 2026 06:52PM UTC
Jobs 1
Files 109
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

26 Aug 2026 06:49PM UTC coverage: 86.941% (-0.1%) from 87.047%
33001779423

push

github

web-flow
refactor(httpruntime): build HTTPRuntime on swift-http-types (#1282)

* refactor(httpruntime): build HTTPRuntime on swift-http-types

* fix(httpruntime): keep the query string and port when building a request

* test(httpruntime): cover checkStatus status routing and decode failures

* refactor(httpruntime): send through the HTTPTypesFoundation URLSession conveniences

* fix(httpruntime): drop package import and always-true cast warnings in URLSessionTransport

Plain import HTTPTypesFoundation matches Task 2's HTTPRequest.swift and avoids
an unused-package-import warning since no package-visible signature in this
file references an HTTPTypesFoundation type. streamRejectsAFileBody() no
longer casts to HTTPRuntimeError in a typed-throws catch, where the cast can
never fail.

* test(httpruntime): split HTTPRuntimeTests to mirror its source files

* fix(httpruntime): transmit a .data body when streaming a response

`stream(_:body:)` accepted a `.data` body, rejected `.file`, then called
the `HTTPTypesFoundation` conveniences `data(for:)`/`bytes(for:)`. Neither
carries a body, so the payload was dropped with no error. Streaming from a
request that has a body is a real case, for example server-sent events over
a POST, so hand-build a `URLRequest` for that path and use the
`URLRequest`-taking overload. Map a nil `URLRequest(httpRequest:)` and a
non-HTTP `URLResponse` to `.transport` rather than force-unwrapping either.

Also add the Linux `FoundationNetworking` guard to the transport tests, drop
the unused `HTTPTypesFoundation` dependency from `HTTPRuntimeTests`, document
why `RecordingURLProtocol`'s unchecked statics need no lock, and add `CFURL`
and `unmodeled` to `dictionary.txt`.

* fix(httpruntime): reject a schemeless base URL instead of trapping

`HTTPRequestBuilder.build()` composed the URL, cleared both `.invalidURL`
guards, then handed the result to `HTTPTypesFoundation`'s
`HTTPRequest(method:url:headerFields:)`. A schemeless base URL parses into
`... (continued)

9227 of 10613 relevant lines covered (86.94%)

1011900.88 hits per line

Coverage Regressions

Lines Coverage ∆ File
19
54.76
-27.38% Sources/PostgREST/Query/PostgrestTypedMutation.swift
Jobs
ID Job ID Ran Files Coverage
1 33001779423.1 26 Aug 2026 06:52PM UTC 109
86.94
GitHub Action Run
Source Files on build 33001779423
  • Tree
  • List 109
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33001779423
  • 3eb937c4 on github
  • Prev Build on main (#32960210887)
  • Next Build on main (#33047778056)
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