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

supabase / supabase-flutter / 28360025318
86%

Build:
DEFAULT BRANCH: main
Ran 29 Jun 2026 08:50AM UTC
Jobs 8
Files 80
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

29 Jun 2026 08:49AM UTC coverage: 85.554% (-0.1%) from 85.649%
28360025318

push

github

web-flow
chore: enable six DCM rules and fix the violations (#1492)

Part of SDK-1077 (ratcheting down the disabled DCM rule list).

Enables six more DCM rules in the shared `supabase_lints` config and
fixes the few existing violations. Two of these rules had zero
violations; the other four had only a handful each.

## Rules enabled

| Rule | Violations fixed |
|---|---|
| `avoid-constant-conditions` | 0 |
| `avoid-missing-enum-constant-in-map` | 0 |
| `avoid-commented-out-code` | 1 |
| `avoid-unconditional-break` | 1 |
| `avoid-unnecessary-reassignment` | 4 |
| `avoid-wildcard-cases-with-enums` | 4 |

## Changes

- **postgrest**: collapse the `Prefer`/`Accept` header `if`/`else`
reassignments into single assignments (ternary, or a single trailing
assignment in `maxAffected`). Behavior is unchanged.
- **realtime_client**: drop a commented-out line in `RealtimePresence`;
replace the redundant `default` in `connectionState` with explicit
`SocketStates.closed`/`null` cases.
- **supabase / supabase_flutter**: enumerate the remaining enum values
(`PostgresChangeEvent.all`, `AppLifecycleState.inactive`/`.hidden`)
instead of using a wildcard `default`.
- **gotrue test**: replace an `await for` loop with an unconditional
`break` with `.first`.

## Notes

- `avoid-unnecessary-type-assertions` (already enabled, not part of this
PR) surfaces two hits in `postgrest_builder.dart` on the `onError is!
Function(...)` checks in `then()`. It looks like a false positive (it
mirrors the Dart SDK's own `Future.then` signature check), but worth a
look separately.
- Integration tests requiring a local PostgREST server were not run
locally; the postgrest changes are behavior-preserving refactors and the
unit tests pass.

17 of 19 new or added lines in 7 files covered. (89.47%)

119 existing lines in 3 files now uncovered.

4128 of 4825 relevant lines covered (85.55%)

3.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
90.43
-0.87% packages/realtime_client/lib/src/realtime_client.dart
1
84.52
-0.51% packages/supabase/lib/src/supabase_stream_builder.dart

Coverage Regressions

Lines Coverage ∆ File
116
73.02
-0.25% packages/gotrue/lib/src/gotrue_client.dart
2
0.0
0.0% packages/gotrue/lib/src/types/error_code.dart
1
90.43
-0.87% packages/realtime_client/lib/src/realtime_client.dart
Jobs
ID Job ID Ran Files Coverage
1 realtime_client - 28360025318.1 29 Jun 2026 08:53AM UTC 11
88.4
GitHub Action Run
2 supabase_flutter - 28360025318.2 29 Jun 2026 08:52AM UTC 11
78.27
GitHub Action Run
3 functions_client - 28360025318.3 29 Jun 2026 08:50AM UTC 2
97.14
GitHub Action Run
4 supabase - 28360025318.4 29 Jun 2026 08:51AM UTC 15
81.8
GitHub Action Run
5 postgrest - 28360025318.5 29 Jun 2026 08:53AM UTC 9
84.29
GitHub Action Run
6 yet_another_json_isolate - 28360025318.6 29 Jun 2026 08:50AM UTC 1
79.03
GitHub Action Run
7 gotrue - 28360025318.7 29 Jun 2026 08:53AM UTC 26
84.2
GitHub Action Run
8 storage_client - 28360025318.8 29 Jun 2026 08:53AM UTC 5
92.97
GitHub Action Run
Source Files on build 28360025318
  • Tree
  • List 80
  • Changed 12
  • Source Changed 12
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28360025318
  • 9859d859 on github
  • Prev Build on main (#28287837914)
  • Next Build on main (#28380795187)
  • 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