Skip to content

Add deploy-request inspect commands and throttler update - #1340

Merged
no-itsbackpack merged 2 commits into
mainfrom
feat/dr-edge-ops-read
Aug 13, 2026
Merged

Add deploy-request inspect commands and throttler update#1340
no-itsbackpack merged 2 commits into
mainfrom
feat/dr-edge-ops-read

Conversation

@no-itsbackpack

@no-itsbackpack no-itsbackpack commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add read-only pscale deploy-request / dr inspect commands: queue, operations, reviews, deployment, storage-check, throttler show
  • Add throttler update with mutually exclusive --ratio or --configuration keyspace=ratio
  • Document usage in AGENTS.md (inspect vs mutating throttler update)

Test plan

  • go test ./internal/planetscale/ ./internal/cmd/deployrequest/ -count=1
  • golangci-lint run ./internal/cmd/deployrequest/... ./internal/planetscale/... ./internal/mock/...
  • Manual: pscale dr queue <db> --org <org> --format json
  • Manual: pscale dr throttler show <db> <n> --org <org> --format json
  • Manual: pscale dr throttler update <db> <n> --org <org> --format json --ratio 25
  • Confirm --ratio + --configuration together is rejected

Expose queue, operations, reviews, deployment, storage-check, and throttler
show/update so Vitess deploy diagnostics no longer require pscale api.

Co-authored-by: Cursor <cursoragent@cursor.com>
@no-itsbackpack
no-itsbackpack requested a review from a team as a code owner August 13, 2026 20:02
Resolve Deployment struct conflict by keeping inspect/throttler fields alongside force_cutover_requested_at from main.

Co-authored-by: Cursor <cursoragent@cursor.com>
@no-itsbackpack
no-itsbackpack merged commit 214d340 into main Aug 13, 2026
4 checks passed
@no-itsbackpack
no-itsbackpack deleted the feat/dr-edge-ops-read branch August 13, 2026 20:54
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