Changelog

Startup timeout for daemons on machines

A daemon update on machines now fails when the new version doesn't pass its health check within the startup timeout, 10 minutes by default:

alien.ts
const agent = new alien.Daemon("agent")
  .code({ type: "image", image: "ghcr.io/acme/agent:2.0.0" })
  .healthCheck({ path: "/health", startupTimeoutSeconds: 900 })
  .build()

The error names the machine and the timeout. The rollout stops on that machine, and the machines after it keep running the previous release.

  • Rollback: promote the previous release. The machine that failed gets it at once, and its process has at most 30 seconds to stop
  • Limits: up to 24 hours, on machines only

Read the docs →