fix(manage): health check --host forwards --service #262

Merged
jfraeys merged 1 commit from jfraeys/fix/health-remote-service into main 2026-10-17 11:32:54 -04:00
Owner
  • manage health check --service X --host services built the remote command with X positional; the remote parser ignores it, so every service was checked. Now forwards --service X.
  • manage check health (reversed words) now suggests manage health check --host services.
  • Tests added to test-health-service-state.sh.

Note: without --host, the check runs on the local machine (no Docker on the Mac), so everything reads as down. The remote side only knows Prometheus/Alertmanager once the manage_cli role is deployed to services (--tags manage_cli --limit services).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ

- `manage health check --service X --host services` built the remote command with X positional; the remote parser ignores it, so every service was checked. Now forwards `--service X`. - `manage check health` (reversed words) now suggests `manage health check --host services`. - Tests added to test-health-service-state.sh. Note: without `--host`, the check runs on the local machine (no Docker on the Mac), so everything reads as down. The remote side only knows Prometheus/Alertmanager once the `manage_cli` role is deployed to services (`--tags manage_cli --limit services`). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ
fix(manage): health check --host forwards --service; hint for 'manage check health'
All checks were successful
Lint / lint (pull_request) Successful in 3m14s
Secret scan / scan (pull_request) Successful in 18s
64979b8bcc
Remote forward passed the service as a positional argument, which the remote parser drops,
so '--service prometheus --host services' checked every service.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfraeys/infra!262
No description provided.