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

supabase / supabase-flutter / 31083019160
89%

Build:
DEFAULT BRANCH: main
Ran 06 Aug 2026 08:01AM UTC
Jobs 9
Files 103
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

06 Aug 2026 07:58AM UTC coverage: 87.163%. Remained the same
31083019160

push

github

web-flow
refactor!: singularize plural enum names and fold enum extensions in (#1654)

Closes #1652

## What

A Dart enum type names one value rather than the set, so its name should
be singular. Five enums were ports of `realtime-js` / `gotrue-js` names
instead:

| Before | After | Was reachable by consumers? |
| --- | --- | --- |
| `ChannelStates` | `ChannelState` | No (omitted from the `show` list) |
| `ChannelEvents` | `ChannelEvent` | No (omitted from the `show` list) |
| `RealtimeListenTypes` | `RealtimeListenType` | No (named in the `hide`
clause) |
| `PostgresTypes` | `PostgresType` | Yes |
| `AuthenticatorAssuranceLevels` | `AuthenticatorAssuranceLevel` | Yes |

The three unreachable ones are now annotated `@internal`, which is both
the accurate annotation and enough to keep them out of the capability
matrix scan.

Sweeping the rest of the monorepo's 51 enums turned up one more name
that did not read as a noun naming a single value: `LoadTableSnapshots`
(storage, Iceberg) is now `TableSnapshotScope`.

## Enum extensions folded in

Enums can declare methods and static methods directly, so every
extension that only existed to hang helpers off an enum is now part of
the enum:

- `ChannelEventsExtended` → `ChannelEvent.fromType` /
`ChannelEvent.eventName`
- `ToType` → `RealtimeListenType.toType`
- `PostgresChangeEventMethods` → `PostgresChangeEvent.fromString` /
`PostgresChangeEvent.toRealtimeEvent`
- `PresenceEventExtended` → `PresenceEvent.fromString`
- `AuthChangeEventExtended` → `AuthChangeEvent.fromString`
- `GenerateLinkTypeExtended` → `GenerateLinkType.fromString`

Those helpers decode wire values, so the folded members carry
`@internal`, matching the visibility the extensions already had through
the `hide` clauses. The now-unnecessary `hide` entries are dropped from
the gotrue and realtime_client exports.

`SupabaseEventTypesName` is deliberately left alone: its member is
`name()`, which would shadow `Enum.name` if declared on the enum, and
both i... (continued)

73 of 75 new or added lines in 10 files covered. (97.33%)

32 existing lines in 4 files now uncovered.

5588 of 6411 relevant lines covered (87.16%)

4.04 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
92.55
0.0% packages/realtime_client/lib/src/realtime_channel.dart
1
83.33
0.0% packages/realtime_client/lib/src/types.dart

Coverage Regressions

Lines Coverage ∆ File
26
83.33
0.0% packages/realtime_client/lib/src/types.dart
3
67.39
0.0% packages/gotrue/lib/src/types/mfa.dart
2
91.3
0.0% packages/gotrue/lib/src/types/auth_response.dart
1
94.12
0.0% packages/realtime_client/lib/src/constants.dart
Jobs
ID Job ID Ran Files Coverage
5 supabase - 31083019160.5 06 Aug 2026 08:04AM UTC 17
85.94
GitHub Action Run
6 gotrue - 31083019160.6 06 Aug 2026 08:04AM UTC 28
87.6
GitHub Action Run
7 storage_client - 31083019160.7 06 Aug 2026 08:03AM UTC 13
84.58
GitHub Action Run
8 realtime_client - 31083019160.8 06 Aug 2026 08:03AM UTC 11
90.61
GitHub Action Run
9 supabase_flutter - 31083019160.9 06 Aug 2026 08:01AM UTC 10
79.31
GitHub Action Run
7 functions_client - 30990383023.7 05 Aug 2026 08:47AM UTC 3
98.85
GitHub Action Run
3 postgrest - 30990383023.3 05 Aug 2026 08:49AM UTC 10
85.33
GitHub Action Run
5 supabase_common - 30990383023.5 05 Aug 2026 08:47AM UTC 10
100.0
GitHub Action Run
6 yet_another_json_isolate - 30905259996.6 04 Aug 2026 11:35AM UTC 1
93.65
GitHub Action Run
Source Files on build 31083019160
  • Tree
  • List 103
  • Changed 13
  • Source Changed 13
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31083019160
  • 31c1be3b on github
  • Prev Build on main (#31080193522)
  • Next Build on main (#31085988797)
  • 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