Canary and Shadow Releases
In this article
- Say what a shadow run of a candidate release holds back, and why code, not the prompt, must hold it back.
- Choose a canary cohort and its steps, and say when a step has seen enough conversations to count as evidence.
- Read a canary step's monitors against the baseline cohort and decide whether to promote, hold or stop.
- Terms defined here: shadow release, side-effect suppression, canary release, traffic segmentation.
Overview
Your team has a new version of an AI assistant. It passed every offline test and the release gate. Next come real customers, whose messages no test set fully predicts. Switch everyone at once, and any defect the tests missed reaches every customer on the same day. How do you learn what the new version does on real traffic while the damage stays small?
You will plan two steps that answer that: a shadow run, where the new version sees copies of real conversations but cannot change anything, and a canary, where a small random group of customers gets it for real. You will also read the numbers that decide whether the canary grows, waits or stops.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Why the gate is not the last check
- Shadow: real chats, no consequences
- Canary: a small random cohort
- Reading a step
- Common mistakes
- In production
- Sources
- Check yourself, 13 questions