batch-cluster
    Preparing search index...

    Variable ExpectedTerminationReasonsConst

    ExpectedTerminationReasons: readonly WhyNotHealthy[] = ...

    Reasons that indicate expected/managed terminations initiated by BatchCluster (as opposed to unexpected exits like crashes, errors, or timeouts).

    These correspond to proactive process lifecycle management:

    • "ending": Cluster is shutting down
    • "ended": Process already shut down
    • "idle": Process was idle too long (maxIdleMsPerProcess)
    • "old": Process ran too long (maxProcAgeMillis)
    • "worn": Process handled too many tasks (maxTasksPerProcess)
    • "tooMany": maxProcs was reduced