Skip to content

feat(experimental-deploy): deprecate in favour of the zerodeploy plugin - #2267

Open
martin-helmich wants to merge 2 commits into
masterfrom
feat/deprecate-experimental-deploy
Open

martin-helmich wants to merge 2 commits into
masterfrom
feat/deprecate-experimental-deploy

Conversation

@martin-helmich

Copy link
Copy Markdown
Member

mw experimental deploy is now available as mw zerodeploy run from the @mittwald/plugin-zerodeploy plugin (see #2249), which users can install with mw plugins install zerodeploy since CLI 1.31.0. This PR deprecates the command in the CLI itself.

Changes

  • mw experimental deploy no longer deploys anything. It prints a message that points users to the plugin, and exits with exit code 1, so that scripts and CI pipelines that still use it fail instead of silently skipping the deployment.
  • The command accepts (and ignores) the flags of the former command, so that existing invocations show the message instead of a flag parsing error, and it does not require authentication.
  • The command is marked as deprecated in mw experimental --help and in its own help.
  • The deploy-only helpers (ensureStackForService, serviceNameFromDirectory) and the @mittwald/container-deploy dependency are removed; they live in the plugin now.
  • CLAUDE.md: changes to the deploy functionality go into the plugin.
$ mw experimental deploy --domain app.example.com
 ›   Warning: "mw experimental deploy" has moved to the zerodeploy plugin.
 ›   Install the plugin with "mw plugins install zerodeploy", and use "mw
 ›   zerodeploy run" instead; it accepts the same flags.
$ echo $?
1

Commands under mw experimental may change incompatibly without a major version bump, so this is not marked as a breaking change. The command (and the experimental topic) can be removed entirely in a later release.

🤖 Generated with Claude Code

martin-helmich and others added 2 commits December 3, 2026 10:37
"mw experimental deploy" is available as "mw zerodeploy run" from the
@mittwald/plugin-zerodeploy plugin. Replace the command with a stub that
points users to the plugin and exits with a non-zero exit code, so that
scripts that still use it fail instead of silently skipping the
deployment. The stub accepts (and ignores) the flags of the former
command and does not require authentication.

Remove the deploy-only helpers and the @mittwald/container-deploy
dependency, which now live in the plugin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant