Skip to content

fix(server): Antigravity CLI auto-update is actually disabled - #42545

Merged
juliusmarminge merged 3 commits into
pingdotgg:mainfrom
huntharo:fix/agy-disable-auto-update-true
Nov 25, 2026
Merged

juliusmarminge merged 3 commits into
pingdotgg:mainfrom
huntharo:fix/agy-disable-auto-update-true

Conversation

@huntharo

Copy link
Copy Markdown
Contributor

Problem

T3 Code launches agy with AGY_CLI_DISABLE_AUTO_UPDATE=1, but agy only disables its self-updater for the exact value true, the only value Google documents ("Resolve self-updater locks and failures"). With 1, interactive agy still contacts its updater on startup.

Change

Set the variable to "true" in antigravityEnvironment, which builds the environment for every agy launch. 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 because agy's environment reaches the shells it starts, where a user may run agy interactively, and because a future agy acp may 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=1 and 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 agy 1.5.15 (darwin-arm64) with the environment buildAntigravityAcpSpawnInput builds, using a throwaway profile and a local proxy that logs connections:

Mode 1 (main) true (this PR)
Interactive, 8 s updater contacted, 3 of 3 runs not contacted, 2 of 2 runs
agy acp after initialize, 20 s no connections, 2 runs no connections, 2 runs

Earlier interactive runs found that TRUE, True, yes, on and t don't disable the updater either; only true does.

vp run check:changed passes, and the focused test passes on current main. 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.

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.
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Nov 25, 2026
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

antigravityEnvironment now sets AGY_CLI_DISABLE_AUTO_UPDATE to "true" instead of "1". The corresponding test expects "true".

Changes: Antigravity environment

Layer / File(s) Summary
Set and verify the update flag
apps/server/src/provider/antigravityAuthSupport.ts, apps/server/src/provider/antigravityAuthSupport.test.ts
The environment sets AGY_CLI_DISABLE_AUTO_UPDATE to "true". The test expects that value.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix

Possibly related PRs

Suggested labels: bugfix

Suggested reviewers: t3dotgg, juliusmarminge

Merge Risk: Minimal · up to b8e7b

This changes the value of the variable that disables the agy self-updater so it matches the documented value. It carries no identified production risk and is safe to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the Antigravity CLI auto-update disable flag is changed so it actually takes effect. The raw summary shows the value changes from "1" to "true" in antigravityEnvironme…
Description check Passed The description follows the template well. It states the problem with expected behavior and reproduction evidence, explains the change and why the test pins the value, and gives scope (one-line fix, f…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the Antigravity CLI auto-update disable flag is changed so it actually takes effect. The raw summary shows the value changes from "1" to "true" in antigravityEnvironment, matching the title's scope and the fix type.

Full details: Description check

Explanation

The description follows the template well. It states the problem with expected behavior and reproduction evidence, explains the change and why the test pins the value, and gives scope (one-line fix, follow-up to #39363). Verification is detailed with observed results per mode and names what was run, plus the model and harness used. Nothing required is missing.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b221622 and b8e7b8e.

Files selected for processing: 2

  • apps/server/src/provider/antigravityAuthSupport.test.ts
  • apps/server/src/provider/antigravityAuthSupport.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

@juliusmarminge juliusmarminge added the takeover:in-progress A takeover lead is working on this PR label Nov 25, 2026
@juliusmarminge

Copy link
Copy Markdown
Member

Evidence

On 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.

Before After
31d95f850b b8e7b8e723
Before: updater contacted in 3 of 3 trials After: updater contacted in 0 of 3 trials
Timestamped output replay Timestamped output replay

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:

  • Agent-executed child-shell inheritance: both Gemini 3.8 Flash turns received quota 429 before executing a tool; interactive agy instead inherited the live T3-spawned ACP environments.
  • macOS arm64 with agy 1.5.15 was not exercised; the defect and fix were observed on Linux x64 with agy 1.5.16.
  • ACP mode's own updater network behavior was not measured; the network comparison covered interactive agy.

@juliusmarminge juliusmarminge added takeover:ready Takeover done; auto-lands when gates pass and removed takeover:in-progress A takeover lead is working on this PR labels Nov 25, 2026
@juliusmarminge
juliusmarminge merged commit 4da8d19 into pingdotgg:main Nov 25, 2026
20 checks passed
@juliusmarminge juliusmarminge removed the takeover:ready Takeover done; auto-lands when gates pass label Nov 25, 2026
fcakyon added a commit to fcakyon/t3code that referenced this pull request Nov 25, 2026
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
AIdoesmyjob pushed a commit to AIdoesmyjob/t3code that referenced this pull request Nov 25, 2026
…tgg#42545)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 4da8d19)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants