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

supabase / supabase-flutter / 27010961199
85%

Build:
DEFAULT BRANCH: main
Ran 05 Jun 2026 11:04AM UTC
Jobs 1
Files 72
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

05 Jun 2026 10:58AM UTC coverage: 80.463%. Remained the same
27010961199

push

github

web-flow
fix(storage): use toString() for statusCode to handle non-string types (#1323)

Fixes #1312

## What kind of change does this PR introduce?

Bug fix

## What is the current behavior?

`StorageException.fromJson` uses `as String?` to cast
`json['statusCode']`, which silently returns `null` when the server
sends `statusCode` as an integer (e.g., `404` instead of `"404"`). This
causes the `statusCode` field to be `null` instead of the actual value
from the JSON response body.

## What is the new behavior?

Uses `.toString()` instead of `as String?`, which correctly converts the
`statusCode` regardless of whether the server sends it as a string or
integer.

---------

Co-authored-by: Mitch Koko <mitchkoko@macbookpro.lan>
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>

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

3542 of 4402 relevant lines covered (80.46%)

2.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27010961199.1 05 Jun 2026 11:04AM UTC 72
80.46
GitHub Action Run
Source Files on build 27010961199
  • Tree
  • List 72
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27010961199
  • b8583642 on github
  • Prev Build on main (#27005730632)
  • Next Build on main (#27011348729)
  • 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