Artifact 73186f54fd20006e48ab993ad018f82c1dd5ce5682c34e40d8a39dc17fde4f95:
- File
docs/ci.md
— part of check-in
[8b2ef45a57]
at
2026-11-18 23:44:26
on branch ci
— Use the forge runner installer instead of hand-written scripts
quarry-runner install now sets up the Mac runner in one command, collects its own token, and uninstalls cleanly, so the hand-written LaunchAgent scripts go and docs/ci.md describes the installer. (user: dmestas, size: 1584) [annotate] [blame] [check-ins using] [more...]
# CI `ci/test.yml` runs on every push and landing: `make test-pic` (sanitizer and release builds, every suite), then a 30-second fuzz pass per target when the runner has an LLVM clang. Fil-C runs separately on hetzner-hel (`tools/remote/run.sh … pic`). Results show on each check-in's page at zeitforge; trunk's required check, `test`, makes landings wait for a pass. ## The runner One zeitforge runner on the Mac mini (macOS arm64), reached as `mac-mini` over SSH. It runs as `dmestas` under the LaunchAgent `app.zeitforge.quarry-runner.pi-c`. macOS runners cannot isolate jobs per user, so a job can read that account's files and the runner takes no job that uses secrets; the user chose this over a dedicated account (2026-11-18). **Set up** (on the mini, as `dmestas`): 1. Download `https://zeitforge.app/runner/quarry-runner-darwin-arm64`, check it against `https://zeitforge.app/runner/SHA256SUMS`, make it executable (installed as `~/.local/bin/quarry-runner`). 2. `quarry-runner install https://zeitforge.app/r/dmestas/pi-c`. It prints a code and waits; the repository owner approves the matching runner request at zeitforge. The installer collects its own worker token into `~/Library/Application Support/quarry-runner/pi-c/` (0600, never shown), loads the LaunchAgent and runs `doctor`. **Check:** `quarry-runner doctor pi-c` (connected, which repository, token accepted); the log is `~/Library/Application Support/quarry-runner/pi-c/runner.log`. **Tear down:** `quarry-runner uninstall pi-c` unloads the agent, deletes its files and retires the token at the forge.