feat(state): add HealthPending state to service state machine #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/health-pending-state"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New 8th state between Starting and Running for services with health
checks. Process is alive but not yet healthy — dependents won't fire
until health check passes.
Implements ADR-012 Alternative A.
New 8th state between Starting and Running for services with health checks. Process is alive but not yet healthy — dependents won't fire until health check passes. - ServiceState::HealthPending { pid } — not satisfied, is active - ShimReady transitions to HealthPending (not Running) when health exists - Direct spawn path also uses HealthPending - TUI: [~] symbol, yellow color - CLI: ◐ symbol (same as Starting) - Persistence: new PersistedServiceState::HealthPending variant - Start timeout and health check failure match both Starting|HealthPending - Reconnect re-evaluates health for HealthPending services Implements ADR-012 Alternative A.