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

supabase / cli / 38678032695
67%
develop: 46%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-7380-74d4774766936b6e6141a58d061c3396a01c85c9
DEFAULT BRANCH: develop
Ran 15 Oct 2026 03:47AM 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

15 Oct 2026 03:46AM UTC coverage: 66.737%. Remained the same
38678032695

push

github

web-flow
chore(cli): map gen types, signing-key and bearer-jwt permissions (#7149)

Maps `gen types`, `gen signing-key` and `gen bearer-jwt` to the
Management API operations they call, so a scoped access token can be
granted per command. `gen keys` stays pending.

`gen types` picks its target from flag values, so it declares flag
conditions instead of a database target: `--local`, `--db-url` and
`--postgrest-v9-compat` turn every call off. TypeScript calls the types
endpoint. Other languages look the project up, fall back to the preview
branch config on a 404, and reach the database through the database
config resolver (login role, pooler config) and the pooler retry. The
project picker and the linked-project cache fill are declared too.
`signing-key` and `bearer-jwt` make no calls.

Shared block change: a target-free `dbConfigPoolerFallbackLinked` for
commands that choose their target from flag values
(`dbConfigPoolerFallback` is built from the same entries), and the first
fallback context is reworded to fit every command. Dump, pull and the
db-config tests are unchanged.

`gen types` runs through the real database config resolver and
linked-project cache with the Management API recorded, for the
TypeScript, pooler, IPv6 retry, preview branch, picker, `--local=false`
and `--db-url` paths. On this command the pooler, login-role and
network-ban calls are each declared by more than one source, so removing
one source alone is not caught by a test; the grants are per operation
either way. No operations without FGA permissions. Only `typescript` and
`go` run through the recording mocks.

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

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Andrew Valleteau <avallete@users.noreply.github.com>

4097 of 6139 relevant lines covered (66.74%)

7.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38678032695.1 15 Oct 2026 03:47AM UTC 79
66.74
GitHub Action Run
Source Files on build 38678032695
  • 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 #38678032695
  • c4ccf77d on github
  • Prev Build on gh-readonly-queue/develop/pr-7163-b4e6611c70f2486382428aa7d627b0e8b253308b (#38640487718)
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