Skip to content

Deploy commands report successful execution even when no deployment action actually occurs #2696

Description

@zainforbjs

Describe the bug
Several wheels deploy commands currently report successful execution even when no actual deployment action occurs on the target server(s).
This creates a misleading UX where commands appear successful despite:

  • no container being started
  • no deployment verification is occurring
  • no remote execution confirmation
  • no validation that the requested action actually completed
    Example:
wheels deploy setup

returns

Deployed testapp version unknown to 1 host(s)

Even though no image exists on Docker Hub, no GitHub repo.
Example 2:

wheels deploy remove --confirm

returns:

Removed testapp and its containers from 1 host(s)

even though no application container actually exists on the remote server.

To Reproduce
Steps to reproduce the behavior:

  1. Run:
wheels deploy setup
  1. Observe success output:
    Deployed testapp version unknown to 1 host(s)
  2. Verify remote server/container state.
  3. Observe that:
  • No container is running
  • No deployment actually completed
  • command still reported success

Expected behavior
Deploy commands should provide accurate execution status and validation.
Only report success when:

  • remote command executed successfully
  • container/process exists and is running
  • deployment state is verified

If deployment fails, or no container is started:

✗ Failed to start the application on host(s)
Reason: container failed to start

or:

No deployment action completed.

Actual behavior
Commands currently report optimistic success messages without validating the actual deployment state.
This appears to affect multiple deploy commands, not only:

wheels deploy setup

But likely the broader deploy command suite.

Impact

  • Misleading deployment feedback
  • Difficult debugging during deployment setup
  • False-positive success states in CI/CD pipelines
  • Users may assume applications are running when they are not
  • Poor operational UX during infrastructure management

Desktop:

  • OS: macOS
  • Version: Wheels 4.0.0 (development)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions