Skip to content

Fix confusing missing role error - #1472

Merged
eileencodes merged 1 commit into
mainfrom
fix-confusing-missing-role-error
Oct 16, 2026
Merged

eileencodes merged 1 commit into
mainfrom
fix-confusing-missing-role-error

Conversation

@eileencodes

Copy link
Copy Markdown
Contributor

When a database doesn't have a role created yet (ie creating a postgres database from the CLI) calling pscale role default <database> <branch> will give an error that either the db or branch doesn't exist, which is confusing.

Instead point the user at creating a role if the branch does actually exist.

When a database doesn't have a role created yet (ie creating a postgres
database from the CLI) calling `pscale role default <database> <branch>`
will give an error that either the db or branch doesn't exist, which is
confusing.

Instead point the user at creating a role if the branch does actually
exist.
@eileencodes
eileencodes requested a review from a team as a code owner October 16, 2026 20:07

@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: low. Approved. Cursor Bugbot completed with no findings that need human review; Cursor Security Agent was not running. This is a narrow missing-role error-message change with tests, and no prior approval needed to be dismissed.

Open in Web View Automation 

Sent by Cursor Approval Agent: cli-reviewer

@eileencodes
eileencodes merged commit 89498e2 into main Oct 16, 2026
5 checks passed
@eileencodes
eileencodes deleted the fix-confusing-missing-role-error branch October 16, 2026 20:35
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