internal/agent/controller.go:198 waits for http://127.0.0.1:<local_port>/health with a fixed 3 minute deadline. On timeout it calls fail() then shutdown(), killing the runtime, and the next reconcile tick starts a fresh one.
A runtime whose cold start exceeds 3 minutes therefore never gets to report healthy. It is killed and relaunched instead.
Three launches were needed to come up, each cut off at just over 3 minutes:
The third attempt succeeded only because the first two populated the JIT and compile caches, so warm-up finally fitted inside the window. The restart loop self-resolved by accident, not by design.
Make the readiness deadline a property of the desired document rather than a hard-coded constant, so a slow-starting runtime can declare a longer first-start budget. Treating the first start after an artifact or image change differently from a steady-state restart would also help. Separately, a killed-during-startup event is worth reporting up to HydraCluster, so a relaunch loop is visible in the fleet view instead of only in logs.
Found while completing the cosmic EXL3 deployment in #779.