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

supabase / supabase-flutter / 27607214829 / 8
85%
main: 85%

Build:
DEFAULT BRANCH: main
Ran 16 Jun 2026 09:23AM UTC
Files 11
Run time 0s
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: 87.654%. Remained the same
27607214829.8

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)

994 of 1134 relevant lines covered (87.65%)

3.46 hits per line

Source Files on job realtime_client - 27607214829.8
  • Tree
  • List 11
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27607214829
  • 820255d3 on github
  • Prev Job for on main (#27575444586.2)
  • Next Job for on main (#27618738259.6)
  • 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