internal/

directory
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: Apache-2.0

Directories

Path Synopsis
Package admission holds the host-wide resource ledger (memory, shared CPU and whole physical-core pinning), cost-rule matching and the anti-starvation and fairness helpers the scheduler uses.
Package admission holds the host-wide resource ledger (memory, shared CPU and whole physical-core pinning), cost-rule matching and the anti-starvation and fairness helpers the scheduler uses.
Package assets embeds files installed by `runner-warden setup`.
Package assets embeds files installed by `runner-warden setup`.
Package autocache keeps Linux jobs' tool cache and package-manager caches on the machine: one directory per scope (a repo, or an owner), mounted into the runner at the same path, with the tools' cache variables pointing into it.
Package autocache keeps Linux jobs' tool cache and package-manager caches on the machine: one directory per scope (a repo, or an owner), mounted into the runner at the same path, with the tools' cache variables pointing into it.
backend
docker
Package docker is the Linux core.Backend: one ephemeral runner per container on the host Docker daemon, with a per-runner Docker API proxy so the jobs the runner starts are labelled, capped by the instance slice and cleaned up.
Package docker is the Linux core.Backend: one ephemeral runner per container on the host Docker daemon, with a per-runner Docker API proxy so the jobs the runner starts are labelled, capped by the instance slice and cleaned up.
hostpool
Package hostpool combines this machine's backend for one OS with remote hosts.
Package hostpool combines this machine's backend for one OS with remote hosts.
linuxhost
Package linuxhost runs Linux runners on separate machines.
Package linuxhost runs Linux runners on separate machines.
tartvm
Package tartvm runs macOS runners in a persistent tart VM on a separate Mac, driven over SSH with `tart exec`.
Package tartvm runs macOS runners in a persistent tart VM on a separate Mac, driven over SSH with `tart exec`.
winvm
Package winvm runs Windows runners in persistent dockurr/windows VM containers: one container per [[windows.vm]], one ephemeral JIT runner per job, started in the guest over SSH as a one-shot Scheduled Task.
Package winvm runs Windows runners in persistent dockurr/windows VM containers: one container per [[windows.vm]], one ephemeral JIT runner per job, started in the guest over SSH as a one-shot Scheduled Task.
Package config loads and validates an instance's config.toml.
Package config loads and validates an instance's config.toml.
Package core holds the types and interfaces shared by every runner-warden package.
Package core holds the types and interfaces shared by every runner-warden package.
Package daemon wires the scale-set listeners, the scheduler, the backends and the control/hook servers into the long-running service.
Package daemon wires the scale-set listeners, the scheduler, the backends and the control/hook servers into the long-running service.
Package dockerproxy is the per-runner Docker API proxy.
Package dockerproxy is the per-runner Docker API proxy.
Package gh talks to GitHub: scale-set API, listener, and REST helpers.
Package gh talks to GitHub: scale-set API, listener, and REST helpers.
Package hookapi is the daemon's local HTTP-over-unix-socket protocol.
Package hookapi is the daemon's local HTTP-over-unix-socket protocol.
Package hostsetup links remote machines to an instance: it edits the config file in place (keeping comments) and checks and prepares the machine over SSH.
Package hostsetup links remote machines to an instance: it edits the config file in place (keeping comments) and checks and prepares the machine over SSH.
Package imagegc is the only path that prunes Docker images and build cache.
Package imagegc is the only path that prunes Docker images and build cache.
Package migrate moves a host from legacy self-hosted runners to runner-warden: scanning, rewriting `runs-on` labels, applying the rewrite (print, PR or push), and retiring legacy local runners.
Package migrate moves a host from legacy self-hosted runners to runner-warden: scanning, rewriting `runs-on` labels, applying the rewrite (print, PR or push), and retiring legacy local runners.
Package naming is the only place that derives names from the prefix.
Package naming is the only place that derives names from the prefix.
platform
linux
Package linux holds Linux host setup: the systemd job slice and read-only checks of the Docker daemon configuration.
Package linux holds Linux host setup: the systemd job slice and read-only checks of the Docker daemon configuration.
Package pulllock is the cross-process gate between image pulls (held shared by every runner's Docker proxy, which lives in its own process) and image GC (held exclusively around a prune pass).
Package pulllock is the cross-process gate between image pulls (held shared by every runner's Docker proxy, which lives in its own process) and image GC (held exclusively around a prune pass).
Package repoconf reads a repo's .github/runner-warden.yml, which lets a project pick the runner image its jobs run in:
Package repoconf reads a repo's .github/runner-warden.yml, which lets a project pick the runner image its jobs run in:
Package scheduler implements the lane state machine: each (target, OS) has several lane scale sets, every lane exposes at most one unstarted job (capacity = started + 1), and a host-wide admission ledger decides when a runner may be started for that job.
Package scheduler implements the lane state machine: each (target, OS) has several lane scale sets, every lane exposes at most one unstarted job (capacity = started + 1), and a host-wide admission ledger decides when a runner may be started for that job.
Package store is the instance's SQLite state: ownership metadata, runner records, job history and the setup/migration journal.
Package store is the instance's SQLite state: ownership metadata, runner records, job history and the setup/migration journal.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL