SkilldexAll articles

Separate worker readiness from liveness

Avoid sending skill jobs to an unready worker or restarting one for the wrong reason.

A worker can be alive and unable to accept a new skill job because its dependencies have not loaded. It can also be ready to make progress on existing work during a short downstream outage. Distinct checks help the scheduler route traffic and reserve restarts for conditions they can resolve.

Define startup and readiness behavior

A startup check can give expected initialization time for loading a package or model. Readiness determines whether the worker can accept new work. Include only the prerequisites needed at that boundary. A broad external dependency check can leave every worker unavailable during a shared incident when some jobs could still succeed.

Make liveness diagnostic

A liveness check should indicate when a restart is a sensible recovery, such as a worker unable to make local progress. Avoid turning transient upstream errors into restart storms. Preserve in-flight operation identifiers outside the worker process so recovery can reconcile what happened.

Test slow startup and dependency loss

Delay initialization and observe scheduling behavior. Then disable a nonessential adapter and verify unaffected work remains possible. Record readiness transitions separately from user task outcomes so the operator can distinguish a drained worker from a degraded skill.

Sources