oliver-zehentleitner / maity

runner on macOS: a launchd service, and the open macOS checks verified (help wanted)

Sign in to report

tsk-endh8vycestd Open feature

Why: maity-runner runs on macOS today, but only in a terminal: maity-runner install sets up a systemd service and refuses on macOS, and there is no launchd service yet (docs/runners.md, "macOS"). Several macOS points in that section are marked "not tried yet". We would welcome help from people who run Macs.

What (split into PRs as you see fit):

  1. A launchd service: maity-runner install on macOS writes and loads a LaunchAgent or LaunchDaemon (your call, with the reason in Keep the Why). It keeps the Mac awake while agents run, the way caffeinate -i does now, and maity-runner uninstall removes it again. maity-runner unit prints the plist instead of a systemd unit.
  2. Verify the open points in docs/runners.md "macOS" on a real Mac, and write down what you saw:
  • whether a Seatbelt-sandboxed command can read the login keychain;
  • whether the deny rules match another spelling (case) of a denied path;
  • whether BSD/macOS realpath resolves a path whose last part does not exist yet.

Fix what fails, or document it.

  1. CI: a macOS job for the runner's tests, if it can run without secrets.

Done when: a Mac user can follow docs/runners.md to a runner that survives a logout or reboot, the "not tried yet" lines above are answered, and the runner's tests pass on macOS.

Boundary: the runner (cli/runner/), its docs and CI. The sandbox stays at least as strict as today. No credentials in the card, the PR or the logs.