Skip to content

Antigravity: 1.4.5 predates the Antigravity CLI, but Retry installation does not update the old managed runtime #39538

Closed as not planned

Description

@jan-stegeman

Version: T3 Code Nightly 0.1.11 (Windows 11 x64)

What happens

  • Settings → Providers → Antigravity shows: "Unavailable · Antigravity 1.4.5 predates the Antigravity CLI and no longer works with this T3 Code release. Update it in Antigravity setup."
  • The old managed runtime from an earlier T3 release (~/.t3/tools/antigravity-acp/win32-x64/, executable agy_acp_server.exe, version 1.4.5) is still active.
  • Clicking Retry installation does nothing: the server trace shows only AntigravityInstallation.refreshRelease (about 0.02 ms) and the status does not change.
  • The agy CLI on PATH (updated to 1.5.13 with agy update) is never tried: AntigravityInstallation.resolve uses active.json first, and completedRelease fails for the pre-CLI record, so the PATH fallback is never reached.

Workaround
Remove the managed runtime (trash icon next to "Retry installation", or delete ~/.t3/tools/antigravity-acp/win32-x64), then click Retry sign-in. T3 then finds agy on PATH and works.

Expected
"Retry installation" (or "Update") replaces a pre-CLI managed runtime with the current CLI release, or resolve falls back to agy on PATH when the managed record predates the CLI. The message could also name the trash icon as the way out.

Activity

  1. juliusmarminge commented on Nov 20, 2026

    @juliusmarminge
    Member

    @jan-stegeman Right after you click 'Retry installation', does the runtime line change at all (for example to 'Downloading…') or does an error toast appear, and does the server trace show a ProviderInstallation.start span at that moment (if so, what error does it end with)?

  2. jan-stegeman commented on Nov 20, 2026

    @jan-stegeman
    Author

    @juliusmarminge Thanks for looking.

    • Runtime line: no change. After the click it still said "Installed." with the same "Antigravity 1.4.5 predates the Antigravity CLI …" text and the Retry installation button. No "Downloading…", no progress, no error toast (screenshot taken right after the click, about 05:42:37Z).
    • Server trace at the clicks: I only saw AntigravityInstallation.refreshRelease at 05:41:56Z and 05:42:10Z. Each took about 0.016 ms, exit Success, no attributes. So it looks like it returned early, without an HTTP request. In the same seconds, AntigravityInstallation.completedRelease → AntigravityInstallation.resolve failed with the "predates the Antigravity CLI" error. "Retry sign-in" at 05:42:16Z failed the same way, via AntigravityDriver.prepareSpawn / codeLogin.
    • ProviderInstallation.start: I can't say for sure. At the time I filtered the trace on "Antigravity" only, and the trace files from that moment have rotated out since then (11 files of ~10 MB), so I can't check it now.

    I can no longer reproduce it here: after that I removed the managed runtime (~/.t3/tools/antigravity-acp/win32-x64, the trash icon), and T3 now uses agy 1.5.13 from PATH. Opening the provider settings now gives ProviderInstallation.readEntries → ProviderInstallation.requireInstance → AntigravityInstallation.refreshRelease (0.03 ms, Success).

  3. juliusmarminge commented on Nov 20, 2026

    @juliusmarminge
    Member

    I tried to reproduce this on the current build and could not.

    Commit 16d4094 (origin/main). Windows Server 2025 (pool machine): fresh worktree, vp i, wrote a pre-CLI managed record under .t3\tools\antigravity-acp\win32-x64 (versions//agy_acp_server.exe + localharness_external.exe, .install-complete.json version 1.4.5 executable agy_acp_server.exe, active.json pointing at it), started vp run dev with T3CODE_DEV_SEED=0, paired headless Chromium via Playwright, Settings → Providers → Add provider → Antigravity (defaults) → Add instance. Before: status 'Unavailable · Antigravity 1.4.5 predates the Antigravity CLI…', runtime line 'Installed.', 'Retry installation' enabled (same as the report). Clicked Retry installation: +1s 'Downloading 0.5 MB.' with Cancel installation, +3s 'Downloading 96.4 MB.', +10s 'Installed.' with 'Reinstall Antigravity'; provider shows v1.5.13 / Not authenticated; on disk active.json points at a new release whose record is version 1.5.13, executable agy.exe. Captures: before https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/f00b3363613017c2/win-before.png after https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/41d7d3b70029a2e6/win-after.png. Same steps on Linux (linux-x64 record with agy_acp_server) in the web dev client: same start state, Retry installation ran ws.rpc.provider.install.start → ProviderInstallation.start, installed and activated 1.5.13 (executable 'antigravity'), pruned the 1.4.5 directory; the only error afterwards was the expected Google sign-in failure (no account on the VM). The path is also covered by the existing test 'replaces a managed runtime from before the Antigravity CLI on %s' (win32 + host) added in #38970.

    Closing as not planned. If it still happens for you, reply with the exact steps and the version you are on and it will be looked at again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions