Bounded worker health observation from SmolVM's /health endpoint.
The version is reported by the server, not cryptographically attested. Missing machine counts indicate unavailable inventory; a successful HTTP status alone is insufficient for managed admission. Readiness is a separate blocking-pool probe. Neither endpoint certifies host quotas, artifact identity, or isolation.
Summary
Types
@type t() :: %SmolBox.Health{ running: non_neg_integer() | nil, total: non_neg_integer() | nil, uptime_seconds: non_neg_integer() | nil, version: String.t() }
Functions
@spec from_wire(term()) :: {:ok, t()} | {:error, SmolBox.Error.t()}