Repository navigation
Releases
dev
Development build 0.6.0-dev.157+ad5fc49cafef from commit ad5fc49.
Added
- Add explicit Ansible
identityandsecretroles, one account or secret
per call. Deletion retains home/profile data unless explicitly requested;
service removal retains independently managed identities and secrets. - Resolve
{secret: name}from secret role results and restart the service
for referenced changes. Explicit HRC sources remain unmanaged. - Add
hrcd -config-checkand-config-format. Validate space identities
and Unix home ownership/permissions without starting processes or resolving
secrets; Ansible displays safe identity errors without exposing configuration. subcommandsecret source, optional cachettlfor all secret sources,
and externally signed GitHub App JWT authentication viajwt.- Drain the daemon with
SIGUSR1on Linux and macOS: stop acquisition, finish
already accepted jobs, and then release queues and spaces.SIGTERMor
SIGINTinterrupts draining and requests cancellation.
Changed
- Replace the Ansible
install/removeroles withdimidiumlabs.hrc.service.
Usehrc_state(present,absent,startedorstopped)
andhrc_autostart; no compatibility roles or variable aliases remain. - Install hrc on Linux with other init systems without managing a service;
leave startup, shutdown and supervision to the operator. - Remove legacy installation migrations and obsolete-artifact cleanup from
the collection and Unix hooks; document only current-layout upgrades. - Replace WinSW with native Windows SCM integration in
hrcd.exe. Handle
stop and pre-shutdown requests with graceful cleanup; write rotating service
logs throughslog. - Run the Windows service as the dedicated virtual account
NT SERVICE\hrc
instead ofLocalService. - Reread GitHub credentials on authentication renewal; require exactly one of
app,patorjwt. - Re-license the GitHub provider, including its runner integration, tests, build
files and patches, under MIT. Shared core and tooling remain BSD-3-Clause. - Rename the space monitor executable from
hrcstohrcm. - Use inherited control descriptors instead of filesystem sockets for monitor,
queue and worker RPC. Pass read/write fd or handle values as two positional
arguments; keep standard input, output and error independent of the protocol. - Centralize shared local RPC limits and lifecycle, cleanup, retry and secret
command timeouts ininternal/config. - Reduce the per-message local gRPC limit from 64 MiB to 256 KiB in both
directions, including serialized protobuf overhead. - Isolate GitHub acquisition and execution in
hrcp-github-queueand
hrcp-github-workerprovider processes. Thehrcddaemon coordinates
acquisition and routes jobs to a separatehrcmmonitor for each space.
The worker replaceshrcw-github. - Prepare space directories in
hrcmrelative to its working directory.
Give each process slot separate home, cache, temporary and work directories;
start workers in the work directory and retain slot log directories on cleanup.
Clear stale slots and space temporary files at startup, reset slot temporary
files before each job, and expose storage paths throughHRC_*variables. - Pass runner settings and resource paths directly to the worker, without the
former runner configuration environment variables. Ignore.envfiles
rather than loading them into provider processes.
Fixed
- Confirm Windows process termination before reporting an access-denied error
from killing an already exiting child as a cleanup failure. - Retain jobs and their dependencies when finalization fails. Retry cleanup with
escalation scoped to the affected queue or space; uncollectable resources
trigger daemon shutdown and are reported rather than silently forgotten. - Count development versions across the full first-parent history so new release
tags cannot reset the counter and block publication. - Isolate queue operation deadlines and cancellation from the shared session,
so a timed-out Finish or Close does not lose unrelated job leases. - Report invalid provider configuration explicitly and stop the daemon with a
nonzero exit status after draining jobs, instead of retrying indefinitely. - Preserve buffered terminal outcomes after worker exit and handle parent
retirement racing the worker's final shutdown reply.
Full Changelog: release-0.5.0...dev
Public mirror: Build manifest
0.5.0
Added
- YAML configuration support alongside JSON.
- Versioned documentation site, including historical release documentation,
an installation and operation manual, and the package signing key fingerprint.
Changed
- Replace the previous
groupsconfiguration with namedspaces,slots
andforges. Spaces define resource budgets, slot pools define per-slot
quotas and workspace lifetime, and forges connect GitHub scale sets to pools.
Existing configurations must be migrated:idbecomesinstanceId,
reuseDirsis replaced by the inverseslots[].ephemeral, and directory
settings move todirectories.runtime,directories.spacesand
directories.logs. Groupnamebecomes forgeid, and groupquota
moves to its slot pool. Leave host capacity unassigned to replacereserve.
Slot pools default to reusable slots (ephemeral: false); set it explicitly
to true to retain the previous default of cleaning up after every job. - Allow multiple GitHub forges to share a slot pool's capacity and reusable
workspaces. Currently, each space supports at most one slot pool. - Rename the controller executable to
hrcdand the GitHub Worker to
hrcw-github. Run each host space in a separatehrcsscheduler process,
communicating with the controller over local gRPC. Update service definitions
and install all three executables together when upgrading. Release archives
and service names remainhrc. The Ansible install role removes the obsolete
hrcandhrc-workerbinaries. - Let the controller coordinate graceful shutdown under systemd with
KillMode=mixed, retaining whole-cgroup termination on shutdown timeout. - Move the repository to the
dimidiumlabsGitHub organization. - Update Bazel to 9.3.2 and refresh Go, Python and CI dependencies.
Fixed
- Resolve
hrcsandhrcw-githubbeside the real executable before falling
back to PATH, so services with a minimal PATH can find the matching installed
components, including when the controller is launched through a symlink. - Handle child processes that exit during Windows process-group cleanup without
reporting spurious cleanup failures. - Improve propagation of slot and space failures and handling of jobs that
cannot be started.
Full Changelog: release-0.4.0...release-0.5.0
Public mirror: Build manifest
0.4.0
Added
- Builtin Ansible collection with install and remove roles for Linux
(systemd/OpenRC), macOS and Windows. The collection is included in
SHASUMS256; binary sources can be mirrored or vendored. - Release metadata: a plain
VERSIONfile in binary archives, a machine-readable
manifest.jsonwith artifact hashes and sizes, and a detached GPG signature
forSHASUMS256. - Public release mirror at
https://pkg.dimidiumlabs.io/hrc, with immutable
versioned builds andstableanddevchannel manifests. GitHub Releases
carry the same artifacts.
Changed
- Tie each slot's workspace and process group to the same lifetime. With
reuseDirs, workspaces and build servers survive between jobs, but controller
shutdown now terminates remaining slot processes and removes all slot
directories, including idle reusable slots. WithoutreuseDirs, both are
cleaned up after each runner. - Replace bundled
controlandcontrol.ps1scripts with explicit installation,
upgrade and removal instructions indocs/installation.md, or the Ansible
roles. Existing installations must use the new procedure for upgrades. - Move documentation and the changelog to
docs/. - Change the Go module path from
gilti.dev/hrctodimidiumlabs.io/hrcand move
implementation packages frompkg/tointernal/; they are no longer
available for external import. - Use Bazel directly for builds, formatting, linting and license checks, without
mise or the Aspect CLI. Workspace stamping no longer requires system Python. - Update Go to 1.27.3,
actions/scalesetto 0.5.0 and other build and runtime
dependencies. Automate dependency and lock-file updates with Renovate.
Fixed
- Use the correct macOS launchd service ID,
io.dimidiumlabs.hrc. - Stabilize Windows process startup and cleanup tests.
Full Changelog: https://github.com/mrdimidium/hrc/compare/release-0.3.0...release-0.4.0
Public mirror: Build manifest
0.3.0
Changed
- Update the bundled GitHub Actions runner from 2.338.0 to 2.338.2 and Node.js
24 from 24.21.0 to 24.22.1. - Supports building without a bundled .NET runtime.
- Separate the shared Worker runtime from per-job state:
- Install
hrc-workerbesidehrcand share read-only resources across jobs
instead of copying the runtime into each slot. Refresh the runtime on every
upgrade, even at the same upstream version. - Pass Worker settings through
RUNNER_CONFIGinstead of writing a.runner
file. - Keep diagnostics under
dirLogs/jobs/<jobId>, one directory per job. Logs
survive temporary workspace removal and slot reuse; retention is managed
by the administrator. - Use each slot as the work root without a nested
_workdirectory. - Existing configs require
pathWorkeranddirRunnerupdates; old
installations and workspaces are retained for manual migration.
- Install
Full Changelog: https://github.com/mrdimidium/hrc/compare/release-0.2.0...release-0.3.0
0.2.1
Changed
- Update the bundled GitHub Actions runner from 2.338.0 to 2.338.2 and Node.js
24 from 24.21.0 to 24.22.1.
Full Changelog: https://github.com/mrdimidium/hrc/compare/release-0.2.0...release-0.2.1
0.2.0
Changed
- Build the .NET Worker and its dependencies directly with Bazel, including
the .NET runtime in the release archive, instead of using upstream runner
build scripts. - Download and package Node.js 20 and 24 through Bazel, including musl variants
on Linux. Ship only the Node.js executable and license from each distribution. - Move platform-specific Worker process management into a shared process
package, with tests for process startup and cleanup.
Added
- A changelog used to generate release notes.
- CI builds and tests for release branches.
Full Changelog: https://github.com/mrdimidium/hrc/compare/release-0.1.0...release-0.2.0
0.1.1
Fixes a cancelled job on Windows stopping hrc.
The runner cancels a step by sending Ctrl+C to every process on the step's
console, and the Worker shared that console with hrc. hrc took the Ctrl+C as a
request to stop and exited, and other running jobs on the host could be
interrupted as well. The Worker now runs in a console of its own.
Linux and macOS are not affected.
Full Changelog: https://github.com/mrdimidium/hrc/compare/release-0.1.0...release-0.1.1
0.1.0
Initial release of hrc, a controller for GitHub Actions runners on your own Linux,
macOS and Windows machines: one daemon per host with a declarative config.
- Runner scale sets. Each job gets a fresh just-in-time runner from a scale
set per configured group; label changes recreate the scale set. - Capacity from host resources. Each runner takes
quota(CPU and memory),
the host keepsreserve, and hrc runs as many runners as fit. - Warm directories. With
reuseDirs, runners stay ephemeral but reuse their
directories, so workspaces and build caches survive between jobs. - GitHub App or PAT, with secrets from a file, an environment variable or the
config. - Graceful shutdown: running jobs are cancelled and reported before hrc exits.
- Packaged as a service: systemd or OpenRC, launchd, WinSW 2.x.
Builds for amd64 and arm64 on Linux, macOS and Windows, bundling GitHub
Actions runner 2.338.0, with checksums in SHASUMS256.txt and build provenance
attestations.
Full Changelog: https://github.com/mrdimidium/hrc/commits/release-0.1.0