Skip to content

Comments

vtctld: add VDiff CLI commands#1198

Merged
nickvanw merged 5 commits intomainfrom
nick/vtctld-cli-vdiff
Feb 25, 2026
Merged

vtctld: add VDiff CLI commands#1198
nickvanw merged 5 commits intomainfrom
nick/vtctld-cli-vdiff

Conversation

@nickvanw
Copy link
Contributor

Summary

  • Adds the vdiff subcommand group under pscale branch vtctld
  • Implements create, show, stop, resume, and delete operations
  • All *bool and *int fields use the cmd.Flags().Changed() guard pattern so server defaults are respected when flags aren't explicitly set

Stacked on #1195.

@nickvanw nickvanw requested a review from a team as a code owner February 24, 2026 00:33
@nickvanw nickvanw force-pushed the nick/vtctld-cli-base branch from 4195ce4 to 8172bd9 Compare February 24, 2026 00:36
Add the vdiff subcommand group with create, show, stop, resume,
and delete operations. These allow managing VDiff operations on
Vitess branches through the CLI.

Signed-off-by: Nick Van Wiggeren <nick@planetscale.com>
@nickvanw nickvanw force-pushed the nick/vtctld-cli-vdiff branch from 556d361 to 401e839 Compare February 24, 2026 00:37
Base automatically changed from nick/vtctld-cli-base to main February 25, 2026 00:12
nickvanw and others added 3 commits February 24, 2026 16:36
Apply gofmt formatting to align struct field indentation so the lint check passes.
Set --auto-retry to default true in CLI help so it matches API behavior when omitted. Request payload behavior remains unchanged because optional fields are still only sent when flags are explicitly set.
@nickvanw nickvanw merged commit c221bb5 into main Feb 25, 2026
2 checks passed
@nickvanw nickvanw deleted the nick/vtctld-cli-vdiff branch February 25, 2026 01:04
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