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

supabase / supabase-flutter / 32367207852
89%

Build:
DEFAULT BRANCH: main
Ran 20 Aug 2026 12:08PM UTC
Jobs 10
Files 119
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

20 Aug 2026 12:07PM UTC coverage: 88.424% (-0.01%) from 88.437%
32367207852

push

github

web-flow
refactor: share the test helpers through supabase_common (#1745)

Follow-up to #1572 (SDK-1281): a duplication sweep after the extraction
tiers landed showed that the remaining copy-paste lives almost entirely
in the test suites. This PR grows `supabase_common`'s existing
`testing.dart` library with the helpers the suites kept re-implementing
and moves the tests onto them.

## New shared helpers

- **Session fixture** (`getSessionData`, `sessionDataUserId`): was
copied byte-for-byte in the `supabase`, `supabase_flutter`, and
`supabase_auth` test utils.
- **Token endpoint fixtures** (`testUserJson`,
`testSessionResponseJson`, `testUserId`): the roughly 60-line
signed-session response was duplicated verbatim between
`supabase_auth`'s `RetryTestHttpClient` and `supabase_flutter`'s
`PkceHttpClient`, down to the same signing key.
- **JWT builders** (`signedTestJwt`, `unsignedTestJwt`): replace five
hand-rolled builders across the auth, flutter, and realtime suites. The
auth and flutter mock clients now sign with the shared HS256 helper
instead of `dart_jsonwebtoken`, which lets `supabase_flutter` drop that
dev dependency.
- **Mock HTTP client primitives** (`jsonStreamedResponse`,
`JsonResponseMockClient`, `FailingHttpClient`, `stallUntilAborted`): the
JSON response builder existed in iceberg and auth, the 420 failing
client in storage and auth, and the abort-trigger stalling block
identically in the postgrest and supabase suites.
- **Realtime frames** (`postgresChangesFrame`, `todoColumns`): the
`todos` column fixture appeared eight times across the two mock
WebSocket servers in `supabase_realtime` and `supabase`.

## Cleanups along the way

- `supabase_flutter`'s `MockAsyncStorage` was a verbatim
reimplementation of `MemoryAuthAsyncStorage`; it now extends it.
- `supabase_auth`'s single-purpose `CustomHttpClient` (420) is replaced
by the shared `FailingHttpClient`.

No production code changes outside the `supabase_common` testing
library, which is exclude... (continued)

5912 of 6686 relevant lines covered (88.42%)

4.34 hits per line

Coverage Regressions

Lines Coverage ∆ File
29
81.82
-0.23% packages/postgrest/lib/src/postgrest_builder.dart
27
70.37
1.28% packages/supabase_flutter/lib/src/supabase_auth.dart
22
87.45
-0.05% packages/iceberg/lib/src/iceberg_rest_catalog.dart
1
98.46
-0.09% packages/supabase_auth/lib/src/pkce_verifier_store.dart
Jobs
ID Job ID Ran Files Coverage
2 supabase_auth - 32367207852.2 20 Aug 2026 12:12PM UTC 30
90.67
GitHub Action Run
3 supabase_storage - 32367207852.3 20 Aug 2026 12:11PM UTC 9
97.31
GitHub Action Run
4 supabase_flutter - 32367207852.4 20 Aug 2026 12:09PM UTC 11
81.82
GitHub Action Run
5 supabase_common - 32367207852.5 20 Aug 2026 12:08PM UTC 20
87.65
GitHub Action Run
6 iceberg - 32367207852.6 20 Aug 2026 12:08PM UTC 6
68.62
GitHub Action Run
7 supabase - 32367207852.7 20 Aug 2026 12:12PM UTC 14
90.69
GitHub Action Run
8 supabase_functions - 32367207852.8 20 Aug 2026 12:08PM UTC 4
97.83
GitHub Action Run
9 supabase_realtime - 32367207852.9 20 Aug 2026 12:12PM UTC 13
90.27
GitHub Action Run
10 postgrest - 32367207852.10 20 Aug 2026 12:11PM UTC 11
85.13
GitHub Action Run
2 yet_another_json_isolate - 32034091672.2 17 Aug 2026 01:16PM UTC 1
94.44
GitHub Action Run
Source Files on build 32367207852
  • Tree
  • List 119
  • Changed 9
  • Source Changed 9
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32367207852
  • bcb41fa4 on github
  • Prev Build on main (#32354126909)
  • Next Build on main (#32373781271)
  • 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