Guides · ← All guides
How Do You Roll Back a Failed Model Migration?
Published: November 14, 2026 · Reviewed: November 14, 2026 · 7 min read
By the Ingenious AI team
The short answer
A rollback plan is the pre-written, pre-rehearsed route back to the incumbent model: a configuration-level switch, defined triggers that need no meeting to invoke, a check of everything the new model touched while it served, and an owner who can order it at 3 a.m. Its hard boundary is the calendar — rollback exists only while the old model still serves, which is why migrations are canaried inside the sunset window. After shutdown day the honest options narrow to a fallback model or a fix-forward. ModelMinder's migration-plan structure supports the discipline: plans carry states and an audit trail of events, so the decision to reverse is itself a recorded act, not an improvisation.
What triggers a rollback?
Decide in peacetime, in numbers. Canonical triggers: hard-failure rate on the new model beyond a set threshold for a set window; downstream validation failures (your parsers rejecting outputs) above baseline by a set margin; a business metric — resolution rate, conversion, analyst acceptance — breaching its floor; latency p95 beyond budget sustained. Each trigger names its metric, threshold, window, and the person or automation empowered to act. Triggers negotiated during an incident are negotiated by adrenaline, and they always drift toward 'give it another hour' — the hour in which the damage compounds. Write them into the migration plan next to the canary gates; they are the same document's other half.
What does the switch itself require?
That the route home is configuration, not code: a flag, a routing rule, an environment value — changeable in minutes by the on-call, without a deploy pipeline's permission. Then the less obvious half: state reconciliation. While the new model served, it wrote outputs into your systems — records, drafts, classifications, cached responses. The rollback plan must say which of those stand, which get flagged for review, and which get regenerated: a classification written by the new model does not become correct because traffic went home. For embedding and fine-tune migrations, rollback is heavier by nature — an index built in the new space must be kept or rebuilt — which is why those migrations keep the old index alive through the parallel period as their rollback asset.
Who can call it, and how fast?
A named role, reachable, empowered in writing to reverse without escalation. The plan should also cap the debate: if a trigger fires and the cause is not identified within a set interval, rollback proceeds by default — diagnosis continues on the safe side of the switch. This default matters because migration teams are invested; the people who built the cutover are the worst judges of whether to abandon it mid-incident, through no fault of character. Structure beats character: triggers, a clock, a default. ModelMinder applies the same separation in approvals — the person who runs a comparison is not the gate; the owner is — and rollback deserves the same clarity.
Why must rollback be rehearsed?
Because every unrehearsed switch conceals a surprise: the flag that also flips a billing path, the config that requires the deploy you were avoiding, the old model's quota that was reallocated when traffic left. A rehearsal is cheap — during the canary's first step, roll the slice back once on purpose, time it, and fix what surfaces. That drill converts rollback from a document into a measured capability with a known duration, which changes incident maths completely: a team that knows rollback takes six minutes uses it early; a team guessing it takes an hour gambles instead. The drill belongs in the canary plan as a scheduled step, not a contingency aspiration.
What replaces rollback after shutdown day?
Honesty about the new menu: a tested fallback model (a different migration, run at incident speed — see fallback routing), a fix-forward on the new model with prompts and parameters, or a degraded-mode product that queues work until a fix lands. None is a rollback; all are worse. This asymmetry is the deepest argument for finishing cutovers with buffer inside the window: every day of buffer before shutdown is a day in which rollback still exists. Teams that treat the window's end as the target date have quietly deleted their own safety net and called the deletion a plan.
Five actions that make rollback real
- Write numeric triggers (failures, validation, business metric, latency) into the migration plan before cutover, each with a window and an actor.
- Make the route home a configuration switch, timed in a rehearsal during the canary's first step.
- Specify state reconciliation: which new-model outputs stand, which are flagged, which are regenerated after a rollback.
- Name the rollback owner and the default: if the cause is not found within the set interval, rollback proceeds automatically.
- Keep the incumbent alive and quota-available until the tail-verification period ends; record the decommission date.
Worked example: Foxglove Pharma rolls back in six minutes
Foxglove Pharma, a fictional generics manufacturer, migrated its regulatory-document classifier with a rehearsed rollback: trigger set at a validation-failure rate 1.5 points above baseline over 30 minutes. On day two at 50 percent traffic, the trigger fired — the new model had begun emitting a legacy category code its downstream system rejected.
The on-call executed the switch without a meeting; traffic was home in six minutes, the figure the rehearsal had predicted. Roughly 1,900 classifications written during the window were flagged and regenerated against the incumbent over the following night, per the plan's reconciliation section. The root cause — a prompt example carrying the legacy code — was fixed, re-evaluated, and the migration completed the next week across 6 endpoints, ending at $0.013 per classification versus $0.016 before, p95 1.9s versus 2.4s. The rollback is remembered as the migration's best day: the day the plan proved it was a plan.
Sources
- ModelMinder documentation (ModelMinder, 2026) — this platform’s own first-party method for the radar, the dependency graph, and the Sunset Risk Score.
- ModelMinder retirement calendar (ModelMinder, 2026) — this platform’s own first-party catalog: each tracked model’s shutdown date with the provider’s source notice and a last-verified date.
Frequently asked questions
When is rolling back the wrong choice?
When the failure is small, bounded, and fixable faster than the switch plus reconciliation would take — a single prompt defect on a held canary slice, for instance. The triggers should encode this judgement in advance by severity class, so the incident decision is execution, not deliberation.
Can we roll back a migration that changed our data, like an embedding swap?
Only if the old artefact was kept: the old index alive and dual-written, the old outputs reproducible. Embedding rollbacks are asset-preservation exercises — which is why the parallel-run period, with the old index intact, is the rollback window, and deleting the old index is the point of no return to schedule consciously.
How long should the incumbent stay available after cutover?
Through a tail period that covers at least one full business cycle of the new model at 100 percent — typically one to two weeks — with its route and quota intact. Decommissioning earlier saves little and deletes the safety net while late-appearing divergence is still plausible.
Who should own the rollback decision during an incident?
A named role named in the plan — on-call lead or migration owner — empowered to act on the triggers without escalation. Ownership diffused across a group chat is how triggers fire and nothing happens for forty minutes.
Should a rollback be reported to customers?
If the new model served customer-visible output during the window, follow your incident-communication policy for the impact that actually occurred — and the reconciliation section of the plan tells you exactly which outputs are in scope, which is one more reason to write it in advance.