Skip to content

Improve role reassign invalid ID guidance#1290

Merged
mscoutermarsh merged 1 commit into
mainfrom
cursor/fix-role-reassign-invalid-id-8262
Jul 13, 2026
Merged

Improve role reassign invalid ID guidance#1290
mscoutermarsh merged 1 commit into
mainfrom
cursor/fix-role-reassign-invalid-id-8262

Conversation

@mscoutermarsh

@mscoutermarsh mscoutermarsh commented Jul 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Preserve HTTP 404s as ErrNotFound when the API returns an empty or unexpected error body.
  • Add role reassign examples that show listing roles and using the source role id value.
  • Add command-level guidance for invalid source role IDs.

Tests

  • go test ./internal/planetscale ./internal/cmd/role

Slack Thread

Open in Web Open in Cursor 

Co-authored-by: Mike Coutermarsh <coutermarsh.mike@gmail.com>
@mscoutermarsh mscoutermarsh marked this pull request as ready for review July 13, 2026 17:06
@mscoutermarsh mscoutermarsh requested a review from a team as a code owner July 13, 2026 17:06
@mscoutermarsh mscoutermarsh merged commit f99979e into main Jul 13, 2026
4 checks passed
@mscoutermarsh mscoutermarsh deleted the cursor/fix-role-reassign-invalid-id-8262 branch July 13, 2026 18:20
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