Description
What happened
On 2026-11-20 at 14:51 PST the watchdog set NOS_RUNNER to ubuntu-latest. The cause was slot 1 on MIMOLETTE.
- VM
mimolette-1-1795032447(runner 547) started on 2026-11-18 at 12:07 PST. - Its log says
Listening for Jobsand nothing after that. It got no job in about 51 hours. - Slot 2 ran dozens of jobs over the same time. Most of them were Dependabot runs in kebab-tax.
- The supervisor logged nothing for slot 1, so it treated the slot as healthy.
- Andrew stopped the VM by hand at 15:22 PST. The supervisor deleted runner 547 and started a new VM in that slot.
We still don't know why runner 547 stopped getting jobs. The VM log shows no error. One guess is that GitHub dropped the runner's session and the runner never noticed, but nothing confirms that.
The gap
The supervisor has no limit on how long a VM can wait without a job. The watchdog is the only safety net, and it reacts only after jobs have been queued for more than 20 minutes. By then CI has already moved to ubuntu-latest.
Proposed fix
Have the supervisor restart a slot when its VM has waited longer than a set time without taking a job, for example NOS_IDLE_MAX_S. A restart deletes the runner and starts a fresh VM with a new JIT config.
Things to decide:
- How the supervisor tells "idle" from "running a job". It could ask the GitHub API whether the runner is busy, or read the VM log.
- The limit. It should be long enough that a quiet night does not restart slots for nothing, and short enough to catch a hang well within a day.
- Log each restart, and send an ntfy alert after repeated restarts.
Tests go in scripts/nos-runner/tests/, with container and gh stubbed.
Activity
docs(plan): design and part 1 plan for the fleet runner rollout (#301)
docs(plan): GitHub refuses to DELETE a busy runner (422) (#302)
fix(nos-runner): restart a slot whose runner waits too long for a job (…
smartwatermelon-agent commentedon Nov 23, 2026
Live on MIMOLETTE since the updater deployed #303 at 15:40 PST on 2026-11-23. Both slots had waited about 7 hours, and each was restarted, one per pass:
container ls(through the agentro gate) shows both new VMs running.Not checked yet: whether GitHub lists runners 733 and 734 online. The agent App gets 403 on the org runners endpoint, and no NOS job has run since 2026-11-21. This issue stays open until a job runs on a restarted runner.
fix(nos-runner): never restart a slot while another slot is down (#306)
smartwatermelon-agent commentedon Nov 24, 2026
The first live restart (15:40) briefly had both slots down: slot 2 was restarted while slot 1's replacement was not up yet. #306 fixed that, so a slot now restarts only while every other slot has a VM and a registered runner. The updater deployed it at 16:40, and the next idle hour shows it working:
One slot had a VM at all times. Still open: whether GitHub reports the new runners online (the App gets 403 on the runners endpoint). The first NOS job on a restarted runner will show it.
fix(swm-macos-runner): end a runner that waits too long for a job (#311)