agentuity-cli-cloud-deployment-rollback
Rollback the latest to the previous deployment. Requires authentication. Use for Agentuity cloud platform operations
When & Why to Use This Skill
The agentuity-cli-cloud-deployment-rollback skill provides a streamlined way to manage cloud release cycles by enabling instant reversions to previous deployment states. It solves the critical challenge of deployment failures and service instability by allowing developers and SREs to quickly restore the last known stable version of a project on the Agentuity platform, significantly reducing Mean Time to Recovery (MTTR).
Use Cases
- Emergency Recovery: Instantly revert a production deployment to a stable state if a critical bug or performance regression is detected immediately after a release.
- Automated Incident Response: Integrate the rollback command into automated monitoring workflows to trigger a recovery action when health checks fail post-deployment.
- Deployment Testing & Validation: Quickly toggle between the current and previous versions in staging environments to verify fixes or compare behavior across different deployment versions.
- Risk Mitigation: Provide a safety net for high-stakes deployments, ensuring that a 'undo' button is always available via the Agentuity CLI.
| name | agentuity-cli-cloud-deployment-rollback |
|---|---|
| description | Rollback the latest to the previous deployment. Requires authentication. Use for Agentuity cloud platform operations |
| version | "0.0.104" |
| license | Apache-2.0 |
| allowed-tools | "Bash(agentuity:*)" |
| command | "agentuity cloud deployment rollback" |
| tags | "destructive deletes-resource updates-resource slow api-intensive requires-auth requires-deployment" |
Cloud Deployment Rollback
Rollback the latest to the previous deployment
Prerequisites
- Authenticated with
agentuity auth login - cloud deploy
Usage
agentuity cloud deployment rollback [options]
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--project-id |
string | Yes | - | Project ID |
Examples
Rollback to previous deployment:
bunx @agentuity/cli cloud deployment rollback
Rollback specific project:
bunx @agentuity/cli cloud deployment rollback --project-id=proj_abc123xyz
Output
Returns JSON object:
{
"success": "boolean",
"projectId": "string",
"targetDeploymentId": "string"
}
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the rollback succeeded |
projectId |
string | Project ID |
targetDeploymentId |
string | Deployment ID that was rolled back to |