Skip to content

Rename read-only replica commands to dedicated read replica commands - #1457

Merged
nholden merged 5 commits into
mainfrom
cursor/dedicated-read-replicas-cli-0221
Oct 2, 2026
Merged

nholden merged 5 commits into
mainfrom
cursor/dedicated-read-replicas-cli-0221

Conversation

@nholden

@nholden nholden commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Customers can manage Postgres replicas with pscale dedicated-read-replica and connect roles with --dedicated-read-replica. The CLI keeps the previous command and flag as deprecated aliases so existing scripts continue to work.

Open in Web Open in Cursor 

cursoragent and others added 4 commits October 2, 2026 18:32
Co-authored-by: Nick Holden <nick.r.holden@gmail.com>
Co-authored-by: Nick Holden <nick.r.holden@gmail.com>
Co-authored-by: Nick Holden <nick.r.holden@gmail.com>
Co-authored-by: Nick Holden <nick.r.holden@gmail.com>
@cursor cursor Bot changed the title Rename read-only replicas to dedicated read replicas Rename read-only replica commands to dedicated read replica commands Oct 2, 2026
@nholden nholden self-assigned this Oct 2, 2026
@nholden
nholden marked this pull request as ready for review October 2, 2026 20:34
@nholden
nholden requested a review from a team as a code owner October 2, 2026 20:34

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Risk: medium. Approved. Cursor Bugbot completed with no findings, Cursor Security Agent was not running, and this is a bounded CLI rename with deprecated aliases. No reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: cli-reviewer

Cobra only prints a command's Deprecated message when that command
itself runs, so `pscale read-only-replica list` and the other
subcommands were silent. Wire cmdutil.WarnDeprecated into the alias's
PersistentPreRunE, matching the deprecated workflow command, so every
subcommand warns on stderr while stdout stays unchanged.

Also use the new "dedicated read replica deleted" result string in the
delete command's JSON output.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@nholden
nholden merged commit 13f4af7 into main Oct 2, 2026
4 checks passed
@nholden
nholden deleted the cursor/dedicated-read-replicas-cli-0221 branch October 2, 2026 23:06
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