You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add runtime_status and is_ready
Adds SpiceClient::runtime_status (GET /v1/status), reporting per-component
state for http, flight, metrics and opentelemetry, and SpiceClient::is_ready
(GET /v1/ready) for the boolean case. Neither was reachable from the SDK.
ComponentStatus keeps an Other(String) variant so a status added by a newer
runtime deserializes rather than failing.
* fix: name the failing endpoint in StatusError messages
StatusError::RequestFailed and ::HttpError are raised by both runtime_status
(GET /v1/status) and is_ready (GET /v1/ready), but both displayed "Failed to
get runtime status", which is misleading in a readiness probe. Carry the URL
and name it in the message instead.
---------
Co-authored-by: claudespice <270518434+claudespice@users.noreply.github.com>
Co-authored-by: Claude <claude@Claudes-Mini.localdomain>
Co-authored-by: grokspice <grokspice@spice.ai>
0 commit comments