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

supabase / supabase-flutter / 28997985907
87%

Build:
DEFAULT BRANCH: main
Ran 09 Jul 2026 06:12AM UTC
Jobs 8
Files 83
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

09 Jul 2026 06:10AM UTC coverage: 86.433% (+0.005%) from 86.428%
28997985907

push

github

web-flow
fix(storage): guard against empty transform routing through render endpoint (#1551)

## Summary

An empty or default `TransformOptions()` was routing `download()` and
`getPublicUrl()` through the `/render/image/` endpoint unnecessarily.
Previously the decision was based on `transform != null`, so any
`TransformOptions` instance, even one with all-null fields, switched to
the render path. Now routing only switches to the render endpoint when
the transform options actually produce query parameters.

**Outcome:** implemented (bug fix)

## Behavior

- `download(path)` without transform uses `/object/` endpoint
- `download(path, transform: TransformOptions())` with empty transform
uses `/object/` endpoint
- `download(path, transform: TransformOptions(width: 200))` uses
`/render/image/authenticated/` endpoint
- Same logic for `getPublicUrl()`

## Tests

Added unit tests in `packages/storage_client/test/basic_test.dart`
covering empty vs actual transform routing for both `download()` and
`getPublicUrl()`. All storage_client unit tests pass.

## Reference

- Linear: SDK-878
- supabase-js PR: https://github.com/supabase/supabase-js/pull/2219
(commit `993bb5fc`)

## Compliance matrix

`storage.file_buckets.download_with_transform` and
`storage.file_buckets.get_public_url` remain `implemented`; this fix
brings their routing behavior in line with supabase-js, so no status
change was required.

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

4466 of 5167 relevant lines covered (86.43%)

3.99 hits per line

Jobs
ID Job ID Ran Files Coverage
6 supabase_flutter - 28997985907.6 09 Jul 2026 06:12AM UTC 11
79.0
GitHub Action Run
7 supabase - 28997985907.7 09 Jul 2026 06:12AM UTC 15
80.69
GitHub Action Run
8 storage_client - 28997985907.8 09 Jul 2026 06:14AM UTC 5
93.26
GitHub Action Run
1 gotrue - 28933384010.1 08 Jul 2026 09:51AM UTC 29
86.0
GitHub Action Run
8 yet_another_json_isolate - 28933384010.8 08 Jul 2026 09:48AM UTC 1
77.78
GitHub Action Run
5 realtime_client - 28933384010.5 08 Jul 2026 09:51AM UTC 11
89.06
GitHub Action Run
7 postgrest - 28933384010.7 08 Jul 2026 09:51AM UTC 9
84.57
GitHub Action Run
6 functions_client - 28951625246.6 08 Jul 2026 02:47PM UTC 2
98.8
GitHub Action Run
Source Files on build 28997985907
  • Tree
  • List 83
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28997985907
  • 3f3e6f6c on github
  • Prev Build on main (#28951625246)
  • Next Build on main (#28998373420)
  • Delete
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