Repository navigation
fix(server): Antigravity CLI auto-update is actually disabled - #1
Open
Harold Hunt (huntharo) wants to merge 1 commit into
Open
Harold Hunt (huntharo) wants to merge 1 commit into
Harold Hunt (huntharo) wants to merge 1 commit into
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.
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosNo All 64 scenario measurements
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
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.
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 pingdotgg#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.Model and harness: Claude Opus 5.5 (
claude-opus-5-5) via the Claude Agent SDK in PwrAgent desktop.