Skip to content

antigravity: follow the ax-task-runner to ax-runner rename - #29

Closed
mayawang wants to merge 1 commit into
mainfrom
docs/ax-runner-rename
Closed

mayawang wants to merge 1 commit into
mainfrom
docs/ax-runner-rename

Conversation

@mayawang

Copy link
Copy Markdown
Collaborator

google/ax#677 renamed the runner binary and image to ax-runner, so AX now runs /usr/local/bin/ax-runner and mounts /opt/ax/ax-runner.

  • agents/antigravity/verify_image.sh: fails if the image contains either ax-runner or ax-task-runner, so a baked-in runner is caught under the new name as well as the old one.
  • agents/antigravity/README.md: says ax-runner.

Checked the new test locally against three layouts: no runner (passes), /opt/ax/ax-runner (caught), /usr/local/bin/ax-task-runner (caught).

google/ax#677 renamed the runner binary and image to ax-runner, so AX now
runs /usr/local/bin/ax-runner and mounts /opt/ax/ax-runner.

- verify_image.sh: fail if the image contains either name, so a baked-in
  ax-runner is caught as well as the old ax-task-runner.
- README: say ax-runner.
@mayawang
mayawang requested a review from Lukeluds November 21, 2026 00:08
@mayawang

Copy link
Copy Markdown
Collaborator Author

Holding this until v0.4.0-rc.2 publishes ax-runner, tracked in google/ax#679

@Lukeluds Lukeluds 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!

@mayawang

Copy link
Copy Markdown
Collaborator Author

Superseded by #37 after the #34 directory rename.

@mayawang mayawang closed this Nov 25, 2026
mayawang added a commit 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.

3 participants