Measure the path a change actually travels
Delivery flow begins when work changes source and ends when the relevant change is available in production. For the Harbour Dispatch team, a commit may wait for review, merge, CI, promotion, approval and release. A ten-minute build can coexist with a three-day lead time. Improving build speed by two minutes may be sensible, but it does not address a queue that accounts for most of the delay.
Build a timeline from source control and deployment events. Link each production artifact to the changes it contains and record when exposure began. Different teams legitimately define their cohort differently, but comparisons only work when the definitions stay legible. Decide how to treat emergency releases, flag activations, failed deployments and changes that are never shipped. Avoid counting repeated pipeline runs as production deployments simply because workflow software labels them deploys.
DORA's published delivery measures cover throughput and instability. The current guide describes change lead time, deployment frequency, failed deployment recovery time, change fail rate and deployment rework rate. The metrics are signals about a service's delivery system. They do not measure an individual developer's merit and do not replace user-facing reliability or product outcome measures.
Work a small timeline
Harbour deployed four separate production changes over two working days:
| Change | Commit to production | Required intervention | Recovery after failure |
|---|---|---|---|
| Routing rule | 45 minutes | No | Not applicable |
| Pricing adjustment | 180 minutes | Yes | 26 minutes |
| Retry change | 60 minutes | No | Not applicable |
| Dashboard label | 420 minutes | No | Not applicable |
The median lead time is (60 + 180) / 2, or 120 minutes, with a much slower observation of 420. Change fail rate in this sample is 1/4, or 25%. Failed deployment recovery time has one observation, 26 minutes. This small sample is useful for understanding the arithmetic and not useful for drawing a strong statistical conclusion about the team's month. Clarify whether the pricing fix was resolved by restoring previous exposure or a separate unplanned deployment. If the latter exists, it may change the denominator and deployment rework classification depending on the reporting cohort.
Review p50 and the tail. A team with a healthy median but very slow critical-path changes can still have a review or environment bottleneck. Slice by service, approval route or risk category where there is sufficient volume. Comparing an often deployed internal dashboard with an infrequently changed settlement service without context can incentivise unhelpful decisions.
Locate the queue before changing policy
A representative change takes 25 minutes of coding validation, 15 minutes of CI, 40 minutes of hands-on review across two people, eight hours waiting for a shared staging environment and 12 minutes in deployment. Map active work and waiting separately. A shared environment reservation can be addressed with short-lived isolated environments or on-demand test inputs if the economics and security permit. A policy requiring every change to wait for a daily meeting may merit changes through risk-calibrated approvals. The engineer still has to preserve change control for high-risk resources.
Follow the effect of changes in the delivery system. Smaller changes can reduce review delay, lower the blast radius and improve troubleshooting. Too many urgent fragmented releases can overwhelm the same dependency if rollout capacity is limited. Keep service health and rework in the decision. A trend that improves lead time while increasing production incidents can represent a transfer of work into maintenance rather than an overall improvement.
Delivery can use queue disciplines deliberately. Separate urgent repair from normal feature flow using a named owner and clear admission rules. For normal work, use a ready queue that exposes waiting age. Limiting active work can help teams finish old changes before starting new ones. Verify that teams do not simply move hidden work into untracked channels.
Exercise: choose a first change
A pipeline averages 19 minutes of compute, down from 25. Median lead time increased from 10 hours to 15 hours. Merge requests are still small, but one integration test environment is available and fixes queue behind scheduled suite runs. Which fact do you need before asking for faster runners?
Measure queue time by environment, scheduling rules, and how long each workflow actually occupies the constrained resource. Identify whether the bottleneck is service execution, test data reset or delayed ownership. If most time is in allocation, reusing a test environment safely or creating another scoped environment may improve total lead time more than doubling compile speed. Compare before and after against failure and validation coverage.
Establish a baseline
Write a metric note with the timestamp source, change linkage, definition of production deployment, failure classification, reporting window and known gaps. Set a team review rhythm and name an owner for correcting instrumentation errors. At the next review, bring one example of a slow change and one failed recovery. Use the aggregate chart to find where to investigate and the individual change history to make a fix.
Reconstruct flow from a small change cohort
Harbour Dispatch asks why low-risk changes take hours after tests finish. Pick five changes that reached production and reconstruct their timestamps. A credential renewal travels from commit at 08:15 to production at 10:20, with seven minutes of build, eight minutes of verification and more than an hour waiting for a shared environment. A logging field spends twelve minutes in execution and thirty-five minutes waiting for a reviewer. A dependency fix is approved quickly but waits for a weekly maintenance slot. A schema expansion stops in canary because a representative validation job cannot obtain a runner. A release-only setting bypasses the common build flow but waits for a manual action. Two changes with similar lead times can point to entirely different improvements.
Use a consistent start point, whether commit, code-ready or a business request. The externally described change lead time often starts at commit and ends in production. A team can separately measure review request to approval or product commitment to release to understand its system. Clearly name these boundaries on the dashboard. Otherwise switching the timestamp may appear to improve performance while nothing changes. Record the end at the first event that counts as actual production delivery according to the policy. For a disabled feature delivered in a release, deployment time and activation time can each be useful, with different meanings. Track them by stable change or release association.
Use a deliberately imperfect dataset
Over ten days, twelve production changes have lead times in minutes of 8, 11, 12, 14, 17, 18, 19, 21, 28, 43, 74 and 315. The median is 18.5 minutes. With the nearest-rank method, the sample 90th percentile is the 11th ordered value, 74 minutes. The 315-minute event matters because it can involve a small fraction of changes and a large share of delay. Report percentile method, sample period and size. At small sample sizes, p95 can land on the maximum under a particular algorithm. Break down the relevant tail with qualitative incident or release notes rather than prescribing from one number.
The change failure set contains one automatic reversion after a failed canary and one deployment followed by manual mitigation. If the team's definition counts both, the fraction is 2 of 12, or about 16.7 percent. If policy defines production change failure only for a deployment needing remediation in the live environment, a pre-exposure safety gate might be recorded separately and excluded. Decide classification before optimizing it, and track rejected candidates as evidence of gate effectiveness. The goal is reducing customer and operator burden. Making the denominator large by splitting every delivery into state changes may improve a ratio while encouraging unnecessary production actions. Define the unit and track related work by shared identifiers.
Calculate the recovery duration for the affected deployment. An alert activates at 16:04, an operator disables the feature at 16:13, and the last affected pending job is confirmed at 16:22. If the measure uses incident start 16:01 to restored service 16:22, the result is 21 minutes. A different operational metric measures alert response from 16:04 and rollback activation at 16:13, which is 9 minutes but does not show downstream recovery. Record both useful milestones. A delivery incident measure should be clearly separated from all incident recovery if the latter covers partner outages and infrastructure failures as well.
Compare interventions before prescribing speed
Thirty-five review minutes come from a single daily approval window. The actual change review needs five. A second approval window cuts delay on a representative arrival pattern without weakening review. If the wait instead results from missing release evidence, more reviewers may have little impact. Attach artifact identity, test outputs and rollback context to the approval request before changing permission policy. Measure first wait, repeated waits, and failed approvals after the change. Track elapsed time customers wait for urgent fixes and whether defect rates rise.
A different expensive queue is a fixed pool of ten CI workers. At 09:00 projects submit forty test jobs and produce a twenty-minute backlog. Increasing worker count may reduce job queue delay but leave the shared staging environment saturated. Make a flow diagram showing owner, wait reason and execution for each gate. If one normalized test inside CI can verify a contract earlier, it reduces wasted staging work and shortens feedback without encouraging a fast path that skips evidence. Use actual concurrency and duration data to plan improvements. Avoid changing two queues at once in a pilot unless the goal explicitly includes that combined change.
Practice a fair four-week evaluation
Suppose median lead time falls from 42 to 24 minutes during a four-week trial, while weekly deployments rise from five to eight. Support reports more dispatch delays but no longer tags them with release identity. A competent evaluation cannot yet connect the delivery trend to production stability. Preserve the observed time and deployment results with sample definitions. Restore a way to associate production outcomes to release revision and audit incidents for the before and after windows. Compare delivery mix and demand. Deploying routine maintenance more frequently may change the cohort even when urgent fix times stay high.
Propose one decision and its stop condition. Continue a bounded trial for low-risk changes if required customer indicators remain stable and review controls operate as designed. Pause expansion if delayed confirmation, duplicate assignment or operational rework move beyond the stated threshold. Keep capacity and seasonal changes visible. A trend that rewards activity independent of outcomes is easy to improve without delivering value. By grounding the measurement in a traceable production event and customer contract, the team can defend both faster feedback and safer delivery.
Further reading: DORA software delivery performance metrics.