Get the app
  1. Blog
  2. Operations
  3. What our CI fixes measured: shorter queues, one claim of ours that was wrong, and a 16-hour block
Three pairs of bars: Node-job queue wait fell from 11.3 to 1.7 minutes, merge to production stayed near 50 minutes, image-build queue wait rose from 3.0 to 16.9 minutes

What our CI fixes measured: shorter queues, one claim of ours that was wrong, and a 16-hour block

Two days after our CI changes, Node-job queues fell from 11.3 to 1.7 minutes at the same load. Merge to production did not get faster, and one claim in our first post was wrong. Queue time, cache hits, labour and recovery, measured.

On this page
  1. 1. What we compared, and why it is thin
  2. 2. We told you something wrong
  3. 3. Queue time
  4. 4. Merge to production
  5. 5. Cache hit rate
  6. 6. Maintenance labour
  7. 7. Failure recovery
  8. 8. The billed-minutes equivalent
  9. 9. What we take from it
  10. 10. Measure your own queue time
  11. Measurement notes
  12. Notes and sources

A reader on dev.to answered our CI cost post with one comment: runner comparisons are most useful when they include queue time, cache hit rate, maintenance labour and failure recovery, not just billed minutes.

We replied that labour and cache hit rate were the two we hadn't put numbers on, and that we would share the results either way. This is that post. We measured the same four things, plus merge to production and the billed-minutes equivalent, on the 30 days of the first post and on 18 to 20 November.

The short version, with the numbers in bold:

  • Queue time. Node jobs (lint, type-check, tests) waited 11.3 minutes at the 90th percentile before and 1.7 minutes after, at the same load. Image builds and end-to-end tests got worse, 3.0 to 16.9 minutes, because of a mistake in our first post (section 2).
  • Merge to production. The median did not move: 49.8 to 51.1 minutes for user-facing merges. In quiet hours after the last change, 15 merges took 9 to 18 minutes.
  • Cache hit rate. Up a few points, 70.5% to 77.6% for Docker build steps, within the noise of the sample.
  • Maintenance labour. Runner and CI changes went from 1.3 a day to 7.1 a day, all written by agents. We have no clock for our own hours. How the team works with agents is in a small team in Tallinn shipping with agents.
  • Failure recovery. Not better. The biggest loss was a 16-hour block caused by a web bug, not by a runner.
  • Hosted-price equivalent. About $1,255 a month against $1,456. The intervals overlap, so we call it unchanged.

The window is short, and we say below where that limits what you can conclude.

1. What we compared, and why it is thin

We ran the same measurement script over three windows.

  • Before: the first post's 30 days, 17 October 23:00 to 16 November 23:00 UTC. 153,427 jobs and 4,013 runner hours on a sample-based estimate. The first post quoted the low ends of those intervals, 135,000 jobs and 3,543 hours.
  • After: 18 November 00:00 to 20 November 06:00 UTC, Wednesday to Friday morning. 6,060 workflow runs, with the jobs of 1,116 read.
  • Settled: from 18 November 22:00 UTC, once the last two changes were in. 1.33 days.

Three things limit it.

It is not two full working days with every change in. Two changes landed on the evening of the 18th: release builds really moved to their own runners at 20:20 UTC, and images started building when they merge at 21:20. Thursday 19 November is the only working day with everything in place, and it was the quietest: about 17 merges a day in the settled window against 51 before, 37 runner hours a day against 134, and for most of it Deploy Dev was blocked (section 7).

Load differs. Where it matched, we say so. Where it didn't, we say that instead.

The samples are small. The after window has 116 merges, 44 image builds in the logs and 3 red main-branch episodes. Where that is too few for a verdict, we give the number and stop.

What changed in between, in order:

  • 17 November: end-to-end tests limited to what a change can reach, a hotfix lane, and a new runner pool for release builds. That pool did nothing yet. See section 2.
  • 18 November, 00:24 to 03:16 UTC: more runners for Node jobs. Warm runners went from 4 to 8, the runner limit from 26 to 38, and one machine rejoined the pool after its disk fix.
  • 18 November, 04:05 and 06:10 UTC: blog posts and the web app deploy without waiting in the shared deploy queue.
  • 18 November, 07:03 UTC: build cache mounts for the package store and the Next build cache.
  • 18 November, 20:20 UTC: release builds and end-to-end tests on their own runners, for real this time.
  • 18 November, 21:20 UTC: images built when their code merges, not inside the serial deploy lane.

2. We told you something wrong

The first post said that overnight into 17 November the image builds and end-to-end tests on the release path had moved to their own runners, so a busy pull-request evening could no longer hold a release.1 That was false when we published it.

