Skip to content

Add keyspace routing rule commands - #1320

Merged
maxenglander merged 3 commits into
mainfrom
cursor/keyspace-routing-rules-ddd2
Aug 13, 2026
Merged

Add keyspace routing rule commands#1320
maxenglander merged 3 commits into
mainfrom
cursor/keyspace-routing-rules-ddd2

Conversation

@planetscale-ai-tools

@planetscale-ai-tools planetscale-ai-tools Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Add hidden pscale branch vtctld commands for reading and replacing live keyspace routing rules.

The apply command accepts either inline JSON with --rules or a JSON file with --rules-file, including an empty {} document to clear all rules. It also supports --cells and --skip-rebuild.

Testing:

  • go test ./internal/cmd/branch/vtctld ./internal/planetscale
  • CI build, tests, lint, and dependency license checks passed

Drop -f/-r/-c short flags so cobra no longer panics merging with root
--format (-f). Matches sibling vtctld commands that use long flags only.
Comment thread internal/cmd/branch/vtctld/keyspace_routing_rules.go Outdated
@maxenglander
maxenglander marked this pull request as ready for review August 4, 2026 14:43
@maxenglander
maxenglander requested a review from a team as a code owner August 4, 2026 14:43
@maxenglander
maxenglander merged commit 09d014b into main Aug 13, 2026
4 checks passed
@maxenglander
maxenglander deleted the cursor/keyspace-routing-rules-ddd2 branch August 13, 2026 15:53
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