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

supabase / cli / 38716194970
67%
develop: 46%

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

push

github

web-flow
chore(cli): map functions and compute command permissions (#7173)

Maps which Management API operations the `functions` and `compute`
commands call, and under which flags, so scoped tokens can be granted
the right permissions. The mapping is recorded in each command's
declaration, and integration tests check it against the requests the
handlers actually make. There is no user-facing change.

**Commands (12):** `functions` list, delete, download, deploy, new,
serve; `compute` list, status, delete, logs, push, new.

**Blocks used:** `projectRefPicker` and `linkedProjectCache` on every
command that calls the API.

**New shared blocks:**
- `functionsDownload` in `src/shared/functions/download.ts`, next to
`downloadFunctions`, so `pull` can compose it later.
- `computeRead` in `src/shared/compute/compute-api.ts`, used by status,
delete, logs and push.

**`is` conditions declared:**
- `functions deploy`: `use-api`, `use-docker`, `no-verify-jwt` and
`prune` select the API path, the Docker path, the JWT list lookup and
prune.
- `compute logs`: `follow`.
- `compute push`: `no-wait`.

**Notes**
- `functions download` lists `--use-api`, `--use-docker` and
`--legacy-bundle` as flags that don't change the call set. Under
`--legacy-bundle` the Go binary makes its own list, get and body calls,
which aren't recorded.
- `compute delete` marks its lookup best-effort: it carries on to the
DELETE after a 403 on the GET.
- `compute logs` needs the `analytics_logs_read` permission, unlike the
other compute commands.
- `functions new`, `functions serve` and `compute new` make no API calls
and declare none. Their layers provide no API client, so a call fails
type-checking.
- The context-only entries (deploy create, update, bulk update, prune
delete and the API-path list; download's get and list; logs' history and
compute lookup) carry a `context` and are asserted through explicit
request sequences, not `exact` drift checks.
- `--no-verify-jwt=false` on deploy over-declares t... (continued)

4097 of 6139 relevant lines covered (66.74%)

7.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38716194970.1 15 Oct 2026 09:54AM UTC 79
66.74
GitHub Action Run
Source Files on build 38716194970
  • 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 #38716194970
  • d9a2ee2d on github
  • Prev Build on gh-readonly-queue/develop/pr-7171-e47b5048d4fb335dab4fb36d2cdf9cdc49752605 (#38715995641)
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