RAG Release Gates and Rollback
In this article
- Write a release manifest that pins every part of a RAG answer path under one release id.
- Put release gates in order and say which ones block a release whatever the quality scores show.
- Read a gate report and decide stop or go, naming the rollback step.
- Pick the signals that trigger a rollback in the hours after a switch.
Overview
A new search index is built, tested and scores better than the one in production. Moving users onto it takes one command. The hard part is deciding when that command may run, and being able to take it back in seconds when something goes wrong.
The policy assistant that answers employees about HR and travel rules from 120 access-controlled documents is at that point: a new index, policies-v2, is ready to replace the live one, policies-v1, behind the stable name policies-live that the app queries. By the end you can write the record that says exactly what is being released, run the release gates in order, apply the one rule that stops a release even when quality went up, and roll back with a single switch.
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
- What you are releasing
- The gates, in order
- The stop rule
- The release run
- The alias does not move
- After the switch
- Putting it to work
- Common mistakes
- In production
- Sources
- Check yourself, 13 questions