Rollback the managed agent image when a runtime update fails health checks #1080

Closed
opened 2026-10-27 13:38:56 +00:00 by sam · 0 comments
Owner

The runtime update path rebuilds the Docker image, but scripts/archie-update-watchdog only restores the unused host archie-agent binary. A failed health check can report a rollback while the task-container image remains on the failed runtime. Design and implement image-reference preservation/restoration for the configured managed worker image, with tests for runtime-only and combined updates.

Acceptance criteria

A failed runtime-only update restores the prior worker image before restarting archied; a combined update restores both daemon and worker image atomically; update tests prove the configured managed image, not a host worker binary, is the rollback target.

Close reason

Completed; reconciled with the already-closed GitHub issue.


Imported from beads archie-core-5bsf · GitHub #621 · type bug · priority P2 · created 2026-08-24 · closed 2026-08-24

The runtime update path rebuilds the Docker image, but scripts/archie-update-watchdog only restores the unused host archie-agent binary. A failed health check can report a rollback while the task-container image remains on the failed runtime. Design and implement image-reference preservation/restoration for the configured managed worker image, with tests for runtime-only and combined updates. ### Acceptance criteria A failed runtime-only update restores the prior worker image before restarting archied; a combined update restores both daemon and worker image atomically; update tests prove the configured managed image, not a host worker binary, is the rollback target. ### Close reason Completed; reconciled with the already-closed GitHub issue. --- _Imported from beads `archie-core-5bsf` · GitHub #621 · type bug · priority P2 · created 2026-08-24 · closed 2026-08-24_
sam added the mediumbug labels 2026-10-27 13:38:56 +00:00
sam self-assigned this 2026-10-27 13:38:56 +00:00
sam closed this issue 2026-10-27 13:38:56 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1080