Lead Time for Changes measures how long a change takes from its first commit until it reaches production. It tells you how long code waits, once someone starts writing it, before it ships.
What it measures
The time from a change's first commit until it reaches its repository's production branch, computed once per change. Each change is the pull request that brought it.
Start — the first commit the pull request carries, including commits made before the pull request was opened. A pull request with no commits starts when it was created.
End — when the change reaches the repository's production branch: its default branch, or the
prodorproductionbranch it is promoted into. A pull request merged straight into that branch ends at its merge. One merged into another branch, such asdev, ends when the pull request that brings it into production merges, following the chaindev → testing → main.Promotion and back-merge pull requests do not count. A pull request from
dev,testing,mainor another branch several branches merge into carries other people's changes, not one of its own.A change that has not reached production yet counts when it does.
If a repository never promotes by pull request (everything goes straight into the default branch, or promotion happens without pull requests), each change ends at its merge.
Hover the figure on the card to read this rule there, with how many promotion pull requests the period left out and how many changes have not reached production yet.
To follow a work item across all its pull requests, see Work item life cycle.
An organization owner can make it start when the pull request's branch was created instead: Settings → Organization Settings → Tabs → Metrics, Count from branch creation. GitHub and GitLab report when a branch is created; Bitbucket does not, so on Bitbucket it always starts at the first commit.
How Leanmote calculates it
lead_time = in_production_at - first_commit_at
One statistic at a time, chosen with the method selector — they are not shown side by side. The default is the average. The other options are the median, the P75, P85 and P95 percentiles, and the standard deviation; there is no P90.
Benchmarks: Elite up to 24 hours, High up to a week (168 hours), Medium up to 30 days (720 hours), Low longer.
The phases
The breakdown splits each change's lead time into phases:
coding = pr_opened_at - first_commit_at
waiting_for_review = first_interaction_at - pr_opened_at
in_review = first_approval_at - first_interaction_at
ready_to_merge = merged_at - first_approval_at
waiting_for_release = in_production_at - merged_at
Coding — from the first commit until the pull request is opened (zero if the pull request was opened first).
Waiting for review — from the pull request opening until its first interaction: the earliest of the first review comment, the first commit pushed after it opened, or the first approval.
In review — from the first interaction until the first approval.
Ready to merge — from the first approval until the merge. A pull request merged without any approval counts from its opening.
Waiting for Release — from the merge until the change reaches production. It shows only where changes wait for a promotion pull request, and then the detail also shows the In production column. There, a pull request merged straight into production says At merge. To list the ones that waited first, click Waiting for Release on the stage bar above the detail's table.
The phases are rescaled so they add up to the lead time shown.
Measured to the deployment
With GitLab deployments, you can measure lead time to the production deployment: in the card's ⋮ › Measure until › The production deployment, saved with the view. Each pull request a deployment carried counts from its first commit to that deployment, in three stages: Development, Waiting for Deployment and Certification in QA. The card also shows the time from the merge and from QA to production (only the changes that went through QA). The DORA metrics overview explains it in detail.
How to interpret it
Switch to median first — the default average gets pulled by long-tail pull requests.
Then read P95 and compare it against the median. A wide gap means most changes are fast but some are stuck for days. Investigate the slow ones.
The largest phase tells you where to invest improvement effort.
If your team promotes code through environment branches (
dev → qa → main), Waiting for Release shows how long a merged change waits before it ships. If it is the largest phase, the bottleneck is how often you promote, not development.
What to do about it
If coding dominates: shrink stories, slice work earlier, or address scope creep.
If waiting for review dominates: reduce reviewer load, set a review SLA, or use working agreements.
If in review dominates: smaller pull requests, clearer descriptions, and fewer review rounds.
If ready to merge dominates: approved work is waiting — automate merge gates or merge as soon as checks pass.
If Waiting for Release dominates: promote more often and in smaller batches, or automate the promotion.
Related metrics
Deployment Frequency
Cycle Time
Work item life cycle
DORA metrics overview
