Skip to content

Add Neki support to the CLI - #1401

Merged
eileencodes merged 1 commit into
mainfrom
launch/neki-support
Sep 10, 2026
Merged

Add Neki support to the CLI#1401
eileencodes merged 1 commit into
mainfrom
launch/neki-support

Conversation

@eileencodes

Copy link
Copy Markdown
Contributor

Neki databases can be created, connected, restored, and operated from pscale. Existing Postgres commands that apply (sql, shell, role, maintenance) accept Neki as well.

New and extended commands:

pscale database create --engine neki
pscale logs <database> <branch>
pscale size cluster list --engine neki
pscale branch data-topology get|ls|update
pscale branch shard list|show|create|assign|update|delete
pscale branch config-profile list|show|create|update|delete
pscale branch config-profile default|set-default|parameters|maintenance
pscale branch config-profile extensions|extensions enable|extensions disable
pscale branch config-profile changes list|show|cancel
pscale branch router list|show|create|update|delete|sizes
pscale branch router changes list|show|cancel
pscale branch sidecar list|show|update|parameters
pscale branch sidecar changes list|show|cancel
pscale branch admin show|update|parameters|sizes
pscale branch admin changes list|show|cancel
pscale branch maintenance run
pscale backup restore
pscale backup restore show

Neki restore accepts --config-profile and --router; --cluster-size is optional so the source default profile size is kept. Shell accepts --router for Neki routing.

Neki databases can be created, connected, restored, and operated from
pscale. Existing Postgres commands that apply (sql, shell, role,
maintenance) accept Neki as well.

New and extended commands:

```
pscale database create --engine neki
pscale logs <database> <branch>
pscale size cluster list --engine neki
pscale branch data-topology get|ls|update
pscale branch shard list|show|create|assign|update|delete
pscale branch config-profile list|show|create|update|delete
pscale branch config-profile default|set-default|parameters|maintenance
pscale branch config-profile extensions|extensions enable|extensions disable
pscale branch config-profile changes list|show|cancel
pscale branch router list|show|create|update|delete|sizes
pscale branch router changes list|show|cancel
pscale branch sidecar list|show|update|parameters
pscale branch sidecar changes list|show|cancel
pscale branch admin show|update|parameters|sizes
pscale branch admin changes list|show|cancel
pscale branch maintenance run
pscale backup restore
pscale backup restore show
```

Neki restore accepts --config-profile and --router; --cluster-size is
optional so the source default profile size is kept. Shell accepts
--router for Neki routing.
@eileencodes
eileencodes requested a review from a team as a code owner September 10, 2026 14:39

@cursor cursor 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.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b0a8f8d. Configure here.

Comment thread internal/cmd/branch/create.go
Comment thread internal/cmd/backup/restore.go
@eileencodes
eileencodes merged commit fdacc9f into main Sep 10, 2026
5 checks passed
@eileencodes
eileencodes deleted the launch/neki-support branch September 10, 2026 14:45
eileencodes added a commit that referenced this pull request Sep 10, 2026
Followup to fix bugbot comments on #1401

Accept Neki restore sizing on --restore-point and normalize cluster-size slugs.
--from + --restore-point is a backup restore, so --config-profile/--router were
rejected before the backup id was resolved. --cluster-size also skipped
ToSizeSKUName, so hyphenated sizes from `pscale size cluster list` disagreed
with the profile override path.
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.

3 participants