A self-hosted GitHub Actions runner built to run for weeks on a machine someone is
also using.
Not a Kubernetes operator, not an autoscaler, not a fleet. One ordinary Windows PC
with 16 GB of RAM and WSL2, taking production builds since June 2026: one runner at
first, containerised runner slots since September, two of them from the end of September
and three since late October. Through clock drift, power loss, Windows Update reboots,
memory exhaustion down to 445 MB available, and a Docker daemon that occasionally stops
answering.
The code is maybe half of it. The other half is the comments: most files carry the
failure that produced them, what was measured, and what was tried and did not work.
That is deliberate. docs/memory-pressure.md is the
single most useful page here even if you never run any of this.
If you are an AI agent operating this box, skip to
For agents. It has the invariants, the paths, the
safe/destructive command split, and the failure-mode discriminators in one place.
Problems this solves
If you landed here from an error message, these are the ones joggo has a measured cause
and a working fix for. Each link goes to the write-up, whether or not you use joggo.
| You see | What it actually was |
|---|
i/o timeout on 127.0.0.11:53, ENOTFOUND, Could not resolve host, green on re-run | One lost DNS packet waiting out glibc's 5 s retry. docs/dns-packet-loss.md |
The token expired on …, then The runner registration has been deleted from the server | WSL2's clock froze while the PC slept, so every OAuth token looked expired. docs/wsl2-clock-drift.md |
Jobs queued forever, runner active, log silent, 0% CPU | A listener hung inside its token refresh. docs/recovery.md §3 |
The job was not acquired by Runner of type self-hosted even after multiple attempts | GitHub's acquisition timeout racing the runner's restart between jobs. docs/memory-pressure.md §8 |
The self-hosted runner lost communication with the server after a Windows Update | The reboot killed the job; joggo re-runs it. docs/operations.md |
Catastrophic failure / Wsl/Service/E_UNEXPECTED, or wsl.exe hangs, and the runner "looks dead" | WSL's control channel wedged (after 3 of 3 reboots here) while the runner kept working; joggo's guard now detects it and restarts WSL itself. docs/wsl2-wedge.md |
| The PC runs out of memory and builds die, with no obvious culprit | Usually not the runner: a terminal emulator grew to 6 GB here. docs/memory-pressure.md |
Why bother: the Actions bill
GitHub-hosted minutes are metered. Private repositories get a monthly allowance and
then bill per minute, and the rate is multiplied by the runner: Linux is the cheapest,
Windows costs several times more per minute, macOS more again. Check your own numbers at
Settings → Billing → Plans and usage — that page tells you what you are actually
spending, and whether any of this is worth your evening.
Minutes on a runner you own are not metered at all. You pay electricity and the
hardware you already bought. For a handful of repositories that rebuild a Docker image
on every push to main, that is usually where the bill is, and moving it to a desktop
that is idle most of the day removes it.
What this does not save, so the sums are honest:
- Package storage and data transfer are billed separately and are unaffected — you
are still pushing images to GHCR.
- Jobs that must stay hosted keep costing what they cost. Anything needing
windows-latest or macos-latest cannot move here; this is linux/amd64 only.
- A monitor that watches your production service should not run on the box it shares
resources with — it will go red because the runner was busy, which is
indistinguishable from the service being down. Leave that hosted.
And what it costs you instead:
- The machine must stay on. An asleep runner is a CI outage for every repository
pointed at it.
- It is slower per job, not faster. Each job here pays 83–108 s of container rebuild
at the handoff — measured, see Known limits. You are buying
money back, not wall-clock.
- You now own a security boundary. A self-hosted runner executes whatever the
allowed repositories tell it to, on your hardware, inside your network. Read
SECURITY.md before the first install, not after.
What you get