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

supabase / supabase-flutter / 41427870403
94%

Build:
DEFAULT BRANCH: main
Ran 02 Nov 2026 10:20AM UTC
Jobs 12
Files 193
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

02 Nov 2026 10:19AM UTC coverage: 94.131% (+0.001%) from 94.13%
41427870403

push

github

web-flow
fix(postgrest): explain a maybeSingle() function call that returns no row object (#2116)

## What

Follow-up to #2113. `maybeSingle()` resolves to `PostgrestMap?`, so a
function call whose one row is not an object has no value it can resolve
to. Two examples are a function declared `RETURNS int[]`, which #2113
counts as one row as https://github.com/supabase/sdk/pull/307 requires,
and a function returning a scalar. Such a call used to fail with a bare
type cast error. It now throws a `StateError` that names the URL and the
type it received, and points to calling the function without
`maybeSingle()` or through `client.rpc.value`.

Supporting these results directly would mean changing the return type of
`maybeSingle()`. That return type is shared with
`from().select().maybeSingle()`, so the change would break every caller
reading the row as a map. The typed `client.rpc.value` already reads
such a value with its own type.


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

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

## Summary by CodeRabbit

* **Bug Fixes**
* `maybeSingle()` now reports a clear error when a function call returns
a non-object value, including the returned type and URL. The error
suggests alternatives for reading the function result.

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

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

12543 of 13325 relevant lines covered (94.13%)

6.64 hits per line

Jobs
ID Job ID Ran Files Coverage
3 supabase_functions - 41427870403.3 02 Nov 2026 10:20AM UTC 4
94.01
GitHub Action Run
4 supabase_test - 41427870403.4 02 Nov 2026 10:20AM UTC 9
93.55
GitHub Action Run
5 supabase_typegen - 41427870403.5 02 Nov 2026 10:22AM UTC 6
94.44
GitHub Action Run
6 supabase_realtime - 41427870403.6 02 Nov 2026 10:23AM UTC 14
92.0
GitHub Action Run
7 supabase_storage - 41427870403.7 02 Nov 2026 10:22AM UTC 13
95.96
GitHub Action Run
8 supabase_flutter - 41427870403.8 02 Nov 2026 10:21AM UTC 16
89.03
GitHub Action Run
9 iceberg - 41427870403.9 02 Nov 2026 10:20AM UTC 7
99.72
GitHub Action Run
10 supabase - 41427870403.10 02 Nov 2026 10:24AM UTC 21
94.52
GitHub Action Run
11 postgrest - 41427870403.11 02 Nov 2026 10:23AM UTC 30
92.88
GitHub Action Run
12 supabase_auth - 41427870403.12 02 Nov 2026 10:25AM UTC 34
94.21
GitHub Action Run
2 supabase_common - 40911627463.2 29 Oct 2026 04:28PM UTC 37
94.39
GitHub Action Run
3 yet_another_json_isolate - 40346664947.3 26 Oct 2026 03:11PM UTC 2
98.65
GitHub Action Run
Source Files on build 41427870403
  • Tree
  • List 193
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41427870403
  • d7eb4936 on github
  • Prev Build on main (#41422289225)
  • Next Build on main (#41460995509)
  • 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