Repository navigation
Releases
v0.12.4
Autoscale wakes for runs GitHub reports as pending
A run parked before any job is assigned reports pending, not queued, and a workflow-level concurrency group is the ordinary way to get there. Autoscale counted only queued, so a repository whose workflows share a group presented a queue that read as empty: the pool never woke and every job waited for a manual runpool up. Nothing reported it, because no run was counted and the stuck-queue guard had nothing to hold.
Both statuses are now counted. Nothing to do on upgrade beyond installing it; if a pool has been waking only by hand, this is why.
v0.12.3
Two inert defects, fixed before something copies them
RUNPOOL_SETTLE_SECS was defined outside the configuration precedence
block, so a value in the config file beat one in the environment. The
health check did not consult the reconfiguration lock, so a check
landing while registrations were being rewritten could report a
deliberate operation as an outage.
Neither has ever fired. No action needed on upgrade.
v0.12.2
Let reregister repair a moved runner install
reregister is the recovery from a rename that failed on 0.12.0, and that
failure leaves runner directories moved with their bin and externals
links pointing where they used to be. The recovery command hit the same
wall as the thing it was recovering from.
A no-op on a healthy runner.
v0.12.1
Fix rename on a real runner installation
GitHub's runner updater points bin and externals at its versioned
directories with absolute symlinks, so moving a runner directory left
both dangling and config.sh could not start. rename failed on the first
runner every time.
If a rename failed on 0.12.0: the pool is already renamed locally, the
first runner is unconfigured, and later runners are still registered
under the old name. Upgrade, delete the old registrations from GitHub's
runner settings, then run runpool reregister .
v0.12.0
Custom runner labels, and a rename command
register and the pools file now take --labels, appended to the base set
every runner already carries. Until now the only way to add one was to
edit a pool's config by hand, after which nothing could see it and any
recreate dropped it silently. runpool pools shows them.
runpool rename moves a pool and re-registers its runners
under the new name.
Two things to know on upgrading. The pool name is one of its runners'
labels, so renaming a pool breaks any workflow using
runs-on: [self-hosted, ]. And absent --labels in the pools file now
means no extra labels: if you added one to a config by hand, declare it
in the file before your next apply, or apply will take it away. runpool
pools will show you what a pool currently carries.
v0.11.0
Stop waking a pool for a run that will never start
A GitHub run can sit queued for ever with no jobs attached. Autoscale
counted it, so the pool woke every twenty minutes, found nothing, and
stood down again, for as long as the run existed. Nothing reported it,
because a pool that wakes and stands down looks healthy.
Such runs are now subtracted from the queued count rather than
suppressing the pool, so every other queued run still wakes it. doctor
names the run and how to cancel it, status counts them, and the notifier
reports each one once. Tune with RUNPOOL_STUCK_WAKES, or set it to 0 to
disable the guard.
No action needed on upgrade.
v0.10.4
Health checks no longer alert on a pool that has just started
The check asked GitHub whether runners were online a second or two before
they connect, so every alert it ever sent was a healthy pool starting up.
Pools now settle for 120s before reachability is judged, tunable with
RUNPOOL_SETTLE_SECS.
v0.10.3
A launchd agent no longer breaks on upgrade
schedule install recorded the fully resolved path of the runpool that ran it, which under Homebrew is a version-pinned Cellar directory the next upgrade deletes. launchd kept reporting the agent as loaded, so the machine autoscaled nothing and ran no health checks while doctor called the scheduler healthy.
Agents now record the invoked path. Run runpool schedule install once after upgrading; doctor will tell you if you have not.
v0.10.2
stats --queue now finishes
It made one API call per unique run, serially, unbounded, with nothing on screen. On a machine with real history that was 1821 calls, indistinguishable from a hang. The join now covers the last 7 days by default, widened with --days N or removed with --all, and runs 8 calls at a time. 740 runs join in about a minute.
v0.10.1
doctor answers whether a drain would work
After 0.10.0 the only way to find out was to attempt one on a busy pool with real jobs at stake. doctor now reports runners that started before graceful shutdown was available and names the fix. Such a pool runs and takes work normally; only draining is affected.
It reads the loaded agent's environment rather than the plist on disk, which is the distinction that mattered at the 0.10.0 upgrade.