Problem
vix health can currently display Healthy: yes even when the HTTP check failed with a curl timeout.
This is confusing because the final status says the service is healthy while the actual request failed.
Example behavior:
Healthy: yes
curl: timeout
Expected behavior
If the HTTP request times out, the health command should clearly report the check as failed.
Expected output should be closer to:
Healthy: no
Error: curl timeout
or:
Status: failed
Reason: request timed out
What to fix
The health result should not be marked as healthy unless the response was successfully received and validated.
The logic should separate:
- service process status
- HTTP response status
- curl/network errors
- timeout errors
- response parsing errors
A timeout must always make the HTTP health check fail.
Goal
Make vix health local and vix health public reliable and avoid false positive health reports.
Problem
vix healthcan currently displayHealthy: yeseven when the HTTP check failed with a curl timeout.This is confusing because the final status says the service is healthy while the actual request failed.
Example behavior:
Expected behavior
If the HTTP request times out, the health command should clearly report the check as failed.
Expected output should be closer to:
or:
What to fix
The health result should not be marked as healthy unless the response was successfully received and validated.
The logic should separate:
A timeout must always make the HTTP health check fail.
Goal
Make
vix health localandvix health publicreliable and avoid false positive health reports.