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

supabase / supabase-swift / 44279342830
96%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2026 09:56AM UTC
Jobs 1
Files 223
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

18 Nov 2026 09:48AM UTC coverage: 96.158%. Remained the same
44279342830

push

github

web-flow
fix(storage): keep resumable upload requests on the storage origin and inside the container (#1863)

* fix(storage): keep resumable upload requests on the storage origin and inside the container

A tus `Location` header was followed to any host and saved in the record.
Every later HEAD, PATCH and DELETE then went there with the access token.
Now a Location only gives its path and query, which move onto the origin
of the tus endpoint. The path must be under `upload/resumable/`. The
origin is replaced rather than checked, because storage-api builds
Location from X-Forwarded-Host, and the hosted gateway sets that to the
project host for requests on a custom domain.

TusSession sends no request to an upload URL off that origin. pending()
skips such a record and keeps it, since another client can share the
record directory. A start that loads one creates the upload again.

A record whose relativePath is absolute, has a `.` or `..` component, or
leaves the container is corrupt and removed. So is one with a chunk size
of 0 or less, or an offset outside 0...totalBytes.

Fixes SDK-3103

* fix(storage): resolve symbolic links before the container check

Also compare a kept record by its upload URL, since dates lose precision
in the record's JSON, and end the upload loop with a failed PATCH before
the integration test edits the record.

* fix(storage): check a kept upload source before creating the upload again

A handle keeps the source of its record. When the store later refuses that
record, the handle no longer reads the refused file.

79 of 80 new or added lines in 5 files covered. (98.75%)

7 existing lines in 2 files now uncovered.

16442 of 17099 relevant lines covered (96.16%)

666733.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.08
0.01% Sources/Storage/StorageRequests.swift

Coverage Regressions

Lines Coverage ∆ File
4
90.51
-1.36% Sources/Realtime/Transport/URLSessionWebSocketTransport.swift
3
97.52
-2.48% Sources/Helpers/JSONValue/JSONValue.swift
Jobs
ID Job ID Ran Files Coverage
1 44279342830.1 18 Nov 2026 09:56AM UTC 223
96.16
GitHub Action Run
Source Files on build 44279342830
  • Tree
  • List 223
  • Changed 8
  • Source Changed 5
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44279342830
  • fd7dcd41 on github
  • Prev Build on main (#44275690981)
  • Next Build on main (#44279819879)
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