You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(update): recreate the agent fleet on a new base image with a per-agent running-execution guard (follow-up to #3007) #3765
Updating the platform is half an upgrade: agents keep running the old base image until each container is recreated, and recreating an agent mid-execution kills live work. Today scripts/deploy/update.sh (#3007) rebuilds/pulls the base image and reports that agents adopt it on their next cold stop/start — the rollout itself is manual.
Ask
An opt-in step of the update (update.sh --recreate-agents, or a separate command it calls) that:
for each, waits until the agent has no running execution (bounded wait, then skip and report — never kill live work), then recreates it through the backend's existing recreate path so credentials, volumes and restart policy are preserved;
reports per agent: recreated / skipped (busy) / failed, and exits non-zero if any failed;
is resumable — a second run only touches agents still drifted.
Done when
After an update that changed the base image, one command moves every idle agent to it without interrupting a running execution, and says which agents are still pending.
Activity