Lifecycle events

Events fire on "<event>" {} handlers and arrive in fn handle(event: Event, lab: Lab). Handler failures are logged, never fatal.

EventMeaning
vm.startingA VM has begun booting
vm.readyThe guest agent is responding
vm.stoppedA VM powered off cleanly
vm.crashedA VM died unexpectedly (closing a gui viewer does not — the VM keeps running)
container.startingA container's micro-VM has begun booting
container.readyThe container process started (and its healthcheck passed, when declared)
container.stoppedA container stopped for good (carries exit_code)
container.crashedA container exited abnormally
container.unhealthyA container's healthcheck failed retries times in a row
lab.upThe lab finished coming up
lab.downThe lab stopped
snapshot.createdA snapshot was taken
snapshot.restoredA snapshot was restored
template.builtA template build sealed into the store
playbook.appliedA playbook converged on a machine
playbook.failedA playbook apply failed
lab.daemon_crashedA lab daemon died (no auto-restart)
host.disk_lowFree disk fell below disk_low_percent