Shift-Right QE & Progressive Delivery Β· Day 5 Β· 20 min
Automated Kill-Switch & Containment
Shift-Right QE & Progressive Delivery β Day 5
Contain production incidents in milliseconds using hysteresis-guarded automated kill-switches.
π¦ Progressive Delivery & Canary Rollout Simulator
Simulate feature-flag combinations, dark-launch shadow parity, and automated canary SLO kill-switches.
Healthy Progressive Canary (5% β 100%)
All feature flag pairs verified; canary error rate and p95 latency stay well within SLO budget.
Canary Error Rate
0.1% (base 0.12%)
p95 Latency Ratio
1.02x
Gate Verdict
PROMOTE
Decision Log: Initial 5% cohort healthy
π¦Sample Codebase & Working Solution (Day 5)Available Now
View on GitHubThe official reference codebase for Day 5 is hosted in the repository. Clone the repository and navigate to tests/day5-kill-switch.spec.ts to run the working solution.
Git Clone β Working Solution
git clone https://github.com/777abhi/progressive-delivery-qe-roadmap.git
cd progressive-delivery-qe-roadmap/tests/day5-kill-switch.spec.tsπProduction Context
π‘ Why We Are Doing This: Waiting 15 minutes for a container rollback during a checkout outage costs revenue; flipping a kill-switch flag takes <1 second.
π’ Real-World Production Usecase: Wiring Datadog/OTel SLO alerts directly into feature-flag kill-switches with consecutive-breach hysteresis.
βοΈ How Implemented in Production: KillSwitchController tracking consecutiveBreaches and recording immutable auditLog events.
Phase 1
Test Kill-Switch Hysteresis
Step 1.1: Run Day 5 Vitest Suite
Terminal
npm run test:day5Day 5 Key Learnings
- Prevented flapping on transient 1-window spikes via maxConsecutiveBreaches hysteresis.
- Verified automatic flag disablement and audit logging on sustained SLO breaches.
π§ Knowledge Check
Why does a production kill-switch controller use consecutive-breach hysteresis instead of firing on a single telemetry blip?