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

supabase / cli / 38591079144
67%
develop: 46%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-7380-74d4774766936b6e6141a58d061c3396a01c85c9
DEFAULT BRANCH: develop
Ran 14 Oct 2026 03:39PM 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
38591079144

push

github

web-flow
chore(cli): map inspect command permissions (#7148)

Maps the Management API permissions for the `inspect` commands: the 25
`inspect db` subcommands and `inspect report`.

All 25 `inspect db` subcommands run one shared query runner, so they
share one declaration: the database-config block (`dbConfig`) with
`linked` as the default database target. `inspect report` declares the
same block plus `--output-dir`, which makes no API call. On `--local`
and `--db-url` neither command calls the Management API. On the linked
project they fetch the pooler config (with `--project-ref`) and create a
temporary login role unless a database password is already available.
Neither command fills the linked-project cache or prompts for a project.

Tests run the real database-config resolver, record the requests it
makes and check them against the declarations. One linked `db-stats` run
is checked against all 25 `inspect db` declarations, taken from the real
command tree; `--linked=false`, an empty `--project-ref` and the
`--local`/`--db-url` no-request cases are covered separately, as is
`inspect report`.

Shared pieces: no block or model change, no `oneOf`/`is` conditions of
its own, no new operations, no change to `OPERATIONS_WITHOUT_FGA`. The
26 commands leave the pending list.

Docs: `inspect db`'s `SIDE_EFFECTS.md` had the wrong login-role and
network-ban routes and no concrete pooler route; `inspect report`'s
claimed a linked-project cache write that nothing performs.

🤖 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 38591079144.1 14 Oct 2026 03:39PM UTC 79
66.74
GitHub Action Run
Source Files on build 38591079144
  • 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 #38591079144
  • 76816187 on github
  • Prev Build on gh-readonly-queue/develop/pr-7146-8a549dffa6bc5c88069c61c1f55ef55ad9b82ae2 (#38590951313)
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