Lab: Gateway version 3 and the 22 September replay
Module 11 · Lab · About 70 minutes · Needs: lessons 1 and 2 of this module, and the Module 10 lab (or nothing: Step 1 rebuilds Modules 1 to 10)
What you are building
This lab joins the lessons' parts into gateway version 3, northdesk/reliability.py: per-tenant and per-person rate limits, a bulkhead per feature, and Module 7's gateway over backends that each have a timeout, a share of one retry budget and a circuit breaker. Lesson 1's ladder runs after it, and the same rules wrap Module 10's service.
Then you replay 22 September from 13:00 to 13:40 UTC under the corrected residency rule: residency.py fails the Gemini API in every region, so no tenant has a secondary. Last, every row of docs/failure-modes.md gets a fail mode and a test, or a reason why not.
No model is called: providers are scripted stand-ins, never model output. Open a new Colab notebook, module-11-lab.ipynb, and run each cell in order.