A provider announces that the model behind a production workflow will retire. Your prompt and application are unchanged. The replacement still has to read the same inputs, return something the application can use, and honor the workflow’s rules. A successful API response tells you the request went through. The fixed test set tells you whether the workflow can use the result.
In a hypothetical accounts payable workflow, a model reads supplier emails and invoices, then proposes a purchase order to match. The workflow routes uncertain matches to a clerk. Two open orders can contain the same item and amount, so a valid order ID returned in the right format can still be the wrong match. A replacement that guesses more often could pass every schema check while sending ambiguous cases down the routine path.
Record the model that actually runs
Start with the production configuration. Record the provider, endpoint and region or deployment if applicable, the configured model identifier, and the workflow steps that call it. Include background workers and models used on retries or fallback. Log the requested model and the model or revision reported in the response when the provider exposes it. Tie both to the workflow run. If the service exposes only an alias, record that limit so a later investigation can distinguish the model you requested from what you can verify about execution.
Use a specific snapshot where the provider supports one, and verify its availability on the account and endpoint that run the workload. OpenAI’s API reference recommends pinning versions and running evaluations because behavior can differ across snapshots and outputs can vary. A pin gives you a specific version to compare while it is available. Keep the pin in versioned deployment configuration so a change to it can be reviewed and deployed with a record of what ran. OpenAI API reference, Backwards compatibility
Start the test when the provider gives notice
Assign someone to check notices and changelogs for the models in the inventory. Record the affected identifiers, the provider’s shutdown date, the suggested replacements, and the workflows that depend on the old version. OpenAI’s deprecations page is one example of a notice source. It distinguishes retirement announcements from shutdown and recommends comparing representative requests on both models before switching. OpenAI API, Deprecations
Set an internal decision date that leaves time to fix a failed test, roll out the replacement and observe it while the old version can still take traffic. Verify the replacement supports the API and features you use, including the input types, output schema and tool calls that the workflow depends on. If the provider requires a new endpoint or changes which settings are accepted, record those changes in the candidate configuration. Check that the candidate can handle requests under the intended production account and limits before using results from a test project to approve it.
For an alias-only service, run a small set of fixed cases on a schedule and after a relevant provider notice or observed revision change. Compare against the last accepted run. If the old revision is already unavailable, use archived outputs and scores as a historical reference. Record when they were captured and treat the comparison as historical evidence. Run the full set on every identified version change and when a scheduled check finds a material difference you cannot attribute to your own deployment.
Replay the same cases on both versions
Freeze the dataset, case labels and scoring rules for this decision. For the invoice workflow, each case includes the relevant email and attachment, the order records visible at the original decision, the expected match or review route, and the evidence that supports it. Keep common cases alongside ambiguous matches and cases with missing references. Preserve the version of the set used for approval so that a later rerun can explain a difference. Turn Historical Operations Cases Into an AI Regression Test Set
Run each case on the current version and the candidate during the same period. Use the same prompt, schema, document preprocessing, fixtures for lookups, and retry policy wherever both support them. Send the output through the same parser and workflow rules used in production, with writes and notifications disabled. If a request fails on the candidate or hits a fallback, keep that outcome in the results. Dropping failed requests understates how much work will need another route.
Save the case ID, model identifiers, configuration revision, score, elapsed time, and usage reported by the provider. Repeat selected cases where one run gives too little evidence about a high-consequence decision, and retain all attempts. If the replacement requires a prompt or adapter edit, preserve the results of any clean model-only comparison you were able to make. Evaluate the final combination as its own candidate and put prompt edits through the normal review. OpenAI, Evaluation best practices · Approve Prompt Changes Like You Approve Code Changes
Agree on pass thresholds before running the candidate
Set absolute limits from the workflow’s operating requirements and a tolerated change from the current version where appropriate. Use both because the current version can already miss a requirement. Decide how many scorable cases you need in each required category and what qualifies as an inconclusive run. OpenAI’s evaluation guide recommends task-specific scoring, comparing runs and using human feedback to calibrate automated scores. For an invoice match, check the order ID and evidence against labeled fields where possible. Have an accounts payable reviewer resolve ambiguous cases using the same rubric for both models. OpenAI, Evaluation best practices
| Check | What should stop approval |
|---|---|
| Required review | A confirmed case bypasses mandatory review when the available evidence leaves two possible orders. |
| Routine matches | Correct matches among labeled routine cases fall below the agreed minimum or regress beyond the allowed margin. Examine which cases switched from pass to fail. |
| API and workflow compatibility | Required input types or settings fail, outputs cannot be parsed reliably, or timeouts and fallbacks breach the workflow’s limit. |
| Operating capacity | Review volume exceeds what clerks can clear, end-to-end latency breaches the workflow target, or estimated cost per handled case exceeds budget. Include retries in the cost estimate and check processing capacity under representative load. Estimate review volume from the routine traffic mix so deliberately selected edge cases do not skew the forecast. |
Show pass-to-fail and fail-to-pass cases alongside totals. A better average can hide a new error on the orders that require review. Mark an underrepresented case type as inconclusive and gather more examples before approving that scope. If a scheduled shutdown leaves too little time, route the unapproved case types through manual handling or a fallback that has passed its own checks.
Rehearse rollback with and without the old model
Once the candidate meets the offline thresholds, give it a limited share of eligible traffic and monitor the agreed checks while the current version is still callable. Use the rollout to observe effects that depend on live conditions, such as whether handoffs arrive at the clerk’s queue on time. Confirm which release handled each case, including fallbacks. Release an AI Workflow Change to a Canary Cohort
Before shutdown, test switching new requests back to the last approved configuration. Verify it still works and that an in-flight candidate job cannot apply a stale recommendation after the switch. Use the run log to find candidate suggestions that still need review. In the invoice example, send unconfirmed matches back to the clerk and reconcile any links already accepted before retrying them.
Then rehearse the same incident with the old model unavailable. Exercise the tested alternate version or stop automated matching and send invoices to the manual queue with their source documents and order references. Check that the queue can absorb the handoff and that the fallback does not keep retrying a retired endpoint. Record who can switch traffic, what happens to pending jobs, and when the old route expires. Keep the accepted candidate’s run as the baseline for the next provider notice.
Sources
- OpenAI, Evaluation best practices
- OpenAI API reference, Backwards compatibility
- OpenAI API, Deprecations
Request a free AI workflow audit
Bring one workflow, its current model configuration and an example of a decision that needs review. Insonl can examine what to replay before a provider change and how the workflow should handle pending work if the old model goes away. The audit is free. Insonl charges for any follow-on work you choose. Request a free AI workflow audit