Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): Antigravity Linux ARM64 install + custom path resolve #12722

Closedmacodev00(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/12722/headopened View on GitHub

Showing 4 changed files with 84 additions and 3 deletions (loading 3).

x
0 of 4 viewed, 4 left
84 additions and 3 deletionsapps/server/src/provider/AntigravityInstallation.test.tsModified
View file
@@ -22,6 +22,7 @@
import { HttpClient, HttpClientResponse } from "effect/unstable/http";
import * as ChildProcessSpawner from "effect/unstable/process/ChildProcessSpawner";
import * as NodeCrypto from "node:crypto";
+import * as NodeOS from "node:os";
​
import {
makeAntigravityInstallation,
@@ -130,13 +131,18 @@
readonly contentLength?: number;
readonly contentEncoding?: string;
readonly platform?: NodeJS.Platform;
+ readonly arch?: NodeJS.Architecture;
+ readonly hostMachine?: string;
readonly path?: string;
readonly previous?: boolean;
readonly fileSystem?: FileSystem.FileSystem;
readonly validate?: AntigravityInstallationOptions["validate"];
readonly useDefaultValidation?: boolean;
+ /** When false, resolve the pinned host archive instead of the fixture zip. */
+ readonly pinRelease?: boolean;
​
+/** Build an isolated Antigravity installer fixture, optionally pinning the host archive. */
const makeHarness = Effect.fn("test.makeAntigravityInstallation")(function* (
options: HarnessOptions = {},
) {
@@ -145,9 +151,10 @@