The runner pool existed. A setting that points the jobs at it was never switched on, so those jobs kept queueing behind pull-request CI. Only the deploy steps (migrations, tag bumps, smoke tests) had their own runners, and had since October. In our dev.to reply we also said that giving deploy jobs their own runners had fixed the queue. It hadn't yet.

We found it while measuring: no build or end-to-end job ran on the new pool in either window until 18 November. A change at 20:20 UTC that evening made the new pool the default. We are adding a correction to the first post as well.

3. Queue time

Bar chart, measured: how long a job waited for a runner, 90th percentile, before and after. All jobs 10.0 minutes before, 2.1 after. Node jobs 11.3 before, 1.7 after, at the same load of about 165 jobs an hour. Image builds and end-to-end tests 3.0 before, 16.9 after. Deploy path 32 seconds before, 18 after.

Measured, from job timestamps on a sample of runs, scaled to all of them. Wait is the time from a job being created to a runner starting it.

Node jobs improved, and the load was the same. The 90th percentile wait fell from 11.3 to 1.7 minutes, with 164 jobs an hour before and 166 after. The 99th percentile fell from 38 to 4 minutes. The median barely moved, 16 to 13 seconds, so most jobs were never slow. The long tail was.

The busiest day agrees. On 18 November the Node-job pool took about 316 jobs an hour from 03:30 to 22:00 UTC, nearly twice the before average, and its 90th percentile was 2.2 minutes.

What this doesn't tell us is which change did it. We added runners in three steps within three hours, so we can't separate them.

Image builds and end-to-end tests got worse. Their 90th percentile wait rose from 3.0 to 16.9 minutes, and to 22.9 minutes on the busy 18th, from 03:30 to 22:00 UTC. That is section 2 in numbers: these jobs were still waiting behind everything else. After the fix their old pool is nearly empty, and the new one picks up at a 90th percentile of 1.6 minutes in the settled window. That is not fast either. The new pool has four runners, builds and test shards compete for them, and the alert that watches its pickup fired nine times in the after window.

The deploy path is steady: 32 to 18 seconds. Jobs of the deploy-to-dev workflow as a whole waited longer at the 90th percentile, 28 seconds to 2.4 minutes, because their builds and tests were the jobs in the paragraph above.

Our target is a 90th percentile of 15 seconds in working hours. We met it only in the settled window: 13 seconds across all jobs, at 73 jobs an hour, well under half the before load. That shows the floor. It doesn't show what a busy day does now.

4. Merge to production

Bar chart, measured: minutes from merge to live in production. Median, all merges 40.1 before and 41.6 after. Median, user-facing merges 49.8 before and 51.1 after. 90th percentile, all merges 421 minutes, 7.0 hours, before and 192, 3.2 hours, after. 90th percentile, user-facing merges 482, 8.0 hours, before and 179, 3.0 hours, after.

Measured, every merge counted with no sampling: 1,520 before, 116 after. User-facing means a merge that changes the app or its packages.

The median did not move: 40.1 to 41.6 minutes for all merges and 49.8 to 51.1 for user-facing ones. The 90th percentile fell, from 8.0 to 3.0 hours for user-facing merges. Part of that is a better tail and part is that 2.25 days contain fewer bad days than 30.

Why no change in the median? Until the evening of the 18th, nothing we had changed touched the serial lane where our API and the other services build their images. The web app and the blog had left it that morning. The 67 merges before 20:11 UTC had a median of 49 minutes. Then 25 merges landed in an hour and three quarters, and they waited 9 to 67 minutes, median 44.

After the build-on-merge change and once the queue had drained, 15 merges between 22:12 UTC on the 18th and the morning of the 20th, outside the incident below, went live in 9 to 18 minutes, median 10.5. That is the result we were working toward. It is 15 merges at night and at low load, 12 of them docs, CI or infrastructure. We don't know yet what a burst of 25 does now.

Production sat more than three hours behind main, the point where our alert fires, in 16 periods in the before window and in 2 in the after window: 3.9 hours on the morning of the 18th and the 18.5 hours in section 7.

5. Cache hit rate

Bar chart, measured on a sample of job logs: cache hit rate, before and after. Docker build steps 70.5 percent before, interval 67 to 74, and 77.6 after, interval 70 to 85. Turborepo tasks 73.0 before, interval 68 to 78, and 78.0 after, interval 74 to 82. pnpm packages 99.5 before and 100 after.

Measured, read from the logs of a sample of jobs. The whiskers are 90% intervals; where they overlap, the difference is within noise.

Docker build steps served from cache went from 70.5% to 77.6%, Turborepo tasks from 73.0% to 78.0%, and packages found in the runner's pnpm store from 99.5% to 100%. The pnpm number is saturated: there is nothing left to improve.

The Docker intervals overlap heavily, 67 to 74 before and 70 to 85 after on only 44 builds, so we call it unchanged within noise. The Turborepo intervals just touch. We changed the build cache mounts at 07:03 UTC on the 18th, which should help, and this sample can't show it yet. The settled window reads 75.5% (65 to 85, 14 builds) and 74.7% (70 to 79).

Two numbers we couldn't measure. The only pull-through registry cache we run serves production, not CI, and it keeps no history. The server side of the Turborepo cache keeps logs that are incomplete for past days. The job logs above are the only source we trust.

6. Maintenance labour

Table 1. Counts are measured from git and GitHub. The hours line is an estimate.

Before, 30 daysAfter, 2.25 days
Merged PRs that changed runner or CI infrastructure38 (1.3 a day)16 (7.1 a day)
Opened by an agent account1516
Opened under a human login230
Titled fix or revert207
Lines changed19,28411,045
Human reviews or comments on them3 comments, 0 reviewsnone
Founder hours visible in GitHub, estimate0.10.0

Agents sometimes open PRs under the founder's own login, so the 23 "human" PRs before include agent work. If every one had been written by hand, the ceiling is between 6 and 46 hours, 17 at the middle assumption. That is an upper bound, not a likely value.

What the table says: the work did not shrink. We changed the runner setup more than five times as often per day in the after window, because we were fixing it, and 7 of the 16 changes were fixes. What it doesn't say is how much of a person's time that took. Reading an incident, choosing which fix to ask for and answering a comment are in no timestamp. We didn't keep a time log, and that is the first thing to fix before the next measurement.

7. Failure recovery

Table 2. Measured. Main-branch CI is the push-triggered CI workflow on main.

Before, 30 daysAfter, 2.25 days
Main-branch CI red, episodes25 (0.83 a day)3 (1.33 a day)
Main-branch CI red, total time24.7 h (0.82 h a day)2.1 h (0.94 h a day)
Episode length, median and 90th percentile33 min and 2.2 h29 min and 72 min
Periods more than 3 h behind main162
Longest45 h18.5 h

Main-branch CI was red no less per day, on 3 episodes. The runner-side alerts that fill the first post are quieter: "a runner pod stuck pending" fired 31 times in the 4 days of alert history we hold for the before window, and not at all in the after window. The alert on the new release pool's pickup fired 9 times. The alert history only starts on 12 November, so these are not the same length of time.

The 16-hour block. At 01:13 UTC on 19 November a merge went in that carried a change which, once deployed to our dev environment, made the signed-in home page return an error. The next merges changed only docs and infrastructure, and those skip the end-to-end tests, so nothing caught it for almost five hours. The run that started at 05:58 was the first to include them. It failed at 09:28, and promotion to production stopped.

That is the gate doing its job: the broken build never reached production. It also held eight merges back for between 0.4 and 18.5 hours.

Our first diagnosis was wrong. An agent decided the tests were flaky and raised their timeouts. That was merged at 09:47 and did nothing. The real cause, according to the fix's own write-up, was a change that made one component depend on a provider that only some pages supplied. It was fixed at 21:37, and the run that started at 00:07 UTC on the 20th passed. Production caught up by 00:28.

Recovery from that took 16.3 hours, against 19 to 77 minutes for the same deploy alerts in the 4 days of before history. The alert fires 2.2 hours after a failure begins, by design. The lesson from the first diagnosis is ours, not the runners': a failing gate should be treated as a possible real bug before it is treated as a flaky test.

8. The billed-minutes equivalent

Bar chart, estimate: what the same CI would cost on hosted runners per 30 days, before and after. GitHub exact seconds $1,456 before, interval 1,350 to 1,564, and $1,255 after, interval 1,131 to 1,409. GitHub as billed $1,990 before and $1,825 after. Blacksmith $970 before and $837 after.

Estimate: measured job minutes multiplied by the list prices of the first post, after each provider's allowance. The after window is scaled from 2.25 days to 30.

Same method as the first post. At exact seconds the same CI would cost $1,255 a month on GitHub's hosted runners in the after window and $1,456 in the before window, $1,825 and $1,990 as GitHub bills it, $837 and $970 on Blacksmith.23 The intervals overlap, 1,131 to 1,409 and 1,350 to 1,564, so we don't call it a change. Runner hours were 115 a day against 134.

Two cautions. The first post's $1,252 and $1,732 were the low ends of its intervals. This post's estimator is slightly different, and its point estimates for the same 30 days are $1,456 and $1,990, which is why this chart starts higher. The after figure of $1,255 matches the first post's $1,252 by coincidence. And the after window is a Wednesday to Friday morning where the load fell: it doesn't show that CI got cheaper to run. What we pay in new bills is still $0.

