Skip to content

feat(install): pass the runner volume image through ax local start and ax install - #634

Merged
YoyinZyc merged 2 commits into
google:mainfrom
YoyinZyc:feat/installer-runner-volume
Nov 17, 2026
Merged

YoyinZyc merged 2 commits into
google:mainfrom
YoyinZyc:feat/installer-runner-volume

Conversation

@YoyinZyc

Copy link
Copy Markdown
Collaborator

ax-server takes AX_RUNNER_VOLUME_IMAGE (#620), and deploy.RenderServer renders it, but the installer never set it, so an installed ax-server always ran the runner baked into each task image.

Add --runner-volume-image (env: AX_RUNNER_VOLUME_IMAGE) to ax local start and ax install. Like the default task image it is optional and is pinned by digest before it is rendered.

It is left unset until we have the official default.

…d ax install

ax-server takes AX_RUNNER_VOLUME_IMAGE (google#620), and deploy.RenderServer
renders it, but the installer never set it, so an installed ax-server
always ran the runner baked into each task image.

Add --runner-volume-image (env: AX_RUNNER_VOLUME_IMAGE) to ax local start
and ax install. Like the default task image it is optional and is pinned
by digest before it is rendered. Left unset, the deployment is unchanged.

@mayawang mayawang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Non-blocking: once a default is set, remember the flag also changes the command for every task, so images that bake their own runner (today's Claude Code image) need the launcher first, see #620.

@YoyinZyc

Copy link
Copy Markdown
Collaborator Author

LGTM. Non-blocking: once a default is set, remember the flag also changes the command for every task, so images that bake their own runner (today's Claude Code image) need the launcher first, see #620.

I see. updated the comment a bit.

@YoyinZyc
YoyinZyc merged commit d178138 into google:main Nov 17, 2026
12 checks passed
MushuEE added a commit that referenced this pull request Nov 18, 2026
- render-manifests.sh rewrites images.env through a temp file instead of
  sed -i, which differs between GNU and BSD (macOS) sed.
- create-release.sh unsets AX_RUNNER_VOLUME_IMAGE before sourcing
  images.env and reads it without a default, so an images.env that
  render-manifests.sh has not updated fails instead of taking an
  exported value.
- Dry runs render with the runner volume off and on and check the
  recorded value and the manifest for each, so both paths stay covered
  whichever way AX_RELEASE_RUNNER_VOLUME is set.
- docs/releasing.md: ax install can opt in with --runner-volume-image
  (#634) but does not enable it by default; fix the repeated clause in
  the package visibility note.
MushuEE added a commit that referenced this pull request Nov 18, 2026
…lt (#626)

* release: publish ax-runner-volume, with a switch to mount it by default

Releases also build and publish ghcr.io/google/ax/ax-runner-volume
(Dockerfile.runner-volume, #619) for linux/amd64 and linux/arm64, with
the same per-platform binary check as the other images, and list its
digest in the release notes.

The rendered ax-server.yaml sets AX_RUNNER_VOLUME_IMAGE to that digest
only when the repository variable AX_RELEASE_RUNNER_VOLUME is true;
otherwise it stays empty and tasks run the runner baked into their
image, as today.

Part of #625.

* release: address review of #626

- Release notes read the AX_RUNNER_VOLUME_IMAGE that render-manifests.sh
  rendered (recorded in images.env) instead of parsing the YAML.
- When the runner volume is off, the notes call it experimental and
  point to #625 rather than inviting users to opt in.
- Dry runs also render with the runner volume on and check the pinned
  value, so the switch's on path runs in CI.
- Fix comments and docs that still said the manifest always leaves it
  empty or pins only two images; note that ax install does not set it.

* release: address review nits on #626

- render-manifests.sh rewrites images.env through a temp file instead of
  sed -i, which differs between GNU and BSD (macOS) sed.
- create-release.sh unsets AX_RUNNER_VOLUME_IMAGE before sourcing
  images.env and reads it without a default, so an images.env that
  render-manifests.sh has not updated fails instead of taking an
  exported value.
- Dry runs render with the runner volume off and on and check the
  recorded value and the manifest for each, so both paths stay covered
  whichever way AX_RELEASE_RUNNER_VOLUME is set.
- docs/releasing.md: ax install can opt in with --runner-volume-image
  (#634) but does not enable it by default; fix the repeated clause in
  the package visibility note.
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.

2 participants