Skip to content

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.

  1. Pull and restart.

    Terminal window
    docker compose pull && docker compose up -d
  2. Let the entrypoint migrate.

    On boot the entrypoint runs prisma migrate deploy before the hub starts serving. Migrations are additive, so a forward upgrade doesn’t rewrite your existing data.

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.

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.