Skip to content

Deprecate pscale workflow in favor of move-tables - #1449

Merged
no-itsbackpack merged 2 commits into
mainfrom
egomez/deprecate-pscale-workflow
Sep 29, 2026
Merged

no-itsbackpack merged 2 commits into
mainfrom
egomez/deprecate-pscale-workflow

Conversation

@no-itsbackpack

Copy link
Copy Markdown
Contributor

pscale workflow manages the older PlanetScale workflows, and pscale branch vtctl move-tables is now the way to move tables between keyspaces and import MySQL databases. Nothing in the CLI told people that, and pscale branch vtctl didn't show in pscale branch --help, so the replacement was hard to find.

pscale workflow and all of its subcommands now print a deprecation notice to stderr that points at move-tables, and the command no longer shows in pscale --help. The pscale data-imports notice now points at the external keyspace import flow instead of the dashboard, and its subcommands print it too. pscale branch vtctl now shows in pscale branch --help, with subcommands that aren't generally available still hidden.

$ pscale workflow list mydb --org acme
Command "workflow" is deprecated, use "pscale branch vtctl move-tables" instead. See https://planetscale.com/docs/cli/move-tables for more information.

🤖 Generated with Claude Code

no-itsbackpack and others added 2 commits September 29, 2026 12:56
pscale workflow is now deprecated in favor of pscale branch vtctl
move-tables, and the data-imports notice points at the external keyspace
import flow. pscale branch vtctl now shows in help, with the subcommands
that are not generally available still hidden.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Cobra only prints Deprecated for the command being run, so
"pscale workflow list" and the other subcommands were silent.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@no-itsbackpack
no-itsbackpack marked this pull request as ready for review September 29, 2026 18:45
@no-itsbackpack
no-itsbackpack requested a review from a team as a code owner September 29, 2026 18:45
@no-itsbackpack
no-itsbackpack merged commit 989b4ee into main Sep 29, 2026
5 checks passed
@no-itsbackpack
no-itsbackpack deleted the egomez/deprecate-pscale-workflow branch September 29, 2026 19:22
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