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

supabase / supabase-flutter / 27607214829
85%

Build:
DEFAULT BRANCH: main
Ran 16 Jun 2026 09:15AM UTC
Jobs 8
Files 76
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

16 Jun 2026 09:14AM UTC coverage: 85.793% (+0.09%) from 85.708%
27607214829

push

github

web-flow
test: run integration tests against the Supabase CLI stack (#1411)

> **Stacked on #1410.** Base is `fix/gotrue-getclaims-asymmetric-jwt`;
the migrated gotrue tests need that fix to pass under the CLI's
asymmetric tokens. Retarget to `main` once #1410 merges.

## What

Replaces the four per-package `docker-compose` setups (`infra/`) with a
single Supabase CLI stack under `supabase/`. CI now installs a pinned
Supabase CLI and runs `supabase start`/`stop` instead of `docker
compose`; the package tests point at the unified gateway (`/auth/v1`,
`/rest/v1`, `/realtime/v1`, `/storage/v1`) and the database it exposes.

## Why

The hand-written compose files pinned service versions by hand and
drifted from real Supabase. Using the CLI keeps the local/CI stack
aligned with what users actually run, matching the approach in
`supabase-js`.

## Key points

- **Single config at the repo root** (`supabase/config.toml`,
`migrations/`, `seed.sql`) serving all four backend packages; ports are
offset by +100 (gateway `54421`, db `54422`) so the stack can run
alongside another local Supabase project.
- **Committed RS256 signing key** (`supabase/signing_keys.json`): a
dedicated, local-only test key. It makes the issued tokens deterministic
and uses RS256 (which the Dart client verifies) instead of the CLI
default ES256. The `anon`/`service_role` test tokens hardcoded in the
suites are signed by it, so it must not be regenerated.
- Migrations/seed recreate the schemas, functions (including the
`reset_and_init_auth_data` RPC), `todos` publication and dummy data the
tests rely on.
- A few assertions were updated for genuine newer-server behavior
(`PGRST205` for missing tables, the storage `emptyBucket` "queued"
message).
- `infra/` removed; `README.md`, `AGENTS.md` and the realtime README
updated to use the CLI.

## Validation

Locally against the CLI stack: postgrest (151), gotrue (422), storage
(79) and realtime (139, including the v1.0.0 and v2.0.0 Dockerized
integration ... (continued)

4070 of 4744 relevant lines covered (85.79%)

3.5 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
71.21
0.69% packages/gotrue/lib/src/gotrue_client.dart
Jobs
ID Job ID Ran Files Coverage
1 supabase - 27607214829.1 16 Jun 2026 09:16AM UTC 15
88.62
GitHub Action Run
2 supabase_flutter - 27607214829.2 16 Jun 2026 09:16AM UTC 7
78.57
GitHub Action Run
3 storage_client - 27607214829.3 16 Jun 2026 09:17AM UTC 5
93.01
GitHub Action Run
4 postgrest - 27607214829.4 16 Jun 2026 09:17AM UTC 9
83.74
GitHub Action Run
5 functions_client - 27607214829.5 16 Jun 2026 09:15AM UTC 2
97.1
GitHub Action Run
6 gotrue - 27607214829.6 16 Jun 2026 09:18AM UTC 26
83.53
GitHub Action Run
7 yet_another_json_isolate - 27607214829.7 16 Jun 2026 09:15AM UTC 1
79.03
GitHub Action Run
8 realtime_client - 27607214829.8 16 Jun 2026 09:17AM UTC 11
87.65
GitHub Action Run
Source Files on build 27607214829
  • Tree
  • List 76
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27607214829
  • 820255d3 on github
  • Prev Build on main (#27603730747)
  • Next Build on main (#27618738259)
  • 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