Skip to content

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

Merged
Coly010 merged 1 commit into
developfrom
columferry/cli-1857-status-add-hidden-exclude-and-ignore-health-check-flags
Jul 6, 2026
Merged

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

Conversation

@Coly010

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
@Coly010Coly010 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 ownerJuly 2, 2026 14:16

@chatgpt-codex-connectorchatgpt-codex-connectorBot 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 threadapps/cli/src/legacy/commands/status/status.command.ts
@github-actions

Copy link
Copy Markdown
Contributor

Supabase CLI preview

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

Preview package for commit 17ed12c.

@Coly010

Copy link
Copy Markdown
ContributorAuthor

@codex review

@chatgpt-codex-connectorchatgpt-codex-connectorBot 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 threadapps/cli/src/legacy/commands/status/status.command.ts
@Coly010
Coly010 added this pull request to the merge queueJul 6, 2026
Merged via the queue into develop with commit 28b17f6Jul 6, 2026
55 checks passed
@Coly010
Coly010 deleted the columferry/cli-1857-status-add-hidden-exclude-and-ignore-health-check-flags branch July 6, 2026 10:37
Sign up for freeto 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.

2 participants

@Coly010@jgoux