A deployment rollback puts production back on an earlier build that already worked, with no new build. On Vercel the control is Instant Rollback; on Netlify it is Publish Deploy on an older deploy. Only code and build-time settings move: database rows, schema changes, stored files and outside services stay as the bad release left them.

What a deployment rollback is, and what it leaves alone

A deployment rollback restores an earlier build, with the code and build-time configuration it shipped with, in front of users. It does not restore the database, stored files, queued jobs or anything an outside service changed, so the old code meets the data the bad release left.

A rollback is one step of a release path, and DevOps for startups with one app covers the rest of that path, from a branch to production. Vercel’s Instant Rollback works by assigning your domains to an existing deployment rather than doing a complete rebuild. So to roll back a deployment is to point production at an older build, not to undo what the release did while it was live.

What the bad release changedAfter the rollbackWhat to do about it
Code and build outputGoes back to the earlier buildNothing: this is what a rollback is for
Environment variables and project configurationVercel keeps them as the earlier build had them; a later change in project settings is not in itCheck that the old settings still work, such as a key you rotated
Database rows and schema changesStay as the bad release left them, so the old code may read a schema it never knewCheck whether the release ran a migration first
Stored files, queued jobs and emails already sentStayList what the release wrote or sent
Third-party state: payments, webhooks, a CMS or an APIStays; Vercel’s rollback dialog carries a reminder about “the changing behavior of external APIs, databases, and CMSes”Check each outside service the release touched

If the release ran a migration, the old code and the new schema may not agree, and reversing a schema change after a bad release is a separate job. On Kubernetes the same idea is kubectl rollout undo, which rolls back to a previous rollout. A SQL ROLLBACK is a different thing again: it discards the updates of one open transaction, not a release.

My app is down? What to do first: check whether a release caused it

An app that is down usually has one of four causes: a release, the platform, billing, or the app taking itself down. A rollback fixes only the first, so we’d check a second device, the host’s status page and the deploy list before rolling anything back.

This part is for the owner of a live app that is down for everyone, not for an app that stopped working on a phone. When a Vercel app is not working for anyone, the order is the same as on any host: your device, the platform, then your last deploy.

Down for everyone or only for you: the two-device check

Load the live URL on a phone over mobile data, away from your own network. If it loads there, the failure sits in your browser, DNS or network, and no rollback will fix it. Sites that count outage reports from other users say little, as we read them, about a small app with too few users to file one. Next, read the host’s status page for the component your users touch: Vercel’s lists Build & Deploy, CDN by region, Functions and more, and Supabase’s lists Postgres, Auth, Storage and more. An all-green page says nothing about your own project, which can be paused or out of connections while every row stays green. Nor does a working preview link prove much: a preview that stays up while production fails is a separate case.

The four things that take an AI-built app down

We check these in one order, cheapest first.

CauseWhat it looks likeWho owns itWhat settles it
Something shippedThe failure started within minutes of a deployYouThe deploy list; a rollback is the fix
The platformSeveral unrelated features fail and the status page shows an open incidentThe vendorThe status page; no rollback helps
Billing or creditsA clean error or placeholder page, and no code change anywhereYou, in the billing screenThe plan and usage screen
The app took itself downNothing shipped, status is green, billing is current, and requests still failYouThe logs you copied in the first minutes

We audited 21 third-party apps in June and July 2026; at least 17 of them had no deploy gate, and so did all 5 founder apps, the ones we run ourselves: every push ships straight to production with nothing checking it first. Those apps are a set we picked, not a random sample, so the count describes them and is no rate for AI-built apps in general. When nothing checks a release before it goes live, the way back is the safety that is left.

Minute 0 to 60: capture the evidence, then roll back

For roughly the first quarter hour, we’d only read and record, plus one short note to users that you are on it: no restarts, no redeploys, no prompts to an AI agent. The reason is the logs. Vercel keeps runtime logs for 1 hour on Hobby and 1 day on Pro, so a long wait or a restart loop can leave you with no record of the failure; Vercel’s runtime log retention lists the window for every plan.

We’d make the call within the hour. If a release is the likely cause, roll back first and look for the cause later. Fix forward instead when no earlier build works with the data the release already wrote, or when the cause sits outside the build, on the platform or in billing. If the broken feature sits behind a flag, a kill switch for a risky feature is faster than either. The customer message and the record of what happened belong in an incident plan for five people.

  1. 01 Note the time the failure started, and the time now.
  2. 02 Capture what a user sees, and copy the host's logs.
  3. 03 Check the deploy list for anything shipped in the last hour.
  4. 04 Roll back to the last build that worked.
  5. 05 Tell users it is back and what you are still watching.

Cloudflare’s own report on its 1.1.1.1 DNS resolver outage of 14 July 2025 shows that order at a far larger scale: a configuration change at 21:48 UTC started withdrawing the resolver’s addresses; reverting to the previous configuration at 22:20 UTC brought back roughly 77% of the traffic, and traffic was normal at 22:54 UTC once the edge servers the change had reconfigured were set up again. The deeper cause, an error from a 6 June change in legacy systems, went into a follow-up plan to deprecate them. The lesson we take: rolling back first turns an outage into a bug you can fix in daylight, though some damage can sit outside what the revert puts back.

Still down after an hour: who can help

What the first hour showed decides who should take it from here.

If nobody could find a known-good build or say what the release changed, bring someone in: a free audit is where we go over how you ship and roll back today, with you, once production is back. In the Production Hardening Sprint, deliverable 7.6, Tested rollback, documents and rehearses release rollback, including how database changes are handled safely, and the implementation follows your stack.

Otherwise, as we see it, the cause decides who fits. Doing it yourself fits when the host has a rollback button and a release is the cause. A freelancer fits when one known part broke and someone needs to read that code. An agency fits when the fix turns into a larger rebuild. A fixed-scope service like ours fits when releases, rollback and monitoring all need setting up at once.

How to do a Vercel rollback, and what happens after it

On Vercel, a rollback to an earlier deployment runs from the dashboard or the CLI, and the setting it changes decides whether your next push goes live.

What does Instant Rollback mean in Vercel?

Instant Rollback in Vercel means the production domains point back at an earlier production deployment that already exists, with no rebuild. Hobby can go back only to the immediately previous production deployment; Pro and Enterprise can choose any deployment that was once assigned to a production domain.

The deployment it points to keeps the build it was made from: Vercel won’t fold in environment variables you changed in project settings since, and the configuration it carries may be stale. Deployments that never served production, such as most previews, are not eligible. Vercel’s Instant Rollback docs list the rest, and the plan you are on decides how far back you can go, with prices under what each Vercel plan includes.

The click path and the CLI

In the dashboard, select the project, find the Production Deployment tile on its overview page, click Instant Rollback, pick the deployment, click Continue, check the details and click Confirm Rollback. The same option sits in the ⋮ menu of each production row on the Deployments page. From a terminal, the first line rolls back and the second undoes the rollback by promoting a deployment:

vercel rollback [deployment-id or url]
vercel promote [deployment-id or url]

On Hobby, vercel rollback can go back only to the previous production deployment, and vercel rollback status shows a rollback that is still pending. These steps are Vercel’s own, read in its dashboard and CLI docs on 20 October 2026; we did not run them for this page.

After the rollback: promote the fix, or the next push stays off production

After an Instant Rollback, Vercel turns off auto-assignment of production domains, so new pushes to your production branch won’t replace the rolled-back deployment. A fix you push still builds, but it waits until you promote it. To undo the rollback, Vercel’s docs give two ways to promote to production: the Undo Rollback button on the production tile, or the vercel promote command, and either one promotes the deployment you pick and turns automatic assignment back on.

Promote only a build that fixes the incident and works with the data as it is now. The commit that broke production is still on your production branch, so the revert or the fix has to land there before normal deploys resume; otherwise a later push ships the same bug again.

Netlify, other hosts, and apps with no rollback button

Netlify calls the same move Publish Deploy; Render, Railway and Cloudflare Pages call it a rollback. When you choose hosting for dev environments with rollback, check that it keeps earlier builds long enough to matter and lets you pin one, so the next build cannot replace it.

Netlify: Publish Deploy, then lock auto publishing

Open the site’s Deploys list, open an earlier successful deploy, and use Publish Deploy on its detail page: Netlify publishes that previous atomic deploy without triggering a new deploy, and the rollback is instantaneous. Then pin it. With auto publishing on, any new Git-triggered production deploy overwrites the rolled-back version, so select Lock to stop auto publishing in the Deploys list, and use Unlock to start auto publishing once the fix is checked. By default Netlify deletes deploys after 30 days, or 90 on paid plans, though it keeps the published deploy and the most recent successful production deploy, so a good build from weeks before the bad one may already be gone. Netlify’s deploy management docs cover both controls. Publishing an older deploy changes what Netlify serves; your database and outside services stay where the table under the first heading puts them.

No rollback button: git revert and redeploy

