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

supabase / supabase-flutter / 27767998227
85%

Build:
DEFAULT BRANCH: main
Ran 18 Jun 2026 02:51PM UTC
Jobs 8
Files 78
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

18 Jun 2026 02:50PM UTC coverage: 85.744%. Remained the same
27767998227

push

github

web-flow
chore(supabase_lints): enable avoid-misused-test-matchers (#1424)

Stacked on #1423.

## What

Enables the `avoid-misused-test-matchers` DCM rule by fixing all 31
flagged sites. Two patterns:

### `throwsA` on an already-evaluated builder (7 sites, retry_test)
`expectLater(client.from('users').select(), throwsA(...))` passed the
already-built `PostgrestBuilder` to `throwsA`. Wrapped the targets in
closures (`() => client.from('users').select()`) so `throwsA` defers the
call. Behaviorally equivalent (the builder is lazy), and the correct
idiom.

### Vacuous `expect(x, isNotNull)` on non-nullable values (24 sites)
The target types are non-nullable, so the assertion always passed. Each
was either:
- **Replaced** with a meaningful check: `isNotEmpty` (error message,
user id, token, claims), `greaterThanOrEqualTo(0)` (count queries),
`same(Supabase.instance.client)` (singleton identity).
- **Removed** when the following line already asserted the value (e.g.
`expect(res['type'], 'FeatureCollection')`), or when it was a
post-`initialize` smoke test whose value is "init did not throw".

## Verification
- `dcm analyze packages` -> no issues found.
- `dart analyze` clean across affected packages (lib + test).
- `flutter analyze --fatal-warnings` clean on supabase_flutter.
- Tests: postgrest retry_test 12 pass, supabase_flutter 49 pass.
Integration suites that need a local server are unaffected (assertion
swaps compile and are equivalent).

4102 of 4784 relevant lines covered (85.74%)

3.48 hits per line

Jobs
ID Job ID Ran Files Coverage
7 functions_client - 27767998227.7 18 Jun 2026 02:51PM UTC 2
97.1
GitHub Action Run
8 yet_another_json_isolate - 27767998227.8 18 Jun 2026 02:51PM UTC 1
79.03
GitHub Action Run
1 supabase_flutter - 27763779899.1 18 Jun 2026 01:46PM UTC 9
77.0
GitHub Action Run
5 gotrue - 27763779899.5 18 Jun 2026 01:47PM UTC 26
83.51
GitHub Action Run
8 storage_client - 27763779899.8 18 Jun 2026 01:46PM UTC 5
93.01
GitHub Action Run
4 supabase - 27763779899.4 18 Jun 2026 01:45PM UTC 15
88.78
GitHub Action Run
7 postgrest - 27763779899.7 18 Jun 2026 01:47PM UTC 9
83.76
GitHub Action Run
6 realtime_client - 27763779899.6 18 Jun 2026 01:47PM UTC 11
88.13
GitHub Action Run
Source Files on build 27767998227
  • Tree
  • List 78
  • Changed 38
  • Source Changed 38
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27767998227
  • 108343d9 on github
  • Prev Build on main (#27763779899)
  • Next Build on main (#27768085173)
  • 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