Skip to content

fix(runner): pass JIT config through runner environment - #2

Merged
syscod3 merged 1 commit into
mainfrom
fix/runner-jitconfig-wrapper
Sep 9, 2026
Merged

syscod3 merged 1 commit into
mainfrom
fix/runner-jitconfig-wrapper

Conversation

@syscod3

@syscod3 syscod3 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

The runner now starts successfully with GitHub's current JIT contract: the one-time config reaches run.sh through ACTIONS_RUNNER_INPUT_JITCONFIG instead of being passed to the unsupported config.sh --jitconfig CLI. The wrapper removes IMP_GITHUB_JITCONFIG before run.sh, keeps the payload out of argv/logs, and the focused smoke assertion covers the handoff and secret-safety guarantees.

Verification

  • shellcheck -x build-runner-layer.sh build.sh smoke.sh runner-layer/runner
  • RUNNER_VERSION=2.337.0 RUNNER_ARCH=x64 ./build-runner-layer.sh
  • Built amd64 runner and base images locally
  • BASE_IMAGE=imp-runner-base-test:jit-fix RUNNER_IMAGE=imp-runner-layer-test:jit-fix ./smoke.sh
  • Extracted /usr/local/bin/runner from the built runner image and verified it matches runner-layer/runner byte-for-byte

The publish workflow will build and publish immutable SHA-tagged images on the release/tag path; this PR does not deploy or publish an image.

@syscod3
syscod3 merged commit 0008a84 into main Sep 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant