pub struct HealthResponse {
pub ok: bool,
pub runner_version: String,
pub uptime_ms: u64,
pub last_request_at_ms: u64,
pub sessions_open: u32,
pub activations_total: u64,
pub sim_render_server: HealthProcessInfo,
pub xcodebuild_test_host: HealthTestHostInfo,
pub wire_schema: WireSchemaInfo,
}Expand description
Consumers that ignore the body get identical behavior; consumers that parse the JSON gain liveness observability.
Fields§
§ok: boolRunner alive.
runner_version: StringRunner semver (matches the smix-cli that shipped it).
uptime_ms: u64Runner uptime in milliseconds.
last_request_at_ms: u64Epoch millis of the runner’s most recent processed request (any route). 0 if the runner has served no requests yet.
sessions_open: u32Currently-open session count.
activations_total: u64Total .activate() calls issued since runner boot.
sim_render_server: HealthProcessInfoSimRenderServer pid + alive flag observed by the runner’s
sim-health sensor. alive = false after
com.apple.display.captureservice internal assertion trips.
xcodebuild_test_host: HealthTestHostInfoxcodebuild test-host pid + alive flag + total restart count
(auto-restart on ** TEST INTERRUPTED **).
wire_schema: WireSchemaInfoThe wire this runner speaks. Empty from a runner that predates the question — which means “unknown”, not “none”.
Trait Implementations§
Source§impl Clone for HealthResponse
impl Clone for HealthResponse
Source§fn clone(&self) -> HealthResponse
fn clone(&self) -> HealthResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more