Skip to content

Application lifecycle: maintenance, stop, start and delete #256

Closed

Description

@samuelmbabhazi

Track

A: agent, C: control plane, W: web UI

Scope

  • 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.

Depends on

M1.4, M1.5

Activity

  1. samuelmbabhazi commented on Nov 17, 2026

    @samuelmbabhazi
    CollaboratorAuthor

    Status after #321, #323 and #324:

    • 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.

  2. added
    v0.1-stable
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:P1security-reviewtasktrack:agenttrack:control-planetrack:webv0.1-stable

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions