Skip to content

Runner must fail closed when container isolation is unavailable #101

Description

@naashw

Seen live on the first production runner install: the docker group was granted after the systemd user manager had started, the engine did not answer from the service, and the daemon silently degraded to 'container isolation OFF: tasks run on this machine with the policy hardened'. For an unattended runner this contradicts the no-uncaged-agent rule (#100).

Target: when isolation is configured (or defaulted) to container and the engine is unreachable, a headless runner (runner serve) must fail closed: never claim tickets, surface the condition in its local status over the heartbeat (e.g. 'cage_unavailable') and in runner list / the dashboard, and retry the engine probe each tick. The interactive workspace can keep the current degradation prompt-side, but never silently.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions