Problem
gh-aw's ARC/DinD auto-detection only triggers --docker-host-path-prefix when DOCKER_HOST matches ^(redacted) On ARC deployments where the runner mounts a sibling daemon pod's socket as (redacted) the regex never fires, bind mounts reference paths the daemon cannot see, and the run fails.
Context
Upstream report: github/gh-aw#33777
Root Cause
In src/option-parsers.ts, resolveDockerHostPathPrefix() checks for DOCKER_HOST matching ^(redacted) (broadened from localhost/127.0.0.1` on 2026-05-13). A unix socket from a sibling pod represents the same DinD split-filesystem condition but does not match the tcp pattern.
Proposed Solution
- In
src/option-parsers.ts resolveDockerHostPathPrefix(), extend detection to also fire when DOCKER_HOST is a (redacted) path that does not match the local machine's docker socket (i.e., it is a mount from a sibling pod, detectable if the socket path is non-standard like /var/run/dind.sockor ifDOCKER_HOST` is set at all and a known ARC env var is present).
- Alternatively, add an explicit
AWF_FORCE_DIND=1 env var to force-enable the prefix without regex.
- Update the regex to also match
(redacted) prefixed values when running in an ARC context (check for ACTIONS_RUNNER_POD_NAME` or similar env var).
- Add a unit test for the new detection path.
Generated by Firewall Issue Dispatcher · sonnet46 1.2M · ◷
Problem
gh-aw's ARC/DinD auto-detection only triggers
--docker-host-path-prefixwhenDOCKER_HOSTmatches^(redacted) On ARC deployments where the runner mounts a sibling daemon pod's socket as(redacted) the regex never fires, bind mounts reference paths the daemon cannot see, and the run fails.Context
Upstream report: github/gh-aw#33777
Root Cause
In
src/option-parsers.ts,resolveDockerHostPathPrefix()checks forDOCKER_HOSTmatching^(redacted) (broadened fromlocalhost/127.0.0.1` on 2026-05-13). A unix socket from a sibling pod represents the same DinD split-filesystem condition but does not match the tcp pattern.Proposed Solution
src/option-parsers.tsresolveDockerHostPathPrefix(), extend detection to also fire whenDOCKER_HOSTis a(redacted) path that does not match the local machine's docker socket (i.e., it is a mount from a sibling pod, detectable if the socket path is non-standard like/var/run/dind.sockor ifDOCKER_HOST` is set at all and a known ARC env var is present).AWF_FORCE_DIND=1env var to force-enable the prefix without regex.(redacted) prefixed values when running in an ARC context (check forACTIONS_RUNNER_POD_NAME` or similar env var).