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

supabase / supabase-flutter / 40904007901
94%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2026 03:42PM UTC
Jobs 12
Files 190
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

29 Oct 2026 03:40PM UTC coverage: 94.233% (+0.01%) from 94.219%
40904007901

push

github

web-flow
feat(storage): report download progress through an optional onProgress callback (#2102)

## Summary

- Adds an optional `onProgress` (`DownloadProgressCallback`) to
`StorageFileApi.download` and `downloadStream`, following the
`storage.file_buckets.transfer_progress` spec in supabase/sdk.
- The total is the `Content-Length` of the 2xx response (the range
length for a ranged download), and is `null` without one or when the
response has a `Content-Encoding`.
- Nothing is reported for an error response or after the body fails, the
count never decreases, and a zero-byte body gets exactly one report of 0
and 0.
- Marks `storage.file_buckets.transfer_progress` as `implemented` in
`sdk-compliance.yaml` and registers `DownloadProgressCallback`.

The change is additive and lives in the shared fetch layer, so it
carries over whatever shape SDK-2576 settles on for `downloadStream`,
and the collect and file helpers of SDK-2590 can pass the same callback.

## Test plan

- [x] `dart test test/download_progress_test.dart` covers a known
length, an unknown length, `Content-Encoding`, a ranged download, a
zero-byte body, an error response, a failing body and a throwing
callback, for both methods.
- [x] `dart analyze` and `dart format` are clean.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **New Features**
* Added download-progress reporting to file downloads and streamed
downloads, including bytes received and the total when available.
* Progress callbacks can report unknown totals, and errors raised by
callbacks are surfaced to the caller.
* **Bug Fixes**
* Download progress is not reported for unsuccessful responses, and
empty downloads report zero bytes once.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

38 of 38 new or added lines in 1 file covered. (100.0%)

12434 of 13195 relevant lines covered (94.23%)

6.56 hits per line

Jobs
ID Job ID Ran Files Coverage
3 supabase_test - 40904007901.3 29 Oct 2026 03:42PM UTC 9
93.55
GitHub Action Run
4 supabase_realtime - 40904007901.4 29 Oct 2026 03:44PM UTC 14
92.01
GitHub Action Run
5 supabase_auth - 40904007901.5 29 Oct 2026 03:46PM UTC 34
94.81
GitHub Action Run
6 postgrest - 40904007901.6 29 Oct 2026 03:45PM UTC 30
92.82
GitHub Action Run
7 supabase_functions - 40904007901.7 29 Oct 2026 03:42PM UTC 4
94.01
GitHub Action Run
8 supabase - 40904007901.8 29 Oct 2026 03:45PM UTC 21
94.52
GitHub Action Run
9 supabase_typegen - 40904007901.9 29 Oct 2026 03:43PM UTC 6
94.44
GitHub Action Run
10 supabase_flutter - 40904007901.10 29 Oct 2026 03:42PM UTC 16
89.03
GitHub Action Run
11 supabase_storage - 40904007901.11 29 Oct 2026 03:44PM UTC 10
95.94
GitHub Action Run
12 iceberg - 40904007901.12 29 Oct 2026 03:42PM UTC 7
99.72
GitHub Action Run
3 yet_another_json_isolate - 40346664947.3 26 Oct 2026 03:11PM UTC 2
98.65
GitHub Action Run
8 supabase_common - 40887808401.8 29 Oct 2026 02:07PM UTC 37
94.39
GitHub Action Run
Source Files on build 40904007901
  • Tree
  • List 190
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40904007901
  • c489fd47 on github
  • Prev Build on main (#40901490500)
  • Next Build on main (#40907008793)
  • Delete
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