Skip to content

fix(cli): list --override-name keys and skip disabled services (CLI-3371) - #7947

Open
7ttp wants to merge 2 commits into
developfrom
7ttp/cli-3371-status-o-env-writing-the-url-and-keys-an-app
Open

7ttp wants to merge 2 commits into
developfrom
7ttp/cli-3371-status-o-env-writing-the-url-and-keys-an-app

Conversation

@7ttp

@7ttp 7ttp commented Dec 3, 2026

Copy link
Copy Markdown
Member

TL;DR

supabase status --help lists the --override-name keys again and the stopped services notice skips services the config turns off

whats hurting the user?

so writing an app .env from supabase status -o env meant guessing names like api.url.
a default project also got Stopped services: [supabase_imgproxy_<id> supabase_pooler_<id>] on every status and repeat start, which reads like an error for services that are just off

now sorted by?

the help lists every key the override parser reads, with one example. the stopped check skips services the config disables, using the same gates supabase start launches by, so an enabled service that is down still shows. stdout and exit codes are unchanged

ref:

@7ttp 7ttp self-assigned this Dec 3, 2026
@7ttp
7ttp requested a review from a team as a code owner December 3, 2026 15:48
@7ttp
7ttp requested a review from mdonnalley December 3, 2026 15:48
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

CLI benchmark (Lightweight Commands): no changes found

Commit 5eaf839 against develop at c564043 · 10 runs each · report only, never blocks merging

Command Workload Before After Change
supabase --version version 136 ms 137 ms no real change
supabase --help help 156 ms 165 ms no real change (+6%, within normal variation)
supabase init init 150 ms 151 ms no real change
supabase migration new bench migration-new 159 ms 156 ms no real change
supabase config convert config-convert 142 ms 145 ms no real change
supabase config validate config-validate 157 ms 154 ms no real change
supabase gen types --lang typescript --project-id replayfixtureprojref gen-types 169 ms 169 ms no real change
supabase projects list projects-list 150 ms 150 ms no real change
supabase functions list --project-ref replayfixtureprojref functions-list 154 ms 153 ms no real change

API calls: unchanged for all 9 commands.

Binary size: 134.1 MB, up 4.0 KB from 134.1 MB.

Details: timing ranges, API calls per command, slowest phases

Timing ranges

Command Workload Before range After range Change Verdict
supabase --version version 127-175 ms 126-154 ms +1 ms (+1%) within noise
supabase --help help 133-180 ms 140-195 ms +9 ms (+6%) within noise
supabase init init 130-204 ms 134-176 ms +1 ms (+0%) within noise
supabase migration new bench migration-new 132-186 ms 138-219 ms -3 ms (-2%) within noise
supabase config convert config-convert 128-182 ms 129-224 ms +2 ms (+2%) within noise
supabase config validate config-validate 154-194 ms 146-164 ms -3 ms (-2%) within noise
supabase gen types --lang typescript --project-id replayfixtureprojref gen-types 161-196 ms 156-216 ms +0 ms (+0%) within noise
supabase projects list projects-list 138-163 ms 144-159 ms +0 ms (+0%) within noise
supabase functions list --project-ref replayfixtureprojref functions-list 147-174 ms 146-177 ms -1 ms (-1%) within noise

API calls per command

Command Workload Before After Endpoint changes
supabase --version version 0 0
supabase --help help 0 0
supabase init init 0 0
supabase migration new bench migration-new 0 0
supabase config convert config-convert 0 0
supabase config validate config-validate 0 0
supabase gen types --lang typescript --project-id replayfixtureprojref gen-types 2 2
supabase projects list projects-list 1 1
supabase functions list --project-ref replayfixtureprojref functions-list 2 2

Slowest phases

No command moved beyond noise, so there are no phase deltas.

Workflow run

Comment /bench to run the lightweight benchmark (this comment) again on the latest commit, or /bench full to also run the integration-heavy benchmark, which posts in its own comment.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 AI Review

CLI reference prose guidance: snapshot supabase/supabase@874fbca supplied to reviewers (advisory, not a style pass).

Static review confirmed two findings. After a config edit disables a service, supabase status and supabase start against an already-running stack can omit its existing stopped container from the stderr notice. The new --override-name help also needs a clearer label for the supported field keys.

Findings

Severity Location Category Sources Claim
🟡 MINOR apps/cli/src/command-internal/status-values.ts:150 correctness codex An existing stopped service container disappears from the stopped-services notice when the user disables the service in config before restarting the stack.
⚪ NIT apps/cli/src/commands/status/status.command.ts:30 docs-style codex The --override-name help uses e.g. and leaves the list of supported field keys unlabeled.

Stats

Claude findings: 0 · Codex findings: 2 · Confirmed: 2 · Refuted: 0 · Uncertain: 0


Models: claude-opus-5-5 + gpt-6.2-sol · Trigger: auto · Workflow run

This review runs once per PR. A maintainer can request another with a /ai-review comment.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant