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
Application lifecycle: maintenance, stop, start and delete #256
Application → Danger zone actions from the design: maintenance page in Caddy, stop and start all replicas, delete with typed-name confirmation (volumes and backups kept as stated).
Uses the existing typed agent actions only; any new action needs the ADR/SPEC process.
Acceptance criteria
Each action changes the replicas as described, is audited, and deletion needs the confirmation token.
Stop: done. A stop is a deployment whose plan starts nothing; it removes the routes and the replicas and frees their reservation.
Start: deploying, or rolling back to a version that ran, starts a stopped application again. There is no separate action.
Delete: done, with a confirmation token for application.delete and only once the application is stopped.
Maintenance page: not done. It needs a response served by Caddy on the servers while the replicas keep running, which no typed agent action expresses today, so it needs the ADR/SPEC process named in the scope above.
Known limits, noted in the pull requests: an application on a server that is down or removed cannot be stopped (its actions wait until they expire), so it cannot be deleted either.
Activity
feat(api): stop an application (#321)
docs: record the permission question for deleting an application
fix(web): show a stop as a stop on the Deployments tab
feat(api): delete an application with a confirmation (#323)
fix(web): keep a stopped application out of "live" in the lists, and …
fix(web): let Deploy, Roll back and Cancel work again after a refusal
feat(web): stop and delete an application from its danger zone (#324)
samuelmbabhazi commentedon Nov 17, 2026
Status after #321, #323 and #324:
application.deleteand only once the application is stopped.Known limits, noted in the pull requests: an application on a server that is down or removed cannot be stopped (its actions wait until they expire), so it cannot be deleted either.
feat(web): start a stopped application again (part of #256) (#403)
feat(agent): maintenance page served by Caddy (part of #256) (#420)
feat(api): enter and leave maintenance (part of #256) (#422)