Skip to main content

Crate polyc_runtime

Crate polyc_runtime 

Source
Expand description

Shared Unix-coherence scaffolding for polychrome binaries (PRD §11): structured logging, a health/metrics side-server, and signal-driven graceful shutdown. Used by both the control plane and the harness so the two binaries behave identically under Kubernetes.

Modules§

health
The axum side-server (PRD §11): liveness, readiness, and metrics on a separate port from a binary’s main surface.
observability
Logging + traces + panic discipline (PRD §11).
propagation
W3C traceparent propagation across the connectrpc boundary.
signals
Signal-driven graceful shutdown (PRD §11).
supervise
Server-task supervision: run a binary’s spawned servers until a shutdown signal, treating any earlier exit as fatal.