feat(antigravity): migrate managed installs to native CLI #35487
MergedYash-Singh1(GitHub profile, opens in a new tab)merged 0 commits into
t3/antigravity-native-goals fromrefs/pull/35487/headmerged by Yash-Singh1(GitHub profile, opens in a new tab) View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
github-actions[bot](GitHub profile, opens in a new tab) removed labelssize:L
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XL
- apps/server/src/provider/AntigravityInstallation.ts line 951OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -1045,0 +931,21 @@931+ lastUpdateCheck = now;932+ const musl =933+ platform === "linux" &&934+ (yield* fs.exists(935+ arch === "arm64" ? "/lib/libc.musl-aarch64.so.1" : "/lib/libc.musl-x86_64.so.1",936+ ));937+ const target = antigravityCliTarget(platform, arch, musl);938+ const latest = yield* http.get(`${ANTIGRAVITY_CLI_MANIFEST_BASE}/${target}.json`).pipe(939+ Effect.flatMap(HttpClientResponse.filterStatusOk),940+ Effect.flatMap((response) => response.json),941+ Effect.map((json) => parseAntigravityCliRelease(json, platform, arch, musl)),942+ Effect.timeout("10 seconds"),943+ Effect.orElseSucceed(() => null),944+ );945+ if (latest === null) return;946+ if (yield* isWithdrawn(latest.version)) {947+ releaseAsset = null;948+ return;949+ }950+ releaseAsset = latest;951+ yield* SubscriptionRef.update(state, (value) =>
Yash-Singh1(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
Approvability#
Verdict: Needs Human Approval
Macroscope's review found this PR requires human approval — This changes the default managed Antigravity installation to Google's native CLI channel and migrates existing installs when users update. Human review is required for that default change, including acceptance of possible reauthentication during migration.
You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).