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

supabase / cli / 38590951313
67%
develop: 46%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-7380-74d4774766936b6e6141a58d061c3396a01c85c9
DEFAULT BRANCH: develop
Ran 14 Oct 2026 03:38PM UTC
Jobs 1
Files 79
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

14 Oct 2026 03:37PM UTC coverage: 66.737%. Remained the same
38590951313

push

github

web-flow
chore(cli): map migration and test command permissions (#7146)

Maps `migration list`, `fetch`, `repair`, `up`, `down`, `squash` and
`new`, plus `test db` and `test new`, to the Management API operations
they call, so a scoped access token can be granted per command.

The six database commands declare `dbConfig` and the linked-project
cache under the linked target. `list`, `fetch` and `repair` default to
linked; `up`, `down` and `squash` default to local, where no request is
made. `--password` (list, repair, squash) removes the login-role call,
and `--project-ref` adds the pooler config fetch. `migration new` and
`test new` make no calls. `test db` declares the same database config as
its hidden alias `db test`.

Each command's integration tests run once through the real database
config resolver and linked-project cache and check the recorded requests
against the declarations. That covers the linked run (pooler config,
login role, project lookup for the cache), the local run (no request;
for `up`, `down`, `squash` and `test db` a login-role request is also
rejected under the default flags), `migration up --linked=false`, and
`--password` on `list`, `repair` and `squash`.

Also corrects the stale Management API routes in `migration squash`'s
`SIDE_EFFECTS.md`.

No operations without FGA permissions and no shared block changes.
`--linked=false` is exercised through the real layers only on `migration
up`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>

4097 of 6139 relevant lines covered (66.74%)

7.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38590951313.1 14 Oct 2026 03:38PM UTC 79
66.74
GitHub Action Run
Source Files on build 38590951313
  • Tree
  • List 79
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38590951313
  • d23cfd40 on github
  • Prev Build on gh-readonly-queue/develop/pr-7154-d47510fbd9cf0537020256dee5090a8247e6793b (#38587932865)
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