fix(server): Antigravity installs on Windows ARM #18472
Mergedmweinbach(GitHub profile, opens in a new tab)merged 2 commits into
main fromrefs/pull/18472/headmerged by juliusmarminge View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:M
juliusmarminge added labelsmacroscope-review
coderabbitai[bot](GitHub profile, opens in a new tab) approved these changes
- apps/server/src/provider/AntigravityInstallation.ts lines 362 to 363OutdatedResolvedby mweinbach(GitHub profile, opens in a new tab)@@ -349,6 +350,14 @@349350 options.validate ??350351 Effect.fn("AntigravityInstallation.validate")(351352 function* (executable: AntigravityExecutable, expectedVersion: string) {352- const profileDirectory = yield* fs.makeTempDirectoryScoped({353- prefix: "t3-antigravity-validate-",354- });353+ const validationScope = yield* Effect.scope;354+ const profileDirectory = yield* Effect.acquireRelease(355+ fs.makeTempDirectory({ prefix: "t3-antigravity-validate-" }),356+ (directory) =>357+ fs.remove(directory, { recursive: true, force: true }).pipe(358+ // Windows may retain DLL handles briefly after taskkill returns.359+ Effect.retry({360+ times: platform === "win32" ? 10 : 0,361+ schedule: Schedule.spaced("100 millis"),362+ while: (error) =>363+ error.reason._tag === "PermissionDenied" || error.reason._tag === "Unknown",
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes
juliusmarminge merged this895354e
juliusmarminge closed this
Sign in to join this conversation.
Codex Review Summary#
This comment shows the latest Codex review activity on this pull request.
f148bf9ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.