HomeRoadmapsProgressive Delivery Day 6
Shift-Right QE & Progressive Delivery Β· Day 6 Β· 20 min

Feature Flag Lifecycle & Staleness Auditing
Shift-Right QE & Progressive Delivery β€” Day 6

Eliminate flag debt by auditing TTL expiration, owner assignment, fallback defaults, and dead code references.

🚦 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 6)Available Now
View on GitHub

The official reference codebase for Day 6 is hosted in the repository. Clone the repository and navigate to tests/day6-flag-lifecycle.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/day6-flag-lifecycle.spec.ts
🏭Production Context
πŸ’‘ Why We Are Doing This: Stale 100%-rolled-out flags accumulate dead code paths and create hidden combinatorial risk months later.
🏒 Real-World Production Usecase: Scheduled CI governance checks enforcing TTLs on temporary release/experiment flags while exempting permanent ops kill-switches.
βš™οΈ How Implemented in Production: auditFlagLifecycle checking MISSING_FALLBACK, ORPHANED_OWNER, DEAD_UNREFERENCED_FLAG, and STALE_FLAG_TTL.
Phase 1

Run Flag Lifecycle Governance

Step 1.1: Run Day 6 Vitest Suite
Terminal
npm run test:day6
Day 6 Key Learnings
  • Enforced TTL expiration on temporary release and experiment flags.
  • Exempted permanent ops_killswitch flags while requiring fallback defaults on every flag.

🧠 Knowledge Check

Which type of feature flag should be exempt from short-lived release TTL expiration?