Repository navigation
feat(install): pass the runner volume image through ax local start and ax install - #634
Merged
Merged
Conversation
…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.
Collaborator
Author
I see. updated the comment a bit. |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.