…-autoupdate variant of each agent image: the same agent binary plus one layer with a launcher as PID 1. Updating is chosen by image, not by an environment variable; the plain image contains no update code.
The launcher asks the API for the target version (GET /api/v1/agent/release, agent token): the API's own release, so agents follow the platform and are never newer than it (protocol N-1 covers the gap).
Downloads the binary for its own architecture, verifies signature (#34) and checksum, keeps it on the data volume.
Stops the running agent gracefully (it releases its checks), starts the new one, falls back to the previous version if it does not become healthy.
Forwards signals, logs every step, reports failures to the API.
Tested with a fake API, including arm/v6 under QEMU.
`…-autoupdate` variant of each agent image: the same agent binary plus one layer with a launcher as PID 1. Updating is chosen by image, not by an environment variable; the plain image contains no update code.
- The launcher asks the API for the target version (`GET /api/v1/agent/release`, agent token): the API's own release, so agents follow the platform and are never newer than it (protocol N-1 covers the gap).
- Downloads the binary for its own architecture, verifies signature (#34) and checksum, keeps it on the data volume.
- Stops the running agent gracefully (it releases its checks), starts the new one, falls back to the previous version if it does not become healthy.
- Forwards signals, logs every step, reports failures to the API.
- Tested with a fake API, including arm/v6 under QEMU.
Sebi
added this to the M13 Agent distribution & self-update milestone 2026-11-23 17:13:48 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
…-autoupdatevariant of each agent image: the same agent binary plus one layer with a launcher as PID 1. Updating is chosen by image, not by an environment variable; the plain image contains no update code.GET /api/v1/agent/release, agent token): the API's own release, so agents follow the platform and are never newer than it (protocol N-1 covers the gap).