workers-sdk
workers-sdk copied to clipboard
🚀 Feature Request: Deployment Rollback
Describe the solution
Hello and first of all a huge thank you for building this groundbreaking platform!
I want to file a quick suggestion to enhance Wrangler CLI. So more stuff could be done without the need to access the Dashboard (especially given the fact that not everyone in the company has an access to the Dashboard, which is increasingly the case in bigger companies).
Deployment Rollback
This feature is already available in the Dashboard, so porting it to Wrangler shouldn't be a big effort, but it can make a big impact to help teams with organizing their workflows to easily recover from some unwanted deployment regressions.
The API could be as simple as:
wrangler pages deployment rollback --project-name myproject --to-id 1xx11xx1x1xx1x1xx1x1
where --to-id
flag specifies the id of the deployment to roll back to.
Thanks!
Thanks for the feature request! I'll keep this open for now to track this. Cheers!
@nevikashah
We now have this https://developers.cloudflare.com/workers/wrangler/commands/#rollback
Will that work for a Pages project?