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,
}Expand description
Extended GET /health response body (v1.0.2 additive).
Prior to v1.0.2 the endpoint returned a bare 200 with no body. 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: HealthProcessInfov1.0.4 — SimRenderServer pid + alive flag observed by the
runner’s sim-health sensor. alive = false after
com.apple.display.captureservice internal assertion trips.
xcodebuild_test_host: HealthTestHostInfov1.0.4 — xcodebuild test-host pid + alive flag + total restart
count (S7 auto-restart on ** TEST INTERRUPTED **).
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