Skip to content

dev

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Oct 02:06
ad5fc49

Development build 0.6.0-dev.157+ad5fc49cafef from commit ad5fc49.

Added

  • Add explicit Ansible identity and secret roles, 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-check and -config-format. Validate space identities
    and Unix home ownership/permissions without starting processes or resolving
    secrets; Ansible displays safe identity errors without exposing configuration.
  • subcommand secret source, optional cache ttl for all secret sources,
    and externally signed GitHub App JWT authentication via jwt.
  • Drain the daemon with SIGUSR1 on Linux and macOS: stop acquisition, finish
    already accepted jobs, and then release queues and spaces. SIGTERM or
    SIGINT interrupts draining and requests cancellation.

Changed

  • Replace the Ansible install/remove roles with dimidiumlabs.hrc.service.
    Use hrc_state (present, absent, started or stopped)
    and hrc_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 through slog.
  • Run the Windows service as the dedicated virtual account NT SERVICE\hrc
    instead of LocalService.
  • Reread GitHub credentials on authentication renewal; require exactly one of
    app, pat or jwt.
  • 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 hrcs to hrcm.
  • 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 in internal/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-queue and
    hrcp-github-worker provider processes. The hrcd daemon coordinates
    acquisition and routes jobs to a separate hrcm monitor for each space.
    The worker replaces hrcw-github.
  • Prepare space directories in hrcm relative 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 through HRC_* variables.
  • Pass runner settings and resource paths directly to the worker, without the
    former runner configuration environment variables. Ignore .env files
    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