# How to measure pull request feedback time

> Measure the wait for a useful CI result and a substantive review. Separate queue time from run time to find where a pull request is losing minutes.

Source: https://cueapril.com/knowledge/how-to/measure-pull-request-feedback-time
Updated: 2026-12-02
Index: https://cueapril.com/llms.txt

## How can I tell whether a pull request is waiting for CI or code review?

Track the time from a review-ready change to its first useful test result and its first substantive review. For CI, record when the job was queued, when a runner started it and when it reported. Those intervals show which part of the wait a team can reduce.

## Follow one revision through the queue

Choose a recent pull request and one commit on it. An automated acknowledgement tells the author their request arrived. A failing assertion with an expected and observed result gives them something to do.

1. Record when the author marked the revision ready, when the CI job entered the queue, when it started and when it returned a useful result.
2. Record the first review that identifies a problem, confirms a decision or approves the change. Keep draft time separate so the two clocks have clear starting points.
3. Subtract each pair of timestamps. Review and CI can overlap. Report their durations separately so the same minute is counted once in elapsed time.

## Choose one improvement and measure again

A long runner queue points towards capacity or scheduling. A slow running job calls for a look at its stages. A long wait for review may call for a named reviewer or time set aside for reviews. Sample several comparable changes before treating one delay as a team pattern.

## Worked example: A four-minute check with a 22-minute wait

An author marks a change ready at 09:00 and CI queues it immediately. A runner starts at 09:18 and returns a useful failure at 09:22. A reviewer comments at 09:30. The author waited 22 minutes for test feedback, including 18 in the queue. Halving the four-minute check would save two minutes. The queue is the larger opportunity in this example.

Adapted by Cue April from The Engineering Handbook v1.0.0 by Tenhaw (© 2026 Tenhaw LTD). The examples and pull request checks are Cue April adaptations.

[Tenhaw on diagnosing delivery queues](https://github.com/Tenhaw/engineering-handbook/blob/10d618fde978727e419a524606f351721b0b1d23/09-engineering-leadership.md?plain=1#L17-L25) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

## Try it on your pull request

On your own PR, pick one changed behaviour and see how soon the checks give its author a result they can act on.

[Try Cue April on your repository](https://app.cueapril.com/sign-up/?next=%2Fquality-start)

Create an account, connect your repository and review the test plan.

## Related reading

- [How to split a large pull request](https://cueapril.com/knowledge/how-to/split-a-pull-request)

- [How to write code review feedback someone can act on](https://cueapril.com/knowledge/how-to/write-an-actionable-code-review)

- [How to write a risk brief for a change](https://cueapril.com/knowledge/how-to/write-a-risk-brief)

[Browse the Knowledge base](https://cueapril.com/knowledge)
