What a review round-trip costs, and how to have fewer of them
Reading a pull request takes ten minutes; getting back to your own work takes thirty to forty more. The review agent takes the first pass on every infrastructure pull request for between 50 cents and a dollar, so what can be fixed is fixed before a person is asked to look.
Reading an infrastructure pull request takes about ten minutes. Getting back into what you were doing before it takes another thirty to forty. Every time a pull request goes back to its author and returns to a reviewer, both of them pay that again.
The arithmetic
For an engineer on $60,000 a year:
- A minute costs about $0.48. $60,000 over 2,080 working hours is $28.85 an hour, before taxes, benefits and equipment.
- A round-trip costs about $20–25. Ten minutes of review and thirty to forty minutes of refocusing comes to 40–50 minutes.
- An InfraDots review costs between $0.50 and $1.
A review that costs a dollar pays for itself if it saves about two minutes per pull request. One round-trip saved is forty minutes. With taxes and benefits included, a minute is closer to $0.70 and a round-trip to $28–36.
Where the review agent takes out round-trips
The review agent does not replace the person who approves. It takes the first pass, so the person reads the change rather than the nits.
- It reviews with the plan. When a pull request's plan finishes, the agent reviews the code together with what the plan will do, applies checklists by resource type, and leaves line comments where each problem is.
- It reaches the author first. The comments arrive minutes after the plan, usually while the author still has the change in mind, so it is fixed in the same sitting instead of after a reviewer has looked.
- It requests changes on what a person should not have to catch. A failed
fmtor a failed run gets changes requested, not a reviewer's time. - It applies your team's rules. Reviewer guidance holds the rules your team would otherwise repeat on every pull request, and the agent reads it before every review.
- It can fix its own findings. With auto-implement on, the agent commits the fix to the pull request, so a finding does not need another trip through the author.
See Agents for what a review covers, and VCS Providers for when a pull request is planned.
