Skip to content

Fix service operations by name and enhance service inspect (#27, #28)#30

Merged
richardkiene merged 2 commits into
mainfrom
fix/27-28-service-cli-improvements
Jan 25, 2026
Merged

Fix service operations by name and enhance service inspect (#27, #28)#30
richardkiene merged 2 commits into
mainfrom
fix/27-28-service-cli-improvements

Conversation

@richardkiene
Copy link
Copy Markdown
Contributor

Summary

  • Service operations (start/stop/scale/delete) now accept service names in addition to IDs by adding resolve_service_id helper
  • Service inspect now displays comprehensive information:
    • Bound ports from proxy server
    • Attached networks with internal/external status
    • Capabilities (environment, network, filesystem)
    • Volume mounts with read-only indicator
    • Health check configuration
    • Dependencies

Example Output

Service: api-gateway
  ID:         svc-abb2d704
  Version:    latest
  State:      running
  Type:       http
  Replicas:   1/1
  Created:    2026-01-25T19:15:11.075125Z
  Updated:    2026-01-25T19:15:11.268580Z
  WASM:       .../api_gateway.wasm
  Digest:     sha256:e6017803350ef7e3d275f269842250bc7529eb30544dd71160851fc16dac1d61
  Ports:      8085
  Networks:   dmz, application (internal)
  Project:    e-commerce

Capabilities:
  Listen:      8085

Volumes:
  - app-source -> /app (ro)

Fixes #27, Fixes #28

Test plan

  • Verified service stop/start/scale/delete work by name
  • Verified service inspect shows ports
  • Verified service inspect shows attached networks with internal flag
  • Verified service inspect shows capabilities
  • Verified service inspect shows volume mounts
  • All tests pass

Resolves two issues:
- Service operations (start/stop/scale/delete) now accept service names in addition to IDs by adding resolve_service_id helper
- Service inspect now displays bound ports by querying proxy server bindings
Add network attachments, capabilities, volumes, health check, and
dependencies to service inspect output. Networks now show internal
vs external status and are populated from actual network manager
attachments rather than just config.
@richardkiene richardkiene merged commit dcb5eca into main Jan 25, 2026
0 of 3 checks passed
@richardkiene richardkiene deleted the fix/27-28-service-cli-improvements branch January 25, 2026 19:24
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.

CLI: Add command to show service port bindings Service remove by name does not work

1 participant