delimit_deploy_rollback
Roll back a deployment environment to a previous SHA when regression is detected. Reverts running environment to a known-good revision.
Instructions
Roll back an environment to a previous SHA (Pro).
When to use: when delimit_deploy_verify shows a regression and you need to revert the running deployment to a known-good revision. When NOT to use: to deploy a new version forward (delimit_deploy_plan -> _build -> _publish) — rollback is reversal-only.
Sibling contrast: delimit_deploy_publish moves an env forward; this moves it back to a prior to_sha.
Side effects: gated by require_premium. Calls backends.deploy_bridge.rollback which mutates the running environment to point at to_sha.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Application name. | |
| env | No | Target environment. | |
| to_sha | No | Target SHA to roll back to. If None, the backend selects the previous deployed SHA. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||