A release is more than application code
Google's SRE workbook describes release practices such as reproducible artifacts, automation, and small changes. For an AI feature, those principles need to cover prompts, model configuration, tool contracts, and retrieval data as well as source code.
A prompt edit can change behavior without changing a route handler. A reindexed corpus can change answers without changing the prompt. Record these inputs together so an incident can be traced to the configuration users actually experienced.
Technical foundation: Google SRE Workbook: Canarying releases
Define useful operational signals
Monitor request failures, timeouts, completion latency, resource use, and accepted-task outcomes where available. Separate a provider error from a tool error or an unsupported user request. An application that returns HTTP success with an unusable answer still has a product-quality problem.
Use privacy-conscious traces with stable request identifiers and version metadata. Retain sensitive content only when justified and governed. A useful incident record should explain where the request failed without unnecessarily copying customer documents into every monitoring system.
Release gradually when risk warrants it
Compare a new configuration against a known baseline on the relevant evaluation set. For higher-impact changes, expose it to a limited cohort or use a controlled comparison before expanding availability. Define the conditions that would pause or reverse the rollout.
Shadow execution can help observe behavior, but it must not duplicate external side effects. A shadow agent should not send a second message or create a second order. Account for the extra usage and ensure any comparison respects the same privacy and permission constraints as the main path.
Prepare recovery before the incident
Keep a way to disable the AI feature without disabling the entire product. Preserve manual workflows and user input. If a model service is unavailable, a clear temporary limitation can be safer than an untested fallback that behaves differently.
Test rollback with the full configuration. Reverting a prompt may not be enough if the tool schema or retrieval index changed. Document who can act, how to identify affected requests, and how to reconcile uncertain writes. After an incident, turn the specific failure into a focused regression test and update the operating notes.
An AI operations readiness check
- Version prompts, models, tools, and retrieval snapshots together.
- Distinguish infrastructure health from useful task completion.
- Keep traces informative without unnecessary sensitive content.
- Define rollout, pause, and rollback conditions.
- Maintain a manual fallback and reconcile uncertain operations.



