Skip to content

Go to the docs contents

Versions and rollback

Every version of your app is kept. Rolling back to the previous one takes a second during the 30 minutes after a deployment, and a few seconds after that.

Updated November 21, 2026.

View as Markdown

Roll back to the previous version in one second: the broken version of the app leaves the stack and the previous one takes its place

You, to your AI: Go back to the previous version.

When to use it

Use it when a version disappoints: go back to the previous one.

How it works

Each version is frozen, and the previous one stays ready: rollback switches traffic in one second during the 30 minutes after a deployment, in a few seconds afterwards. A version that fails its probe, or whose error rate rises, is withdrawn automatically.

What to know

The previous version stays warm 30 minutes after the deployment, if the service does not sleep. For a sleeping service, it sleeps too: rollback switches traffic at once, and its first request wakes it. Progressive deployment, in steps, is not offered.

Your agent’s MCP tools

Your agent handles it with the deploy_app and observe_app tools.

Guides

Give your AI the message, and it takes care of the rest

Give this to your AI

Read while.sh/agents and help me get started with while.

Copy the message

In 3 minutes, with no sign-up, the tool has its own address. To keep it, create your account.

For a company project, write to the while team: hello@while.sh