Skip to content

runner: rename the default launcher from ax-harness to ax-launcher - #734

Merged
yongruilin merged 1 commit into
google:mainfrom
yongruilin:ax-renmae-harness
Nov 23, 2026
Merged

yongruilin merged 1 commit into
google:mainfrom
yongruilin:ax-renmae-harness

Conversation

@yongruilin

Copy link
Copy Markdown
Collaborator

The runner now starts an image's launcher at /usr/local/bin/ax-launcher instead of /usr/local/bin/ax-harness. Fixes #711.

  • DefaultLauncherPath is /usr/local/bin/ax-launcher; the two comments that name the path follow.
  • An image with only /usr/local/bin/ax-harness still runs: the runner starts that file and warns that the path is deprecated.

I keep the fallback for AGY image pinned in hack/hero-demo has only ax-harness. It can go once the images ship ax-launcher(left the TODO).

The runner still starts a launcher at the deprecated path
/usr/local/bin/ax-harness when ax-launcher is missing, with a warning.
@yongruilin
yongruilin requested a review from rakyll November 23, 2026 20:45
@yongruilin
yongruilin merged commit 0a329c8 into google:main Nov 23, 2026
11 checks passed
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.
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.

Rename the default image launcher from ax-harness to ax-launcher

2 participants