Skip to content

fix(cli): add hidden --exclude and --ignore-health-check flags to status#5770

Open
Coly010 wants to merge 1 commit into
developfrom
columferry/cli-1857-status-add-hidden-exclude-and-ignore-health-check-flags
Open

fix(cli): add hidden --exclude and --ignore-health-check flags to status#5770
Coly010 wants to merge 1 commit into
developfrom
columferry/cli-1857-status-add-hidden-exclude-and-ignore-health-check-flags

Conversation

@Coly010

@Coly010 Coly010 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Current Behavior

The TS status command only declares --override-name. Go's status also registers two hidden flags, --exclude and --ignore-health-check (cmd/status.go:38-42). Because the Effect CLI parser rejects undeclared flags before the command proxies to the Go binary, supabase status --exclude db and supabase status --ignore-health-check fail with an UnrecognizedOption error in TS while working fine in Go.

Expected Behavior

Both flags are now declared as hidden (matching Go's MarkHidden) and forwarded verbatim to the Go binary proxy, following the same pattern already used for --override-name and for start's hidden flags. SIDE_EFFECTS.md documents the new flags with references to the Go source lines they mirror.

Fixes CLI-1857

Go's status command registers two hidden flags, --exclude and
--ignore-health-check (cmd/status.go:39-42), that the TS proxy never
declared. Since the Effect CLI parser rejects undeclared flags before
proxying to the Go binary, supabase status --exclude db (or
--ignore-health-check) failed with UnrecognizedOption in TS while
working in Go.

Fixes CLI-1857
@Coly010 Coly010 self-assigned this Jul 2, 2026
@Coly010 Coly010 marked this pull request as ready for review July 2, 2026 14:15
@Coly010 Coly010 requested a review from a team as a code owner July 2, 2026 14:16

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 17ed12c200

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/cli/src/legacy/commands/status/status.command.ts
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase/cli/supabase@17ed12c200dc16c8bb716a1dd63d6ebcff207b6b

Preview package for commit 17ed12c.

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