Repository navigation
Conversation
- AGY_VERSION pin on its own Docker layer, between the npm agent layer and cctrace - install_agy fetches the release tarball from google-antigravity/antigravity-cli into a read-only versioned dir behind ~/.local/bin/agy: the self-updater has no off switch and skips a directory it cannot write - an empty AGY_VERSION builds without it; a binary reporting another version than the pin fails the build - wired through versions-pin, versions-up (manifest, build args, pin write), the nightly resolver, the CI, release and nightly build args, Dockerfile.rust and the Makefile - image only: there is no deva.sh agy yet Closes #574 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 12b359a0a3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| LABEL org.opencontainers.image.pi_coding_agent_version=${PI_CODING_AGENT_VERSION} | ||
| LABEL org.opencontainers.image.dsh_version=${DSH_VERSION} | ||
| LABEL org.opencontainers.image.cursor_cli_version=${CURSOR_CLI_VERSION} | ||
| LABEL org.opencontainers.image.agy_version=${AGY_VERSION} |
There was a problem hiding this comment.
Install agy in core-based Rust images
When Dockerfile.rust is built from the core image—as make build-rust-image and scripts/version-upgrade.sh do—this label advertises agy even though the Dockerfile later runs only the agents and cctrace installer stages, and the agents stage explicitly excludes install_agy. Consequently locally built Rust images, and the Cloak images derived from them, do not contain agy; add an agy installer-stage invocation rather than only propagating its argument and label.
Useful? React with 👍 / 👎.
agy (Google's Antigravity CLI) is not in the image, so no launcher can run it. This ships it, pinned, and wires the pin through the same tooling as every other agent CLI. Closes #574.
Image and pin tooling only. There is no
deva.sh agyin this PR: agy's home is~/.gemini, which the gemini agent also owns, and that needs a decision first.How it is pinned
agy is not on npm. Each release of
google-antigravity/antigravity-clihas one tarball per platform holding a single binary,antigravity, which the official installer saves asagy. Tags are the version, nov.install_agyfetches the pinned tarball directly, the way cursor's is, on its own Docker layer between the npm layer and cctrace (it releases almost daily and is 90 MB).Why the install is read-only
Measured on 1.5.13, arm64:
one prompt, then at t+40s the binary was 1.5.15, the old one left beside it as
agy.<n>.oldno off switch. The
noUpdate/autoupdate/updateChannelstrings in the binary are a network stack, a syntax-highlighter regex and a telemetry fieldthe updater does check that the binary's real directory is writable. With the binary in
~/.local/share/agy/<version>/(dir and filea-w) behind a symlink at~/.local/bin/agy, it logsand 75s into a persistent container the version and the link were unchanged
The symlink path matters: agy writes
~/.local/bin/agyinto a shim inside its home, so containers sharing that home must agree on it.Behaviour
AGY_VERSION=(empty) builds without agy, same contract asCURSOR_CLI_VERSIONmake versions-upshows it in the build manifest;make versions-pinbumps it from the repo's tagsTests
scripts/test-install-agent-tooling.sh: pinned install, re-run into the same home, version mismatch fails, empty pin skipstests/version-upgrade.sh: manifest, build args, written pins, pin-file round trip, registry-outage scenariotests/test_release_utils.sh: agy in the agent group and the main image (76/76)scripts/test-workspace-context.sh, which fails onmaintoodeva:rust+ this installer):agy --version= 1.5.13, version dir and binary555; empty pin skips and the build stays greenNot run locally: a full
make buildof all four images. CI builds the image with the new build arg.Note for whoever adds the next CLI
This touched 17 files for one tool.
scripts/version-upgrade.shalone names every tool in eleven places, and it already shows the cost: Gemini is resolved, built and pinned there but is missing from the manifest table. Worth collapsing into one list; not done here.🤖 Generated with Claude Code