9. What we take from it

  • Queue time: better for Node jobs at the same load. Worse for builds and tests until 20:20 UTC on the 18th, and not yet proven under a busy day.
  • Cache hit rate: up a little, inside the noise for Docker builds.
  • Maintenance labour: more changes, no human action visible in GitHub, and no record of our own hours.
  • Failure recovery: not better. The costliest failure was application code, caught by the gate, and our first guess about it was wrong.
  • Merge to production: the median is unchanged. A quiet hour now takes about 10 minutes. A burst took about 45.

We'll measure again on a normal busy week, 23 to 27 November, with the same script and the same rules, and add the numbers to this post.

10. Measure your own queue time

Queue time is the variable most worth knowing and the one a billing page can't show. This snippet counts how long jobs waited for a runner, in a window. It makes one API call per run, so keep the window under 1,000 runs or split it. On our repository an hour of CI took about 45 seconds to count.

# Seconds from a job being created to a runner starting it. Needs gh (logged in) and jq.
# One API call per run: keep the window under 1,000 runs, or split it.
REPO=your-org/your-repo
FROM=2026-11-19T21:00:00Z
TO=2026-11-19T22:00:00Z

gh api --paginate "repos/$REPO/actions/runs?created=$FROM..$TO&per_page=100" \
  --jq '.workflow_runs[] | select(.conclusion != "skipped") | .id' |
while read -r run; do
  gh api --paginate "repos/$REPO/actions/runs/$run/jobs?filter=latest&per_page=100" \
    --jq '.jobs[] | select(.started_at and .runner_name != null and .runner_name != "")
          | ((.started_at | fromdate) - (.created_at | fromdate))'
done |
sort -n |
awk '{ v[NR] = $1 }
     END { if (!NR) exit
           printf "%d jobs, p50 %d s, p90 %d s, p99 %d s, max %d s\n", NR,
             v[int((NR - 1) * 0.50) + 1], v[int((NR - 1) * 0.90) + 1],
             v[int((NR - 1) * 0.99) + 1], v[NR] }'

Run it for a quiet hour and a busy hour. The gap between them is your answer.

Measurement notes

  • Windows. Before: 17 October 23:00 to 16 November 23:00 UTC. After: 18 November 00:00 to 20 November 06:00 UTC. Settled: 18 November 22:00 to 20 November 06:00 UTC.
  • Runs. Every run in each window was listed. Jobs were read for a random sample per workflow: 6% in the before window (at least 40 runs a workflow) and 15% in the after window. Skipped runs start no job and are not sampled.
  • Queue time. started_at minus created_at of each job's first attempt, for jobs a runner took, weighted by the inverse sampling fraction. Jobs still queued when a window ended are left out.
  • Merge to production. From the PR's squash commit time on main to the finish of the first successful production deploy that includes it. Every merge, no sampling.
  • Cache. Counted from the logs of 291 and 44 sampled image builds, 134 and 137 Turborepo runs and 228 and 231 installs. 90% intervals from 1,000 bootstrap resamples.
  • Labour. A bot account is an account whose type is Bot. Hours are an estimate from reviews and comments only, at 5, 10 or 20 minutes a review and 1, 3 or 6 a comment; the ceiling adds 15, 45 or 120 minutes for every PR under a human login.
  • Recovery. Main-branch red episodes come from GitHub run data. Alert history comes from our monitoring, which holds it from 12 November, so the before window has 4 days of it.
  • Money. Same method and list prices as the first post, checked on 16 and 17 November and not rechecked.
  • Not measured. How fast a hosted runner would run our jobs, a person's time, and whether any person noticed an alert before it fired.

Notes and sources

Footnotes

  1. Mouve, Our CI would cost $1,252 a month on GitHub's runners. Here is what it costs us, section 5, 18 November 2026. ↩

  2. GitHub Docs, Actions runner pricing: Linux x64 at $0.006 a minute for 2 cores and $0.012 for 4, and the rule that each job rounds up to a whole minute. Checked 16 November 2026. ↩

  3. Blacksmith, pricing: x64 at $0.004 a minute for 2 vCPU and $0.008 for 4, with 3,000 free 2-vCPU minutes a month. Checked 16 and 17 November 2026. ↩

Mouve team

The Mouve team builds Mouve, a fitness and nutrition app that puts food logging, workouts and a social feed in one place. Posts under this byline are written by the team and are not health advice. More from Mouve team

For your AI agent

The same page as plain Markdown

Same facts, same sources, same checked dates, no layout. Give this link to ChatGPT, Claude, Gemini or your own agent when you ask it to compare apps.

Keep reading

Mouve is free to start

Track food and training, find places to move, and keep what you learn. Free on iPhone, Android and the web.

Get the app