Every prod deploy needs a manual approval from a manager, so teams deploy weekly in big batches. How do you move to continuous deployment safely?
IntermediateScenarioPipelines at scale
Answer
Situation read → The approval feels safe but makes each deploy bigger and riskier. Replace human gates with automated ones that are actually stronger.
What I'd do →
- Measure today: deploy frequency, change failure rate, time to restore. That's the baseline.
- Build the automated safety net: good test coverage on the critical paths, canary releases with automated analysis (Argo Rollouts or Flagger), and automatic rollback on SLO breach.
- Use feature flags so deploying code is separate from releasing features.
- Start with low-risk services on continuous deployment; keep manual approval for a few high-risk ones at first.
- Show the numbers after a quarter: smaller changes, lower failure rate, faster recovery.
Why → Small, frequent, automatically verified deploys are safer than big reviewed ones; DORA research backs this.
Interview tip → Use the DORA metrics as evidence; it turns a culture argument into data.
More on Pipelines at scale
The CI pipeline takes 45 minutes. Developers want it under 10. How do you approach it?IntermediateYou have a monorepo with 40 services. Every commit builds and tests all of them. How do you fix that?AdvancedFlaky tests fail 1 in 5 runs and developers just click "re-run". How do you fix this culture and the tests?BeginnerYour self-hosted GitHub runners can't keep up at peak and sit idle at night. How do you run them at scale?AdvancedDocker builds in CI take 12 minutes because every runner starts with an empty cache. How do you speed them up?IntermediateHow do you secure the software supply chain from commit to production?Advanced