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

supabase / cli / 38715995641
67%
develop: 46%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-7380-74d4774766936b6e6141a58d061c3396a01c85c9
DEFAULT BRANCH: develop
Ran 15 Oct 2026 09:52AM 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 09:50AM UTC coverage: 66.737%. Remained the same
38715995641

push

github

web-flow
chore(cli): map project network command permissions (#7171)

Declares the Management API permissions for the project network
commands: `vanity-subdomains` (get, check-availability, activate,
delete), `ssl-enforcement` (get, update), `encryption` (get-root-key,
update-root-key), `network-bans` (get, remove), `network-restrictions`
(get, update) and `postgres-config` (get, update, delete). Each leaf
composes the project-ref picker and the linked-project cache.

**Shared change:** `postgresConfigRead` and `postgresConfigWrite` are
new blocks in `postgres-config.shared.ts`, next to the helpers that
issue the calls (`postgres-config` reaches the API through `executeRaw`
on the typed client, so the drift matcher resolves them). `get` uses the
read block, `update` the read block (only when
`--replace-existing-overrides` is false) plus the write block, and
`delete` both.

**Conditions declared**
- `network-restrictions update`: `is` on `--append` selects the POST
`/apply` or the PATCH.
- `ssl-enforcement update`: the PUT is declared once per switch
(`--enable-db-ssl-enforcement`, `--disable-db-ssl-enforcement`), each
with `is: true`.
- `vanity-subdomains activate` and `check-availability`: the call is
declared for `--desired-subdomain` present and for `oneOf: [""]`,
because the handlers send an empty value to the API. Both also compose
`upgradeSuggestion`.

**Findings**
- `v1-get-pgsodium-config` is a GET that needs `project_admin_write`,
and `check-availability` is a POST that needs `vanity_subdomain_write`.
- `postgres-config` makes no restart call and has no delete endpoint:
`delete` is a GET followed by a PUT, and `--no-restart` only shapes the
PUT body.
- `network-bans remove` fills the linked-project cache even when an IP
is invalid, while `network-restrictions update` and `ssl-enforcement
update` validate before resolving the ref and fill nothing.
`postgres-config update` only checks that each `--config` value is a
`key=value` pair before resolving; an... (continued)

4097 of 6139 relevant lines covered (66.74%)

7.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38715995641.1 15 Oct 2026 09:52AM UTC 79
66.74
GitHub Action Run
Source Files on build 38715995641
  • 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 #38715995641
  • 97b1e4ba on github
  • Prev Build on gh-readonly-queue/develop/pr-7139-1c019647036cd8fd9ec2f105393862b893e63ccb (#38713725428)
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