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

supabase / cli / 28231285491
65%
develop: 65%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-5718-64df2ba83785d849fd230ef7aea7cf5a60de63c4
DEFAULT BRANCH: develop
Ran 26 Jun 2026 10:06AM UTC
Jobs 1
Files 229
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

26 Jun 2026 10:04AM UTC coverage: 64.981%. Remained the same
28231285491

push

github

web-flow
test(cli): supabox-backed live test suite + cli-e2e-ci dispatch (#5699)

Adds a `live` test category that exercises the built CLI against a
**real Supabase platform** — a fulls supabox stack stood up in CI by
cli-e2e-ci — and the cli-side trigger that runs it for a PR.

## What changed
- **`live` Vitest project** (`*.live.test.ts`) + harness in
`apps/cli/tests/helpers/live.ts`:
- `runSupabaseLive` (drives the built binary via
`SUPABASE_PROFILE=supabase-local`), `describeLive` (gated on
`SUPABASE_ACCESS_TOKEN`), and `describeLiveProject` /
`requireLiveProjectRef` (gated on `SUPABASE_LIVE_PROJECT_REF` for
project-scoped suites).
  - `tests/live-global-setup.ts` fail-fast reachability probe.
- nx `test:live` target (auto-derived from the project) + `nx.json`
default; **removed** the recursive `test:live` package script (it
shadowed the nx target and looped).
- **8 live scenarios**: `orgs list` (+JSON, +invalid-token negative),
`projects list` (+JSON), `functions list` / `branches list`
(project-scoped), and a `functions list` unknown-project (404) negative.
- **`.github/workflows/dispatch-cli-e2e-ci.yml`**: on PRs labeled
`run-live-e2e-ci`, fires a `repository_dispatch` to cli-e2e-ci with the
PR head SHA; cli-e2e-ci builds that SHA, runs the suite, and reports a
`cli-e2e-ci / live` commit status back. Distinct from the staging
`live-e2e.yml`.

## Why
There was no backend-hitting live coverage — existing `*.e2e.test.ts`
use fake tokens. This validates real Management-API flows end-to-end
against supabox. Refs CLI-1825 / CLI-1834 / CLI-1831.

## Reviewer notes
- The `live` project is **inert by default** — it only runs when
`SUPABASE_ACCESS_TOKEN` is set (the cli-e2e-ci runner provides supabox's
seeded PAT), so it does not touch the normal unit/integration/e2e loop.
- Validated green in cli-e2e-ci on Blacksmith: **8 passed, 0 skipped**,
including the project-scoped suites (the runner provisions a project and
sets `SUPABASE_LIVE_PROJECT_REF`).
- The dispatc... (continued)

10976 of 16891 relevant lines covered (64.98%)

10.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28231285491.1 26 Jun 2026 10:06AM UTC 229
64.98
GitHub Action Run
Source Files on build 28231285491
  • Tree
  • List 229
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28231285491
  • a4a25304 on github
  • Prev Build on gh-readonly-queue/develop/pr-5707-1171646dd97a7d028d4d0a039c257d88c240e265 (#28230357665)
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