Fix Antigravity IDE sync - #642
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
There was a problem hiding this comment.
1 issue found across 1 file
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
SaulMoreno3
force-pushed
the
fix/antigravity-ide-sync
branch
from
May 30, 2026 16:30
9205d80 to
4470960
Compare
Contributor
Author
|
Addressed the performance concern in the latest push. The HTTPS fallback now reuses a process-wide current-thread Tokio runtime and a cached reqwest::Client via OnceLock, so HTTPS-only Antigravity IDE installs no longer pay runtime/client construction cost per RPC.\n\nRe-verified locally with:\n- cargo fmt --check\n- cargo test -p tokscale-cli antigravity -- --nocapture\n- ./target/debug/tokscale antigravity sync\n\nThe real sync still detects 2 connections and keeps 100 cached sessions. |
junhoyeo
force-pushed
the
fix/antigravity-ide-sync
branch
from
May 31, 2026 19:46
4470960 to
e3e70eb
Compare
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.
Summary
Fixes Antigravity IDE sync after the Google Antigravity rename/migration.
The new Antigravity IDE language server exposes its local RPC endpoint over HTTPS with a self-signed local certificate. The existing sync path only spoke plain HTTP, so
tokscale antigravity synccould see filesystem candidates but detected zero usable connections and cached zero sessions.This PR:
127.0.0.1Heartbeatresponse as a valid local Antigravity endpoint after process filtering~/.gemini/antigravity-ide~/.gemini/antigravity~/.gemini/antigravity-backupFixes #641.
Local verification
Before this change, with Antigravity IDE open:
After this change, with the same Antigravity IDE instance:
Reports then recovered historical Antigravity usage across February-May 2026.
Tested with:
cargo fmt --check cargo test -p tokscale-cli antigravity -- --nocaptureSummary by cubic
Restores Antigravity IDE sync by adding HTTPS RPC support for the renamed language server, bypassing proxies, and scanning new data roots while keeping the legacy HTTP path. Sync now detects the local endpoint and caches sessions again. Fixes #641.
Written for commit e3e70eb. Summary will update on new commits.