Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
vouch:trustedAuthor is trusted by repo permissions or the VOUCHED list.
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Install the Antigravity
agyCLI so it is on PATH, with no managed Antigravity runtime installed by T3 Code. - Leave the Antigravity provider's Binary path blank.
- Start a thread with Antigravity.
Expected behavior
T3 Code finds the agy CLI on PATH and uses it.
Actual behavior
T3 Code reports that the Antigravity runtime is not installed. Setting the Binary path to the same CLI by hand works.
Impact
Minor bug or occasional failure. Anyone who has only the native agy CLI and no managed runtime, on every start until they set the Binary path by hand.
Version or commit
main at d427894aa1. The cause is at apps/server/src/provider/AntigravityInstallation.ts:404.
Environment
Linux x64, the repository's own tests.
Logs or stack traces
expected { _id: 'Option', _tag: 'None' } to match objectAutomated repro
Fails in 2 of 2 runs on main: apply the patch with git apply, then run the command.
diff --git a/apps/server/src/provider/AntigravityInstallation.test.ts b/apps/server/src/provider/AntigravityInstallation.test.ts
index dcd3e40030..1a27eda297 100644
--- a/apps/server/src/provider/AntigravityInstallation.test.ts
+++ b/apps/server/src/provider/AntigravityInstallation.test.ts
@@ -1032,6 +1032,12 @@ it.layer(Layer.mergeAll(NodeServices.layer, NodeCrypto.layer))("Antigravity inst
executablePath: alias,
harnessPath: null,
});
+ expect(
+ yield* installation.resolve(undefined, { PATH: cliDirectory }).pipe(Effect.option),
+ ).toMatchObject({
+ _tag: "Some",
+ value: { source: "path", harnessPath: null },
+ });
expect(yield* installation.resolve(other).pipe(Effect.flip)).toMatchObject({
operation: "resolve",
});./node_modules/.bin/vp test run apps/server/src/provider/AntigravityInstallation.test.ts -t 'accepts the agy CLI without a harness sibling'Workaround
No response
Metadata
Metadata
Assignees
Labels
vouch:trustedAuthor is trusted by repo permissions or the VOUCHED list.
Activity