Repository navigation
runner: rename the default launcher from ax-harness to ax-launcher - #734
Merged
Merged
Conversation
The runner still starts a launcher at the deprecated path /usr/local/bin/ax-harness when ax-launcher is missing, with a warning.
rakyll
approved these changes
Nov 23, 2026
mayawang
added a commit
to agentexecutor/images
that referenced
this pull request
Nov 24, 2026
…cher symlink (#31) Follow up on review items from #30 (6648113): - api.go / main.go: fail fast with a clear error when a configured CA bundle (SSL_CERT_FILE or explicit AX_CA_BUNDLE) cannot be read or contains no valid PEM certificates, instead of silently falling back to system roots. - main.go: preserve an explicit spec.config.previousInteractionId on session follow-up turns instead of overwriting it with st.LastInteractionID. - main.go: cancel in-flight interactions and clear st.Pending / run finish() on terminal errors (requires_action, spec.config.timeout, maxContinuations, worker crash giving up), and delete newly created environments on worker start failure or initial create failure. Bound remote cancel/delete calls with a 15s timeout and clean up atomic write temp files on error. - worker.go: lower worker stop timeout from 10s to 5s so gemini-api exits ahead of ax-runner's 10s SIGTERM grace period before SIGKILL. Align createTimeout with api.go's 1m http.Client timeout. - Dockerfile: link /usr/local/bin/ax-launcher instead of deprecated ax-harness (follows google/ax#734). - README.md: document the current google/ax spec.sessionId defaulting behavior. - ci.yaml: add a go vet and go test -race job for antigravity/. Verification: - ./scripts/verify/boilerplate.sh (pass) - cd antigravity && go vet ./... (clean) - cd antigravity && go test -race -count=1 ./... (all 18 tests/subtests pass) - cd antigravity && go build ./ (binary builds cleanly) - gofmt -l antigravity/ (clean) - python3 yaml.safe_load check on .github/workflows/ci.yaml (valid) - Note: docker build ./antigravity was not run locally (no Docker socket)
mayawang
added a commit
to agentexecutor/images
that referenced
this pull request
Nov 25, 2026
Update agy-cli to match the google/ax runner, launcher, and data-plane output changes (supersedes draft #29 after #34): - agy-cli/Dockerfile: install the launcher at /usr/local/bin/ax-launcher (google/ax#734) and symlink /usr/local/bin/ax-harness -> ax-launcher for v0.4.0-rc.1 compatibility. - agy-cli/verify_image.sh: fail if either ax-runner (google/ax#677) or ax-task-runner is present, and require both /usr/local/bin/ax-launcher and /usr/local/bin/ax-harness. - agy-cli/ax-harness and .github/workflows/agy-cli.yaml: update comments, ax-launcher stderr prefixes, and workflow step title. - agy-cli/README.md: update ax-task-runner -> ax-runner, ax-harness -> ax-launcher (with compatibility symlink note), and status.outcome.output -> <workspace>/.ax/output (google/ax#756). Leaves agy/ untouched so #33 stays conflict-free. Verification: - ./scripts/verify/boilerplate.sh (pass) - bash -n agy-cli/ax-harness agy-cli/verify_image.sh agy-cli/test_harness.sh (pass) - ./agy-cli/test_harness.sh (ALL AX-HARNESS TESTS PASSED) - ./fakes/mock-gemini/selftest.sh (ALL MOCK GEMINI SELFTEST CHECKS PASSED) - python3 -c "import yaml; yaml.safe_load(open('.github/workflows/agy-cli.yaml'))" (pass) - Mocked docker verification of ./agy-cli/verify_image.sh (runtime/bundled pass; rejects ax-runner, ax-task-runner, missing ax-launcher, missing ax-harness) - (cd agy && go vet ./... && go test -race -count=1 ./...) (pass) - Note: local docker build skipped (no Docker socket in this environment); covered by the agy-cli and Release Images dry-run PR workflows.
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.
The runner now starts an image's launcher at
/usr/local/bin/ax-launcherinstead of/usr/local/bin/ax-harness. Fixes #711.DefaultLauncherPathis/usr/local/bin/ax-launcher; the two comments that name the path follow./usr/local/bin/ax-harnessstill runs: the runner starts that file and warns that the path is deprecated.I keep the fallback for AGY image pinned in
hack/hero-demohas onlyax-harness. It can go once the images shipax-launcher(left the TODO).