Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): Antigravity no longer links skills to a dangling folder on Windows #32124

Openmthsmb(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/32124/headopened View on GitHub

Showing 2 changed files with 17 additions and 4 deletions.

x
0 of 2 viewed, 2 left
11 additions and 3 deletionsapps/server/src/provider/antigravityAuthSupport.test.tsModified
View file
@@ -1,3 +1,6 @@
+// @effect-diagnostics-next-line nodeBuiltinImport:off - Effect's symlink has no type argument, and Windows needs a junction to link without elevation.
+import * as NodeFSP from "node:fs/promises";
+​
import * as Sink from "effect/Sink";
import * as Deferred from "effect/Deferred";
import * as Fiber from "effect/Fiber";
@@ -18,7 +21,6 @@
import * as Stream from "effect/Stream";
import * as Ndjson from "effect/encoding/Ndjson";
import * as AcpErrors from "effect-acp/errors";
-import { symlinksSupported } from "@t3tools/shared/testing/symlinks";
​
import {
ANTIGRAVITY_AUTH_BROWSER_MARKER,
@@ -597,7 +599,7 @@
}),
​
- it.effect.skipIf(!symlinksSupported)(
+ it.effect(
"links only the user's existing global skill directories without touching real content",
() =>
Effect.gen(function* () {
@@ -613,6 +615,8 @@
Effect.as(true),
Effect.catchReason("PlatformError", "NotFound", () => Effect.succeed(false)),