Updating Runaway
The hub and the agent are released together and speak an exact protocol version with no
backward-compatibility window. Always upgrade them as a pair and pull matching runaway and
runaway-agent tags.
Upgrade the hub
Section titled “Upgrade the hub”-
Pull and restart.
Terminal window docker compose pull && docker compose up -d -
Let the entrypoint migrate.
On boot the entrypoint runs
prisma migrate deploybefore the hub starts serving. Migrations are additive, so a forward upgrade doesn’t rewrite your existing data.
Update an agent
Section titled “Update an agent”An agent never updates its own code, and the hub never sends it code. What the hub triggers is a
docker pull of a newer published image. You start the update from the hub UI; the hub names
only a version, never a repo or artifact; the agent pulls its own image at that version, forward-only,
and runs only published Runaway-authored code. Updates are operator-confirmed, never automatic.
Keep the pair matched
Section titled “Keep the pair matched”Run the hub and every agent on the same release. After you upgrade the hub, update each agent to the matching version. Until you do, a version-behind agent is held on a restricted connection: it won’t be scheduled onto, but stays reachable so you can trigger its update from the UI.