Repository navigation
fix(server): Antigravity CLI auto-update is actually disabled - #42545
Conversation
agy only honors AGY_CLI_DISABLE_AUTO_UPDATE for the exact lowercase value "true"; T3 Code passed "1", so the CLI kept contacting its self-updater.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
EvidenceOn Linux x64 with agy 1.5.16, started each commit's real server with a fresh database, configured Antigravity through RPC, and started a thread. Read each live ACP process's environment, then alternated three 12-second interactive agy PTY runs per side using fresh HOME directories and a logging HTTPS proxy. Base contacted the updater in 3/3 runs and wrote successful updater status files; head contacted it in 0/3 runs and wrote no updater status files. Both sides reached Google telemetry.
Captures render the recorded CLI observations; videos preserve each side's trial timing. The model turns received quota 429, so interactive commands were launched with the live ACP environments rather than by the agent. Observation log · Structured observations · Timestamped events Reproduction driver · Provider configuration driver · Server setup recipe · Capture renderer Not shown:
|
Keep pingdotgg#42191 plugin skill display names and retain the skill scanning, YAML, model refresh, and update settings from pingdotgg#42095, pingdotgg#42539, pingdotgg#42475, and pingdotgg#42545. verification: focused Antigravity tests 99/99 across 4 files, vp run check:changed upstream/main passed 7/7 stages with 101/101 tests across 5 files
…tgg#42545) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 4da8d19)


Problem
T3 Code launches
agywithAGY_CLI_DISABLE_AUTO_UPDATE=1, butagyonly disables its self-updater for the exact valuetrue, the only value Google documents ("Resolve self-updater locks and failures"). With1, interactiveagystill contacts its updater on startup.Change
Set the variable to
"true"inantigravityEnvironment, which builds the environment for everyagylaunch. The environment test pins the value, with a comment, so it isn't normalized back to"1".agy acp, the mode T3 Code runs, made no updater connection with either value. The value still has to be right becauseagy's environment reaches the shells it starts, where a user may runagyinteractively, and because a futureagy acpmay honor it.Scope
A one-line fix for an obvious bug, so there is no issue. Follow-up to #39363, which added
AGY_CLI_DISABLE_AUTO_UPDATE=1and says Windows and root users rely on this variable because the read-only release directory does not stop writes there.Verification
I ran a copy of
agy1.5.15 (darwin-arm64) with the environmentbuildAntigravityAcpSpawnInputbuilds, using a throwaway profile and a local proxy that logs connections:1(main)true(this PR)agy acpafterinitialize, 20 sEarlier interactive runs found that
TRUE,True,yes,onandtdon't disable the updater either; onlytruedoes.vp run check:changedpasses, and the focused test passes on currentmain. Full CI on the same commit (b221622) is green in our fork's PR (run).Model and harness: Claude Opus 5.5 (
claude-opus-5-5) via the Claude Agent SDK in PwrAgent desktop.