A Mac can run vole runner today, because the job still executes in a Linux container — inside a podman machine or Docker Desktop VM. Nothing in ci/agent or ci/container assumes Linux on the host, but nothing checks the macOS-specific failure modes either, and a Mac can never run a job that needs macOS itself (Xcode builds, codesigning, a .pkg).
Two separate problems:
The runner on a Mac, with a container VM
- Verify and bound the shared-path assumption: bind mounts only work under paths the VM shares (
$HOME,/Users,/private,/var/foldersfor podman machine;/Users,/Volumes,/private,/tmp,/var/foldersfor Docker Desktop). Check--dirand the job tree at startup and fail with a sentence, not a runtime error from the middle of a job. -
Probeshould say “start it withpodman machine start” when<runtime> infofails on darwin. - Confirm
--userns keep-id,--tmpfs,--pids-limit, and--security-opt no-new-privilegesbehave the same through the VM, and that the bind-mounted job tree is writable by the job’s--container-user. - Say in the docs that job I/O goes through virtiofs and is much slower than a Linux runner, and that
--diron an external volume is not shared. -
vole runnerunder a LaunchAgent, so it starts with the session and survives a logout.
Native macOS jobs (a design decision, not a bug)
- Decide whether Vole CI should execute steps on the runner host at all. That is what building macOS software requires, and it runs repository code directly on the Mac instead of in a container, so it is a change to the runner’s trust boundary and needs its own design: an explicit
runs-onlabel only a host job may ask for, no secrets by default, and a documented “this machine is not sandboxed” answer.
Acceptance criteria:
- A Mac runner completes a job from a real repository, and a
--diroutside the shared set fails at startup with an explanation. - The docs say what a Mac runner can and cannot run.
- The native-job question has an answer recorded here before anyone writes the code.