Skip to content

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

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

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

Conversation

@jgoux
Copy link
Copy Markdown
Contributor

@jgoux jgoux commented May 28, 2026

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

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