Rollback
The previous deploy comes back in 4 seconds
Knowing a page is broken is half the job. The other half is fixing it before you've understood why: the previous deploy worked, you just have to go back to it.
“I knew it was broken, but I was on the train.”
An alert at 11:40 pm is useless if the only possible answer is to open a laptop, find the host's console, find the right deploy and click in the right place.
- to put the old one back online
- 4 s
- rebuilds: the build already exists
- 0
- click, from the alert or the app
- 1
- if you've decided so, per project
- auto
chore: dependencies
feat: contact page
fix: pricing typo
feat: new cart
Kept, to fix · Stripe.js no longer loads
3 deploys, all checked good.
PostShip keeps every Vercel release with its verdict. The domain serves the latest one.
16:02: 9f3c2e1 goes live.
The domain serves it within the second, and the check ships with it: 5 pages, one by one.
T+0: /checkout doesn't pass.
The deploy is marked failing. The alert offers to go back to the last deploy checked good.
Roll back: 4 seconds.
Vercel points the domain back to 4b1d7a0. The build already exists: nothing is rebuilt.
And checked again right away.
The 5 pages run again on the version put back online. If it fails too, you know at once.
Nothing is deleted.
9f3c2e1 stays on the rail, with its diagnosis, waiting for its fix. In automatic mode, all of this happens without you.
3 deploys, all checked good.
PostShip keeps every Vercel release with its verdict. The domain serves the latest one.
16:02: 9f3c2e1 goes live.
The domain serves it within the second, and the check ships with it: 5 pages, one by one.
T+0: /checkout doesn't pass.
The deploy is marked failing. The alert offers to go back to the last deploy checked good.
Roll back: 4 seconds.
Vercel points the domain back to 4b1d7a0. The build already exists: nothing is rebuilt.
And checked again right away.
The 5 pages run again on the version put back online. If it fails too, you know at once.
Nothing is deleted.
9f3c2e1 stays on the rail, with its diagnosis, waiting for its fix. In automatic mode, all of this happens without you.
- 9f3c2e1feat: new cartFailing · /checkout
- 4b1d7a0fix: pricing typoLive
- 7e3a9b2feat: contact pageChecked good
- 2c91f04chore: dependenciesChecked good
How it works
PostShip knows your deploys
Every Vercel deploy is seen, checked and remembered with its verdict.
One click from the alert
The message — by email, in Slack or in Discord — carries the button.
Or on its own, if you want
Per project, you can decide that PostShip rolls back without asking when a production deploy breaks a page that passed right before.
Checked after, like before
A rollback is a deploy like any other: it's checked right away, and the recovery alert goes out once everything is green again.
When it fires on its own, and when it does not
Automatic rollback is the most dangerous function in the product: it acts on your production without you. Its conditions are narrow, and all of them must hold at once.
You must have armed it on that project
Off by default, and it stays off until you switch it on project by project. There is no global setting that arms everything at once: this is not something you turn on by accident.
Only on a page that takes money
A broken share card does not justify undoing a release. A dead checkout does. The boundary is exactly that of your payment pages, the ones you declared yourself.
Only on the first pass
At release time, not 2 or 8 minutes later. Past that, an outage may come from elsewhere — a provider, a certificate, the network — and undoing an innocent deploy would do more harm than good.
Never on a preview
A preview has no visitors to protect, and undoing it repairs nothing. Rollback only touches production domains.
What rollback does not do
Putting the old version back repairs the page, not necessarily the situation.
It does not undo your migrations
The code comes back, the database does not. If the deploy changed a schema, rollback puts live a codebase talking to a database it no longer knows. That is the main reason to leave the function off when your releases touch the schema.
It rebuilds nothing
The previous deployment still exists at your host: rollback only repoints the production domains at it, in seconds. If it was deleted, there is nothing to put back.
It targets what PostShip saw pass
Not simply the previous deployment in the host's list. That difference is the point: the previous one can be broken too, and it is when you are in a hurry that you pick the wrong line.
Vercel only, for now
That is where the integration has a token and a rollback operation that does not rebuild. Elsewhere, the alert carries the link to do it by hand, and the incident stays open with its timeline.