Skip to content

Implement missing --service flag for micro deploy command#2858

Merged
asim merged 3 commits intomasterfrom
copilot/implement-missing-features
Feb 13, 2026
Merged

Implement missing --service flag for micro deploy command#2858
asim merged 3 commits intomasterfrom
copilot/implement-missing-features

Conversation

Copy link
Contributor

Copilot AI commented Feb 13, 2026

Documentation references micro deploy user@server --service users but the flag was not implemented. This implements the documented behavior.

Changes

  • Added --service flag to deploy command for selective service deployment in multi-service projects
  • Early validation checks service existence before SSH connection attempts
  • Modified buildBinaries() to accept filtered service list instead of building all services
  • Updated command help with usage examples

Usage

# Multi-service project - deploy only users service
micro deploy user@server --service users

# Without flag - deploys all services (existing behavior preserved)
micro deploy user@server

Service validation errors now fail fast:

$ micro deploy prod --service nonexistent
service 'nonexistent' not found in configuration

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • fakeserver
    • Triggering command: /usr/bin/ssh ssh -o ConnectTimeout=5 -o BatchMode=yes fakeserver echo ok nfig/composer/ve-lang=go1.23 credential.usern/usr/libexec/gcc/x86_64-linux-gnu/13/cc1 (dns block)
    • Triggering command: /usr/bin/ssh ssh -o ConnectTimeout=5 -o BatchMode=yes fakeserver echo ok tnet/tools/bash user.name (dns block)
    • Triggering command: /usr/bin/ssh ssh -o ConnectTimeout=5 -o BatchMode=yes fakeserver echo ok ux_amd64/asm user.name abis (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 13, 2026 14:10
Co-authored-by: asim <17530+asim@users.noreply.github.com>
Co-authored-by: asim <17530+asim@users.noreply.github.com>
Copilot AI changed the title [WIP] Implement missing features as per documentation Implement missing --service flag for micro deploy command Feb 13, 2026
Copilot AI requested a review from asim February 13, 2026 14:17
@asim asim marked this pull request as ready for review February 13, 2026 14:18
@asim asim merged commit 0f64534 into master Feb 13, 2026
2 checks passed
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