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 9, 2026.

View as Markdown

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

When to use it

Use it when a version disappoints: go back to the previous one, in one second during the 30 minutes after the deployment, in a few seconds afterwards.

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

Connect your agent, it takes care of the rest

To paste into your agent

Read while.sh/agents, then deploy my app with while.

Copy the instructions

No account needed to try: your app is live right away. To keep it, sign in.

A project for your company? Talk to the team: hello@while.sh