On a host that keeps no earlier build, make a new commit that reverses the bad one and let the normal pipeline ship it. git revert records new commits that reverse the effect of earlier ones, so history stays intact, and --no-commit applies the reversal to your working tree without committing, which leaves room to run the checks first:

git revert --no-commit <bad-commit-sha>
# run the tests and the build
git commit
git push

A merge commit needs -m with the parent number, and reverting a merge declares that you will never want the changes it brought in, which can surprise you when that branch is merged again later. Never force-push the production branch to make the bad commit disappear; a revert keeps the record of what went wrong. This path is slower than a button because the pipeline builds again. It is the same move Cloudflare made in the report above, restoring the previous configuration with a change of its own.

AI builders: their own undo is not a deploy rollback

On an AI builder the undo runs in the builder’s own edit history, and whether the published app follows depends on the builder. Lovable’s Revert restores the project’s code only and redeploys its edge functions to match; it does not restore or roll back database data. The way back on Lovable, Replit or Base44 runs through undoing an AI builder’s change.

How to check the rollback worked

A rollback worked when the deployment you chose is the one serving production, a real customer journey completes, errors drop back to their normal level, and the next push cannot quietly replace it. A homepage that loads proves none of those four things.

  1. 01 The deployment serving production is the one you chose: check the host's deployment list, or a version route or build id in the footer.
  2. 02 One real customer journey completes end to end: sign in, the core action, and payment as far as the hand-off to the payment provider.
  3. 03 Errors and response times return to their level before the release, in the host's logs or your error tracker.
  4. 04 The next push cannot replace the restored build until you choose: on Vercel auto-assignment stays off until a promote, and on Netlify auto publishing is locked.
  5. 05 A record created since the release still opens and saves, so the old code works with the data as it is now.

We’d never take a homepage that answers 200 as proof, because a failure that still answers 200 OK looks healthy to any check that only asks whether the page loads. Set up an outside uptime monitor so the next outage pages you before a user emails. Written down and run on a test release, these checks become a rollback plan you have rehearsed, and a release readiness checklist with a promotion gate catches the next bad release before it reaches production.

In the Production Hardening Sprint, deliverable 7.6 is verified the same way: we roll back a test release and verify application behavior and retained data.

Common questions about rolling back a deployment

What does it mean when an app is down?

An app is down when users cannot reach it at all or every request fails, as opposed to one feature misbehaving while the rest works. The cause is usually one of four: a release, the platform it runs on, billing, or the app taking itself down, and going back to an earlier build fixes only the first.

Which deployment platforms support instant rollback when an agent ships a bad change?

Vercel, Netlify, Render, Railway and Cloudflare Pages can each put an earlier build back live from their deploy lists, within their own limits. Vercel calls it Instant Rollback; Netlify uses Publish Deploy on an earlier deploy; Render can reuse a stored build artifact and turns off autodeploys after a dashboard rollback; Railway restores the earlier Docker image and variables within the plan’s retention; and Cloudflare Pages can roll back to any production deployment that built successfully. An AI agent’s change is a release like any other, so the same controls apply, and the agent’s commit still needs reverting on the branch.

Can I manually trigger a deployment in Vercel?

Yes, in three ways. To redeploy on Vercel, open Deployments, choose Redeploy from a deployment’s ⋮ menu and decide whether to reuse the build cache; from a terminal, vercel --prod creates a production deployment; and a Deploy Hook, created in the project’s Git settings, is a URL that starts a deployment of its branch when it receives a GET or POST request.

How to temporarily stop Vercel deployment?

Set the Ignored Build Step to “Don’t build anything” under the project’s Settings, in Build and Deployment, and Vercel issues no new builds until you set it back to Automatic. Vercel says builds canceled by the ignored build step still count toward deployment quotas and concurrent build slots. If you only need to stop a deployment on Vercel from reaching production, an Instant Rollback already holds production where it is until you promote a deployment.

Why isn’t my latest commit being deployed on Vercel?

If the project was rolled back, Vercel turned off auto-assignment of production domains, so the commit builds but does not go live until a deployment is promoted. When no deployment appears at all, check that the commit landed on the production branch set under Environments, Production, Branch Tracking, that an Ignored Build Step is not skipping it, and that the same commit was not deployed before, since Vercel creates no new deployment for a commit it has already deployed. The Git connection and other causes of a commit that creates no deployment come after those.

When should I get outside help with a release that broke production?

Bring someone in when the same kind of release has broken production more than once, when nobody can find a build that is safe to go back to, or when the release changed the database. AxonBuild runs a free audit, where we weigh up with you how your releases fail and what a safe way back looks like on your host.