feat: self-hosted GHA runners on aoc-m3l + role-label workflow routing#64
Merged
Conversation
Adds setup/uninstall shell scripts to install N self-hosted GitHub Actions runners on a single Linux host and register them with the wavekat org. Defaults to 4 runners, each as its own systemd service so jobs run in parallel. Includes Ubuntu 24.04 install guidance for `gh` when no RUNNER_TOKEN is provided. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Switches all jobs from `ubuntu-latest` to `[self-hosted, AOC-M3L]` so CI/preview/release/star-tracker run on the new self-hosted runners on the aoc-m3l host. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Switches workflows from `[self-hosted, AOC-M3L]` to `[self-hosted, wavekat-ci]` and changes the setup script default to register runners with a `wavekat-ci` role label alongside the host label. New runner pools (e.g. AWS) can join the CI fleet by carrying the `wavekat-ci` label — no repo edits required. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
This was referenced May 18, 2026
wavekat-eason
added a commit
to wavekat/wavekat-lab
that referenced
this pull request
May 18, 2026
## Summary
- Routes static `runs-on: ubuntu-latest` jobs in this repo to the org's
self-hosted runner pool via `runs-on: [self-hosted, wavekat-ci]`.
- Matrix-driven jobs (`${{ matrix.os }}`, `${{ matrix.platform }}`) and
parameterized runners (`${{ inputs.runner }}`) are left untouched.
- Part of an org-wide rollout — see wavekat/wavekat.com#64 for the
runner setup scripts and rationale (role-label routing so future pools
like AWS join by adding `wavekat-ci` to their labels).
## Prerequisite
The 4 runners on `aoc-m3l` must carry the `wavekat-ci` label before this
can be merged. Add it via Org → Settings → Actions → Runners (or set it
on new runners by re-running `setup-gha-runners.sh` with the updated
default).
## Test plan
- [ ] Confirm `wavekat-ci` label is set on `AOC-M3L-1..4`
- [ ] Open this PR → CI lands on a self-hosted runner (job log shows
`Runner name: AOC-M3L-*`)
- [ ] All CI jobs pass — watch for missing system deps on the runner
host
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
wavekat-eason
pushed a commit
that referenced
this pull request
May 19, 2026
🤖 I have created a release *beep* *boop* --- ## [0.0.23](wavekat-com-v0.0.22...wavekat-com-v0.0.23) (2026-05-19) ### Features * **gha-runners:** dockerized self-hosted runner setup ([#65](#65)) ([120fd7e](120fd7e)) * self-hosted GHA runners on aoc-m3l + role-label workflow routing ([#64](#64)) ([d2d8415](d2d8415)) ### Bug Fixes * **gha-runners:** install gh CLI and Rust toolchain in docker image ([#66](#66)) ([9b167e7](9b167e7)) * **star-tracker:** de-inflate chart-view counts + per-repo breakdown ([#62](#62)) ([954f9d4](954f9d4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/setup-gha-runners.sh/uninstall-gha-runners.shto install N self-hosted GitHub Actions runners on a Linux host (defaults to 4 onaoc-m3l, each as its own systemd service). Includes Ubuntu 24.04ghinstall guidance.ci,preview,release,star-tracker) fromubuntu-latesttoruns-on: [self-hosted, wavekat-ci].wavekat-ci,<hostname>labels — using a role label instead of a host label means future runner pools (AWS, GPU box, …) can join the CI fleet by carryingwavekat-ci, with no repo-wide workflow edits.Why role labels?
Targeting
[self-hosted, AOC-M3L]pins workflows to one host. Targeting[self-hosted, wavekat-ci]pins to a role, so adding capacity later is a runner-registration change, not 4× workflow edits per repo.Follow-up before merging
The 4 live runners (
AOC-M3L-1..4) currently only have theAOC-M3Llabel. Before merging, add thewavekat-cilabel to each via Org → Settings → Actions → Runners (or viagh api -X POST /orgs/wavekat/actions/runners/<id>/labels -f 'labels[]=wavekat-ci'withadmin:orgscope). Otherwise jobs will queue with no matching runner.Test plan
wavekat-cilabel to the 4 existing runnersCIandPreview Deployjobs land onaoc-m3lrunners (check job logs forRunner name: AOC-M3L-*)npm ci+npm run cf:buildsucceed on self-hostedReleaseandStar Trackerworkflows fire onmain🤖 Generated with Claude Code