Skip to content

MIMOLETTE runner follow-up: isolate watchdog drills and verify replacement readiness #314

Backlog

Description

@twistedmelonman

Two independent MIMOLETTE gaps surfaced during the runner rollout review. Track them here with the owning rollout and supervisor work. Neither remaining gap below has been demonstrated by a new live run.

1. Isolate the macOS watchdog restart and routing drills

The Part 2 operator plan treats F (lost-run retry) and G (hosted fallback and local recovery) as separate proofs for #252. But the open, intentionally never-merged dotfiles drill PR starts both jobs on every reopen. During G, route-probe can pass on hosted while the fixed-label restart-drill waits for mimolette-macos. When the pool returns, that leftover job can claim the only local slot and sleep for 25 minutes, delaying the recovery proof. A second G reopen also queues another restart job. GitHub runner routing and queueing.

  • Update the draft workflow and the operator steps with an explicit mode selector (e.g., mutually exclusive PR labels read on reopen). F should start only restart-drill and collect the intended attempt-two evidence before G. Both G reopens should start only route-probe, recording the job-level runner name first on hosted and then on MIMOLETTE. The workflow-wide conclusion is not a substitute.
  • Before G recovery, confirm there is no stale restart job from this drill that can take the slot. If testing the old draft, preserve the hosted proof first and clear only the stale drill work, never unrelated CI. Do not merge the drill branch.
  • If the draft still fails actionlint on the custom mimolette-macos label, handle that as a lint configuration issue; it is not evidence that the live label is absent.

2. Gate NOS idle rotation on actual runner readiness

#303 originally deferred a second stop only to the next supervisor pass. #306 fixed the observed case where both VMs were stopped together, by requiring every peer slot to have a VM name and a runner ID with no drop marker. The remaining gap is narrower: current slot_up and start_slot record the JIT runner ID after the container start succeeds, before establishing that GitHub reports that exact runner online. A replacement can therefore satisfy the local guard while still connecting, and the sole ready peer can be rotated out in the next pass. This is a code-level risk, distinct from the live no-VM overlap that #306 already addressed.

  • For multi-slot idle rotation, keep the last confirmed-online peer until GitHub confirms the replacement runner ID is online. Offline, absent, or unknown readiness should defer rotation; keep the existing busy-runner protection and one-slot behavior.
  • Add a supervisor regression test across successive passes: slot 1 has a new ID and VM but is offline (also test an unavailable/invalid status response); idle slot 2 is not deregistered or stopped. When that exact replacement reports online, normal rotation resumes. Preserve fix(nos-runner): never restart a slot while another slot is down #306's missing-VM/drop-marker coverage.

Related: #252 (macOS rollout), #297 (NOS idle recovery), #303 and #306 (original rotation and overlap fix).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions