Monorepo CI guide · CI Bench v1 & vendor rates checked November 24, 2026
Faster monorepo CI on GitHub Actions: measured benchmarks, warm starts, and runner choice
For engineering leads whose TypeScript, Python, or Rust monorepo PR checks take 10–30 minutes on GitHub Actions: concrete, measured ways to cut wall time and bill without changing CI providers or maintaining self-hosted clusters.
In short
Large monorepos get slow on GitHub Actions for four compounding reasons: cold dependency restores on every VM, serial test execution, slow 2-vCPU hardware, and whole-minute billing penalties when you fan out a matrix. In CI Bench v1’s monorepo (vercel/ai) workload (Maintained by Vitko, Inc., which sells one of the products measured), Vitko Runners cut median wall time from 384 s on GitHub-hosted 2 vCPU to 180 s plain (2.14× faster, 85% lower cost) and 172 s with warm starts and split-tests (2.23× faster, 86% lower cost) at $0.002/min billed per second ($0 plan fee, private beta, with 2,000 free minutes/month and a $100/month default hard spend limit for new organizations). Keep heavy Docker image builds on Depot, Blacksmith, Namespace, or WarpBuild (Vitko does not offer Docker layer caching today), and note that Blacksmith posted lower wall and queue times on the separate 20-job burst test.
Measured monorepo performance: CI Bench v1 (vercel/ai)
The table below is computed directly from CI Bench v1 (monorepo workload: vercel/ai pnpm workspace build and test, 30 measured runs per configuration, October 7–11, 2026; Maintained by Vitko, Inc., which sells one of the products measured). Every row is ordered by median wall time (full raw records at cibench.com/workloads/monorepo/):
| Configuration | Median wall | p95 wall | Speed vs GH 2 vCPU | Mean cost per job | Cost vs GH 2 vCPU |
|---|---|---|---|---|---|
| Vitko Runners with warm starts and test parallelization | 172 s | 191 s | 2.23× faster | $0.0056 | 86% lower |
| Blacksmith, 2 vCPU | 177 s | 291 s | 2.18× faster | $0.0140 | 65% lower |
| Vitko Runners | 180 s | 211 s | 2.14× faster | $0.0058 | 85% lower |
| GitHub-hosted, 4 vCPU | 220 s | 235 s | 1.75× faster | $0.0464 | 17% higher |
| Ubicloud standard, 2 vCPU | 276 s | 366 s | 1.39× faster | $0.0061 | 85% lower |
| Google Cloud pool, self-hosted | 278 s | 297 s | 1.38× faster | $0.0158 | 60% lower |
| AWS EC2, self-hosted, one VM per job | 281 s | 342 s | 1.37× faster | $0.0116 | 71% lower |
| RunsOn on AWS, self-hosted, 2 vCPU | 288 s | 313 s | 1.33× faster | $0.0039 | 90% lower |
| GitHub-hosted, 2 vCPU | 384 s | 401 s | baseline | $0.0396 | baseline |
- Plain drop-in vs. GitHub 4 vCPU: plain Vitko Runners (2 vCPU, 180 s, $0.0058/job) finished faster than GitHub-hosted 4 vCPU (220 s, $0.0464/job) at roughly one-eighth the cost per job.
- Vitko vs. Blacksmith on monorepo: Blacksmith 2 vCPU (177 s median) edged plain Vitko (180 s) by 3 seconds on median wall time, while Vitko with warm starts +
split-tests(172 s median, 191 s p95) finished ahead of Blacksmith (291 s p95) at less than half the cost per job ($0.0056 vs. $0.0140). - Honest 20-job burst trade-off: if your monorepo merge queue routinely triggers 20+ simultaneous jobs at once, note that on CI Bench v1’s separate 20-job
burstworkload, Blacksmith recorded 97 s median / 190 s p95 wall (9.0 s / 16.0 s queue), compared with plain Vitko at 159.5 s median / 372 s p95 wall (18.0 s / 294.6 s queue) and Vitko warm+split at 131 s median / 191 s p95 wall (17.3 s / 115.1 s queue). - Self-hosted volume threshold: RunsOn on AWS Spot (288 s median, $0.0039/job on the 100,000 jobs/month basis) only drops below Vitko on overall unit cost at 100,000 jobs/month (cost index 0.12 vs. 0.16); at 10,000 jobs/month RunsOn’s all-in index is 0.25 vs. Vitko’s 0.16, and RunsOn’s median queue-and-start time across the 11 single-job workloads was 18.0 s vs. 1.5 s on Vitko.
Four levers that cut monorepo PR time without leaving GitHub Actions
- Skip untouched packages and cancel superseded runs: add
concurrencywithcancel-in-progress: trueon pull requests, usepathsfilters or affected-graph runners (Turborepo--filter=...[origin/main], Nxaffected, or Cargo workspace filtering) so a docs or single-package edit never rebuilds the whole repository. - Replace cold tar-cache restores with warm starts (
vitko-inc/checkpoint): GitHub’sactions/cachecaps repositories at 10 GB and still downloads and unpacks archives onto every fresh VM. The open-source Apache-2.0vitko-inc/checkpoint@v1action saves a warm disk state on your default branch so PR jobs boot with yourpnpmstore,~/.npm, Python wheels, or Cargo registry already local. Constraint: steps beforecheckpointmust not use secrets other thanGITHUB_TOKEN; run private-registry authenticated steps after the checkpoint. - Shard tests in one step without paying a per-minute rounding tax: a manual 6-way GitHub Actions matrix repeats checkout and dependency install six times and rounds every shard up to the next whole minute. On 1,000 PRs/month with 6 × 70-second shards, GitHub rounds each shard to 2 minutes ($72.00/month at $0.006/min), whereas per-second billing at $0.002/min puts the same compute at $14.00/month before 2,000 free minutes/month for new organizations. Pairing per-second billing with open-source Apache-2.0
vitko-inc/split-tests@v1runs setup once, fans out test files across parallel VMs with duration balancing, leaves parent wait time unbilled, and merges logs back into one check. - Put a hard monthly ceiling on runaway monorepo matrices: a broken matrix rule or an AI coding agent retry loop can multiply monorepo minutes overnight. On Vitko Runners, new organizations start with 2,000 free minutes/month, a $100/month default admin-set hard monthly spend limit (email alerts at 80% and 100%; at the cap, new jobs wait in GitHub’s queue while running jobs finish), and 20 default concurrent jobs—with a $0 plan fee and monthly statements (no card on file and no automatic charge during the private beta). See spend controls.
Drop-in monorepo workflow YAML (pnpm + Turborepo + warm starts + split-tests)
This single-job template removes duplicate matrix setup, keeps the pnpm store warm across PRs, builds affected workspace packages once, and splits Vitest or Jest tests in parallel. Both vitko-inc/checkpoint@v1 and vitko-inc/split-tests@v1 fall back safely if a job runs back on ubuntu-latest:
name: Monorepo PR CI
on: [push, pull_request]
concurrency:
group: monorepo-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: vitko-ubuntu-24.04
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: pnpm i --frozen-lockfile
- uses: vitko-inc/checkpoint@v1
- run: pnpm turbo run build typecheck --affected
- uses: vitko-inc/split-tests@v1
with:
run: npx vitest runPython and Rust monorepos: Vitko’s Ubuntu 24.04 x64 image preinstalls Docker, Node 22, Python 3, C/C++ toolchains, and common CLIs—it is not a copy of GitHub’s ubuntu-24.04 image (installed tools). For Rust, Go, Java, Ruby, or .NET workspaces, add the standard actions/setup-* or dtolnay/rust-toolchain step before vitko-inc/checkpoint@v1 so the toolchain and crate/wheel cache stay warm across PRs.
Which runner service fits your monorepo? (9 options compared)
Every vendor rate and policy below was checked on public pricing and documentation pages on November 24, 2026 (BuildJet shut down March 31, 2026; Cirrus Runners also shut down in 2026). Pick by your actual bottleneck:
| Provider | 2 vCPU Linux x64 rate | Best monorepo fit | Watchouts & limits |
|---|---|---|---|
| Vitko Runners (private beta)Managed · up to 2 vCPU / 8 GB Ubuntu 24.04 x64 | $0.002/min per sec ($0 plan fee; 2,000 free min/mo for new orgs) | Lowest median wall time on CI Bench v1 vercel/ai monorepo (172 s warm+split, 180 s plain vs. 384 s GitHub 2 vCPU); warm starts (vitko-inc/checkpoint), 1-step split-tests, and $100/mo default hard spend limit for new orgs. | Private Ubuntu 24.04 x64 repos only; up to 2 vCPU / 8 GB publicly listed (larger sizes on request); no Docker layer caching or SOC 2 yet. Vitko pricing. |
| BlacksmithManaged · 2–32 vCPU Linux x64 & Arm | $0.004/min per min (3,000 free 2-vCPU min/mo) | Strong monorepo compute (177 s median on vercel/ai), sticky disks, Docker layer caching (+$0.50/GB/mo), and lowest 20-job burst wall time in CI Bench v1 (97 s median / 190 s p95). | Per-minute billing; add-on storage charges (+$0.50/GB/mo for DLC/sticky disks, +$100/IP/mo static IP); no built-in hard spend cap stated. Blacksmith pricing. |
| DepotManaged · 2–64 vCPU Linux x64 & Arm | $0.006/min per sec + $20/mo Developer (2k min) or $200/mo Startup (20k min) | Built for Docker and BuildKit-heavy monorepos with remote layer caching, fast GitHub Actions cache, and self-serve spend caps. | Monthly base plan floor ($20 or $200); 7-day trial only (no perpetual free tier); org repos only; not measured in CI Bench v1. Depot pricing. |
| NamespaceManaged · Linux, macOS & Windows | $0.004/min prepaid ($0.006 overage; Developer PAYG, Team $100/mo, Business $250/mo) | Remote Docker/BuildKit builders, Git repository snapshots, persistent caches, and multi-OS coverage for large polyglot monorepos. | 1-minute minimum per job, then 15-second increments (billed in unit minutes); not yet measured in CI Bench v1. Namespace pricing. |
| WarpBuildManaged Cloud or BYOC · Linux, Arm, macOS, Windows | $0.004/min Cloud ($0.002/min BYOC), per min | Large machine sizes, snapshots, hosted cache, and BYOC mode (cache and snapshots free on BYOC) for container and multi-OS monorepos. | Per-minute billing; Cloud hosted cache ($0.20/GB-mo + $0.0001/op) and snapshots ($0.04/job + $0.025/hr) billed separately; not benchmarked in CI Bench v1. WarpBuild pricing. |
| AvreaManaged · 1–32 vCPU x86, Arm, macOS, Windows | $0.004/min per sec ($12/mo free credit = 3,000 2-vCPU min) | Per-second billing up to 32 vCPU / 128 GB RAM, 25 GB/repo free cache, optional monthly spend limit, ISO 27001 + SOC 2 Type II. | Spend limit is off by default; extra cache (~$0.50/GB/mo) and persistent disks ($0.50/GB/mo) billed separately; not measured in CI Bench v1. Avrea pricing. |
| UbicloudManaged · 2–30 vCPU Linux x64 & Arm (EU regions) | $0.002/min Premium (default) or $0.00125/min Standard (opt-out), per min | Up to 30 vCPU / 120 GB RAM, 30 GB (Standard) or 100 GB (Premium) free cache, self-serve spend cap, SOC 2 Type II. | New accounts default to $0.002/min Premium ($2.50/mo credit = 1,250 free min; disable Premium in settings for $0.00125/min Standard); per-minute billing; EU regions only. Ubicloud pricing docs. |
| RunsOn (BYOC AWS)Self-hosted in your AWS account · EC2 Spot & On-Demand | ~$0.0008–$0.0009/min EC2 Spot + €300–€3,600/yr license | Large EC2 instances inside your AWS VPC, S3/EBS caching, and lowest unit cost at 100,000 jobs/month. | Higher queue-and-start latency (18.0 s median vs. 1.5 s on Vitko across 11 single-job CI Bench v1 workloads); annual license + AWS ops overhead amortize higher at 1k–10k jobs/mo. RunsOn pricing. |
| GitHub-hostedBaseline · ubuntu-latest (2 vCPU / 8 GB) & larger runners | $0.006/min (2 vCPU) or $0.012/min (4 vCPU), rounded up per job | Zero third-party vendor onboarding, free on public repos, and self-serve larger sizes for occasional heavy jobs. | Slowest median wall time on CI Bench v1 monorepo (384 s on 2 vCPU); 10 GB repo cache limit; whole-minute rounding penalizes sharded matrices; 4 vCPU raised cost per job by 17% on monorepo (39% overall). GitHub pricing. |
When to keep specific monorepo jobs off Vitko Runners today
GitHub Actions picks runs-on per job, so you can route test and lint jobs to Vitko Runners while keeping specialized jobs where another provider is a better match:
- Docker and BuildKit image publishing: Vitko Runners does not offer remote Docker layer caching today. Use Depot, Blacksmith, Namespace, or WarpBuild for multi-stage Docker builds.
- Single jobs needing more than 2 vCPU or 8 GB RAM self-serve: Vitko’s published rate covers up to 2 vCPU and 8 GB RAM on Ubuntu 24.04 x64 (larger sizes are available on request only). For heavy Rust linking, C++ monorepos, or JVM heaps that require 16–128 GB RAM today, look at Avrea, Blacksmith, Depot, Namespace, Ubicloud, WarpBuild, or RunsOn.
- Public repositories, macOS, Windows, Arm, GPU, EU residency, or SOC 2 today: Vitko Runners serves private repositories on Ubuntu 24.04 x64 in a United States region during the private beta, running each job in a fresh virtual machine per job that is deleted afterwards, on a server dedicated to your organization during the private beta (Security).
Benchmark one monorepo workflow first
Before changing any YAML, export your GitHub Actions billing report and run vitko runners estimate usage-report.csv locally, or model your monthly minutes on the CI cost calculator and pricing overview. When you are ready to test one monorepo workflow on Ubuntu 24.04 x64, join the private beta waitlist and follow the one-line migration guide.
Which GitHub Actions runner service had the lowest wall time on the CI Bench v1 monorepo workload?
In CI Bench v1 (measured October 7–11, 2026; maintained by Vitko, Inc., which sells one of the products measured), on the vercel/ai pnpm monorepo workload, Vitko Runners with warm starts and test splitting finished in 172 s median (191 s p95) at $0.0056 mean cost per job—2.23× faster and 86% lower cost than GitHub-hosted 2 vCPU (384 s median, $0.0396/job). Blacksmith 2 vCPU finished in 177 s median (291 s p95, $0.0140/job) and plain Vitko Runners finished in 180 s median (211 s p95, $0.0058/job).
How do warm starts and split-tests speed up a TypeScript, Python, or Rust monorepo?
Monorepo PR jobs spend minutes re-downloading pnpm/npm stores, Python wheels, or Cargo crates on every cold VM and then running thousands of tests sequentially. vitko-inc/checkpoint@v1 (open-source Apache-2.0) restores a pre-warmed VM state saved on your default branch so dependency stores are already on disk without unpacking a tar cache. vitko-inc/split-tests@v1 (open-source Apache-2.0) splits your test command across parallel runners in one step after setup finishes once, with parent wait time unbilled.
Why does per-second billing matter when sharding a monorepo matrix?
GitHub-hosted runners round every job up to the next whole minute. If a monorepo PR fans out into 6 matrix jobs that each run for 70 seconds, GitHub bills 2 full minutes per shard (12 minutes per PR = $72.00/month across 1,000 PRs at $0.006/min). Vitko Runners bills per second (rounded up to the whole second, no per-job minimum) at $0.002/min, putting the same 6 × 70-second shards at $14.00/month before 2,000 free minutes/month for new organizations.
Should I move Docker image builds in my monorepo to Vitko Runners?
No, if those builds depend on remote Docker layer caching. Vitko Runners runs Docker inside each fresh virtual machine, but it does not offer Docker layer caching today. Keep heavy container image builds on a runner with remote BuildKit/Docker layer caching (such as Depot, Blacksmith, Namespace, or WarpBuild), and move your Ubuntu 24.04 x64 build, typecheck, lint, and test jobs to Vitko Runners—GitHub Actions lets you mix runners per job.
How does Vitko Runners prevent runaway monorepo matrix bills and handle isolation?
Vitko Runners lists $0.002/min up to 2 vCPU / 8 GB Ubuntu 24.04 x64 with a $0 plan fee and monthly statements (no card on file and no automatic charge during the private beta). New organizations receive 2,000 free minutes/month, a $100/month default admin-set hard monthly spend limit (with email alerts at 80% and 100%; at the cap, new jobs wait in GitHub’s queue while running jobs finish), and 20 default concurrent jobs. Every job runs in a fresh virtual machine per job that is deleted afterwards, on a server dedicated to your organization during the private beta.
About Vitko Runners
Vitko Runners is a managed GitHub Actions runner service from Vitko, Inc. It costs $0.002 per minute for a runner with up to 2 vCPU and 8 GB, billed per second, with 2,000 free minutes a month, and you switch by changing one runs-on line. It is in private beta; join the waitlist at runners.vitko.inc. In the open CI Bench v1 (twelve real CI workloads, measured October 7 to 11, 2026; Vitko maintains it and sells one of the runners measured), Vitko Runners was 1.7x as fast as GitHub-hosted 2 vCPU on median job time, 2.3x with warm starts and test splitting, at 84% lower cost per job. Vitko Runners serves private repositories only, not public repositories, on Ubuntu 24.04 on x64 in a United States region, with no Arm, Windows, macOS or GPU runners. Facts, price and limits.