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

supabase / supabase-flutter / 27216654140
85%

Build:
DEFAULT BRANCH: main
Ran 09 Jun 2026 03:29PM 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

09 Jun 2026 03:22PM UTC coverage: 80.615% (+0.1%) from 80.471%
27216654140

push

github

web-flow
fix(postgrest): include caller frames in PostgrestException stack traces (#1387)

## Summary

- Captures `StackTrace.current` synchronously at `PostgrestBuilder`
construction time (inside the constructor initializer list), which
always runs in user code context when chaining filter methods like
`.select()`, `.eq()`, etc.
- Rewrites `then()` to be non-`async`, using an intermediate native
`Future.then()` to enable Dart's Zone causal-chain machinery.
- Appends the construction-time trace to every error via
`StackTrace.fromString('$internalStack\n$_callerTrace')` and re-throws
with `Error.throwWithStackTrace`, so both `await builder` (plain usage)
and explicit `.then(onError:)` usage show user frames.

Fixes #899.

## Test plan

- [x] `dart test test/stack_trace_test.dart` passes both cases: plain
`await builder` and explicit `.then()` with `onError`
- [x] `dart test test/retry_test.dart` still passes (no regression in
retry behavior)
- [x] Integration tests pass against a live PostgREST instance

10 of 17 new or added lines in 1 file covered. (58.82%)

3568 of 4426 relevant lines covered (80.61%)

2.94 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
75.66
3.68% packages/postgrest/lib/src/postgrest_builder.dart
Jobs
ID Job ID Ran Files Coverage
1 27216654140.1 09 Jun 2026 03:29PM UTC 72
80.61
GitHub Action Run
Source Files on build 27216654140
  • Tree
  • List 72
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27216654140
  • 716121a5 on github
  • Prev Build on main (#27194979369)
  • Next Build on main (#27217660770)
  • 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