Skip to content

Deployments & instant rollback

Each build produces a deployment: a versioned, immutable image plus the environment it ran with. The most recent successful deployment is live; the rest stay available to roll back to.

Instant rollback

Rolling back reuses the prior image and supersedes the current live deployment — there's no rebuild, so it's near-instant. Pick a known-good deployment and Cantila promotes it back to live.

CLI

cantila rollback <projectId> <deployId>

Console

Open Project → Deploys, find the deployment you want, and choose Roll back. The selected deployment becomes live.

MCP

Agents and assistants connected over MCP can roll back with the cantila_rollback tool, passing the project and target deployment.

How it works

deploy A  (older)
deploy B  (older)
deploy C  ← current live
        rollback to B
deploy B  ← now live again (image reused, no rebuild)

Because the image already exists, rollback skips the entire build pipeline and only re-promotes.

Restore reuses rollback.

Restoring a backup uses the same rollback mechanism under the hood — it re-promotes the snapshot's recorded deployment.