—Delivery · Recovery

Rollback is specific to the execution path.

The released automatic rollback applies to the AWS ECS workflow. V19 does not claim a universal rollback engine for every provider or resource type.

Verified ECS behavior

Before updating the service, the workflow captures the current task definition. If the new deployment does not reach ECS steady state, the workflow updates the service back to that captured definition and waits again.
The Deployments lifecycle in the V19 desktop app
The lifecycle shows Verify and recovery as recorded steps; rollback availability comes from the saved release. Synthetic example records.

01

The recovery sequence

  1. Resolve and record the task definition currently serving the target.
  2. Register or select the requested task definition and update the ECS service.
  3. Use ECS's own steady-state waiter as the deployment health boundary.
  4. On stabilization failure, restore the captured task definition.
  5. Wait for the restored service and preserve the workflow result as evidence.

02

Limits

This path restores the ECS task definition. It does not undo database migrations, external side effects, incompatible data changes, or changes made outside the workflow. Teams must keep application-level recovery steps in their own release procedure.

03

Roll back to the last good version

In the desktop deploy form, after you choose a repository, V19 shows the last good version for that environment: the most recent successful deployment of a different commit than the one now running, or the last success if the latest attempt failed. Choose Prepare rollback to this version to fill the form with its tag or branch. A rollback is an ordinary deployment, so policy, checks, rings, change window and approvals still apply.

A tag always points to the same commit. A branch may have moved since, so check readiness first: the form confirms when readiness resolves the same commit, and warns when the branch has moved. If it has, use a tag for that commit instead.

After a deployment, Check release health reads your connected tools. When the verdict is Unhealthy and a last good version is recorded, the panel offers Prepare rollback to that commit. It fills the deploy form the same way; nothing is dispatched until you check readiness and deploy, and every gate still applies.

04

Redeploy an earlier deployment exactly

When a branch has moved, preparing a rollback by branch would deploy a different commit. For targets that pin what they deploy (service targets and workflow targets), use Roll back to this on an earlier successful deployment of the same repository and environment, under Releases → Workflow execution evidence. V19 redeploys exactly that deployment's commit and, when it had one, the same signed build-once digest. Nothing is rebuilt: an image target pins repository@sha256:… again, and a workflow target receives the old commit and digest inputs.

The environment's approval rule still applies: production needs an approval for exactly the commit being restored, from someone other than the person rolling back. The deploy workflow must still exist at the head of the original branch or tag (for image targets it must still match the published template byte for byte), and V19 records which head commit runs it before dispatching. The run is checked against that commit, so if the branch moves in between, the run is recorded as a source mismatch, never a success. Change windows and freezes do not block this redeploy, because it returns to a release that already passed them.

Restarts can't be redeployed this way, because a restart never recorded which bytes ran. Each redeploy is written to the audit log with the deployment it restores and the one it replaces, and sends the deployment.rolled_back webhook.

Trust questions

Is rollback automatic?

For the released ECS workflow, yes—when the service fails to stabilize.

What is restored?

The task definition serving the ECS service before the update.

Does it reverse a database migration?

No. Application and data recovery remain separate responsibilities.

Where does recovery run?

Inside the same OIDC-authenticated tenant workflow.

Does approval guarantee success?

No. Approval authorizes the attempt; ECS validation determines the outcome.

Are other providers covered?

No universal Azure or GCP rollback path is released.

Still blocked?

Include the failed step and error. Never send a password, token, or cloud secret.

Open support request