Leadership asks "Are we getting better at delivery?" How do you measure it from your pipelines?
IntermediateScenarioPipelines at scale
Answer
Situation read → Use the four DORA metrics; your pipeline and incident data already contain most of what you need.
What I'd do →
- Deployment frequency: count successful prod deploys from the deploy system (GitHub deployments API, Argo CD sync history).
- Lead time for changes: time from first commit (or PR merge) to running in prod.
- Change failure rate: deploys followed by a rollback, hotfix or incident, divided by total deploys. Link incidents to deploys.
- Time to restore service: incident start to resolution, from the incident tool.
- Show trends per team over months, not as targets to game. Pair them with a reliability metric (SLO attainment) so speed doesn't come at the cost of stability.
Why → These four balance speed and stability, and are backed by years of DORA research.
Interview tip → Warn against using them to compare teams; they're for improving a team against itself.
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