ProveTrade service health
provetrade_healthCheck ProveTrade gateway and Go analyzer status before audits. Detect sleeping services returning 429 and distinguish idle spin-down from real failures.
Instructions
Check whether the ProveTrade gateway and Go analyzer are awake, and how fast they answered.
Call this before an audit, and whenever an audit fails with a sleeping/unreachable error. Both services run on free-tier hosting that spins down after ~15 minutes idle, so "sleeping" is a normal, recoverable state — NOT a failure. A sleeping service returns 429 and an HTML waiting page, which a naive "anything but 200 is down" check misreports.
Free of charge, read-only, makes no change to either service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | No | Which service to probe. Default: both, probed concurrently. | both |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all_up | Yes | True only when every probed service reported up. | |
| gateway | Yes | Null when not probed. | |
| analyzer | Yes | Null when not probed. | |
| next_action | Yes | What to do about the result: nothing, wake the engine, or investigate. |