Skip to main content

Module service_status

Module service_status 

Source
Expand description

Aggregate dispatch for zad service status (no --service filter).

This is the agent-facing entrypoint: one command that pings every service registered in zad::service::registry::SERVICES and returns a single JSON envelope describing which ones work. Pings run in parallel so adding a third service doesn’t linearly inflate startup time.

Each row is a lifecycle::ServiceStatusOutput — the same shape emitted by zad service status --service <svc> — so an agent that already handles the single-service form can consume this output unchanged.

Functions§

run_all