Module 10 of 12 · 62 min

Model Update and Rollback Lifecycle

Plan, qualify, release, observe, and reverse model-serving changes without losing exact identity, compatibility, learner evidence, or a known-good recovery path.

Core concept

By the end

You will be able to

  • Inventory every model, runtime, adapter, configuration, infrastructure, policy, and data dependency that can change serving behavior.
  • Build a compatibility manifest and qualify the exact candidate stack against quality, safety, security, capacity, cost, and recovery gates.
  • Choose a controlled rollout strategy with explicit observation windows, stop conditions, approvals, and immutable evidence.
  • Execute and verify rollback to a retained known-good stack, including schema and state compatibility.
01

Version the entire serving unit

A model update is rarely only a weights change. Record the immutable model revision and digest together with tokenizer, runtime, accelerator libraries, container image, adapters, prompt templates, safety policy, gateway contract, infrastructure configuration, evaluation set, and telemetry schema. A change to any one of these can alter quality, latency, memory use, security, or compatibility.

Give the assembled candidate one release identity and produce a difference report against the currently approved stack. Separate intentional changes from drift. If the operator cannot reconstruct both versions from retained manifests and artifacts, the proposed release is not reversible.

02

Qualify the exact candidate before traffic

Verify artifact provenance, license disposition, signatures or documented alternatives, dependency inventory, vulnerability findings, configuration policy, and environment compatibility. Then run the same representative quality, safety, API compatibility, load, cost, failure, and recovery tests used to approve the current build.

Compare candidate and baseline by case and operational slice rather than accepting one average. Define hard failures, allowed deltas, uncertainty, reviewer roles, and waiver authority before observing results. A newer model name does not override a failed compatibility or safety gate.

03

Stage and release with bounded exposure

Choose a strategy that matches the environment and risk: offline replacement for a workstation, a second container and explicit route switch, rolling replacement, canary traffic, blue-green service, or a shadow comparison that cannot create user-visible effects. Preserve exact request routing and model identity in telemetry.

Define maximum exposure, observation window, success indicators, guardrail indicators, cost ceiling, approver, and automatic or manual stop conditions. Validate readiness and warm-up before admitting traffic, drain old capacity deliberately, and prevent mixed versions from silently invalidating evidence.

04

Treat rollback as a tested release

Rollback must restore a complete compatible serving unit, not merely change a model tag. Retain the known-good artifacts, manifests, secrets references, policy, infrastructure configuration, and deployment procedure. Identify forward-only schema or state changes and provide restore, compatibility, or compensating procedures.

Rehearse rollback before production release using the same authorization, artifact verification, readiness, routing, and postcondition checks as an update. After reversal, confirm exact model identity, representative quality, endpoint behavior, queue state, telemetry, cost, and user-visible recovery.

05

Close the lifecycle with evidence

Record who proposed, reviewed, approved, executed, paused, rolled back, and verified the change; retain timestamps, versions, test outputs, traffic exposure, decisions, and residual risks without storing secrets or unnecessary request content. Link every decision to immutable evidence.

Use release and rollback results to update evaluation cases, thresholds, capacity assumptions, compatibility manifests, and runbooks. Keep failed candidates as evidence with an explicit status so the same unsafe combination is not rediscovered and released later.

Practice activity

Plan and rehearse a reversible model update

  1. Create baseline and candidate manifests that identify the model, tokenizer, runtime, image, adapters, policies, configuration, evaluation set, and telemetry schema by immutable version.
  2. Define quality, safety, security, compatibility, capacity, cost, and recovery comparisons with hard gates and authorized reviewers.
  3. Select a workstation, container, on-premises, edge, or cloud rollout pattern and specify exposure, observation, stop, drain, and approval controls.
  4. Run a tabletop or isolated rehearsal in which a guardrail fails, execute the rollback, and verify the restored endpoint and evidence.
  5. Issue a release, reject, or revise decision and record the residual risks and required follow-up.

What to produce

  • A baseline-to-candidate compatibility manifest and immutable difference report.
  • A gated qualification report and bounded rollout plan with human approvals.
  • Rollback rehearsal output proving restored identity, behavior, telemetry, and service objectives.

Reflect before continuing

Which dependency outside the model weights is most likely to make your rollback incomplete?

Evidence

Sources and verification

Knowledge check

Make it stick.

Pass at 80%

Choose the strongest answer for each question. Your attempts become part of your device-local transcript.

01What belongs in the versioned serving unit?
02What is the strongest candidate qualification comparison?
03Why preserve exact routing identity during a canary?
04Which event should stop a rollout?
05What makes rollback complete?
06What should happen to evidence from a rejected candidate?