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

supabase / supabase-flutter / 32032620092
89%

Build:
DEFAULT BRANCH: main
Ran 17 Aug 2026 01:00PM UTC
Jobs 9
Files 106
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

17 Aug 2026 12:59PM UTC coverage: 88.28%. Remained the same
32032620092

push

github

web-flow
chore!: give each package's Constants class a package-specific name (#1677)

Stacked on #1673, addressing
https://github.com/supabase/supabase-flutter/pull/1673#discussion_r3747503513.

## Why

Six packages declared a class named `Constants`: `functions_client`,
`gotrue`, `realtime_client`, `storage_client`, `supabase` and
`supabase_flutter`. The capability matrix keys symbols by bare name, so
an entry like `Constants.defaultHeaders` could not say which package it
meant. The same ambiguity applies to anyone reading the code across
packages.

## What changed

Each class is named after its package, and the file declaring it is
named to match:

| Package | Class | File |
|---|---|---|
| `functions_client` | `FunctionsConstants` |
`src/functions_constants.dart` |
| `gotrue` | `GoTrueConstants` | `src/gotrue_constants.dart` |
| `realtime_client` | `RealtimeConstants` |
`src/realtime_constants.dart` |
| `storage_client` | `StorageConstants` | `src/storage_constants.dart` |
| `supabase` | `SupabaseConstants` | `src/supabase_constants.dart` |
| `supabase_flutter` | `SupabaseFlutterConstants` |
`src/supabase_flutter_constants.dart` |

`gotrue` and `realtime_client` keep a `constants.dart`, since both also
declare enums there. Only the class moved out into its own file, so
`constants.dart` now holds exactly the enums and, for `gotrue`,
`ApiVersions`. `gotrue.dart` no longer needs `hide Constants` on its
export as a result.

`realtime_client` holds the only public class of the six, so it changed
the most:

- The `typedef RealtimeConstants = Constants` is gone and the class
carries that name directly. `realtime_client.dart` only ever exported
the alias, so the name consumers write is unchanged.
- `defaultHeaders`, `defaultHeartbeatIntervalMs` and `wsCloseNormal` are
now `@internal`. Nothing outside the package reads them, and the other
five packages' default header maps were already internal. This is the
breaking part: code outside the package that reached for th... (continued)

19 of 20 new or added lines in 10 files covered. (95.0%)

5747 of 6510 relevant lines covered (88.28%)

4.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
83.03
0.0% packages/supabase_auth/lib/src/auth_client.dart
Jobs
ID Job ID Ran Files Coverage
4 supabase_functions - 32032620092.4 17 Aug 2026 01:00PM UTC 3
97.75
GitHub Action Run
5 supabase_storage - 32032620092.5 17 Aug 2026 01:02PM UTC 13
85.03
GitHub Action Run
6 supabase_flutter - 32032620092.6 17 Aug 2026 01:00PM UTC 10
81.87
GitHub Action Run
7 supabase - 32032620092.7 17 Aug 2026 01:03PM UTC 13
87.19
GitHub Action Run
8 supabase_realtime - 32032620092.8 17 Aug 2026 01:03PM UTC 12
90.59
GitHub Action Run
9 supabase_auth - 32032620092.9 17 Aug 2026 01:03PM UTC 28
89.75
GitHub Action Run
5 postgrest - 32029108065.5 17 Aug 2026 12:20PM UTC 10
85.46
GitHub Action Run
2 yet_another_json_isolate - 32029108065.2 17 Aug 2026 12:18PM UTC 1
94.44
GitHub Action Run
6 supabase_common - 32029108065.6 17 Aug 2026 12:18PM UTC 16
99.48
GitHub Action Run
Source Files on build 32032620092
  • Tree
  • List 106
  • Changed 11
  • Source Changed 11
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32032620092
  • 40f6d89c on github
  • Prev Build on main (#32029108065)
  • Next Build on main (#32033193174)
  • 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