Skip to content

feat(cli): support high availability project creation#5383

Closed
jgoux wants to merge 1 commit into
developfrom
codex/cli-1110-multigres-project-create
Closed

feat(cli): support high availability project creation#5383
jgoux wants to merge 1 commit into
developfrom
codex/cli-1110-multigres-project-create

Conversation

@jgoux

@jgoux jgoux commented May 28, 2026

Copy link
Copy Markdown
Contributor

What changed

Adds CLI support for creating high availability projects via supabase projects create --high-availability.

This updates both project creation paths:

  • apps/cli-go accepts the new flag and sends high_availability in the Management API request body when explicitly provided.
  • apps/cli/src/legacy parses and forwards the flag to the Go CLI proxy.

The Management API field is added through the OpenAPI overlay so generated Go types remain reproducible until the field is promoted into the public/green OpenAPI spec.

Notes for reviewers

high_availability currently exists in local/staging Management API specs, but is not yet present in https://api.supabase.green/api/v1-yaml, which is what go generate uses in this repo. The overlay can be removed once the field is available there.

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 26595137664

Coverage decreased (-0.03%) to 63.737%

Details

  • Coverage decreased (-0.03%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 21 coverage regressions across 2 files.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

21 previously-covered lines in 2 files lost coverage.

File Lines Losing Coverage Coverage
cmd/projects.go 16 35.14%
internal/utils/git.go 5 57.14%

Coverage Stats

Coverage Status
Relevant Lines: 15749
Covered Lines: 10038
Line Coverage: 63.74%
Coverage Strength: 7.09 hits per line

💛 - Coveralls

jgoux commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #5566, which carries the resolved implementation on the Linear branch and is ready for review.

@jgoux jgoux closed this Jun 12, 2026
pull Bot pushed a commit to oogalieboogalie/cli that referenced this pull request Jun 12, 2026
Adds support for creating projects with high availability from the
TypeScript CLI path.

The Management API runtime already accepts `high_availability`, but the
published OpenAPI spec has not exposed it yet. This adds the field
through the OpenAPI override system so the generated API types include
it, then wires `supabase projects create --high-availability` through
the shared project creation flow.

Supersedes supabase#5383, which was still draft and conflicted after the
TypeScript project creation refactor.
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.

2 participants