Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): skip IDE detection in Claude probes #8634

Mergedyashranaway(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/8634/headmerged by juliusmarminge View on GitHub

Showing 2 changed files with 10 additions and 0 deletions.

x
0 of 2 viewed, 2 left
4 additions and 0 deletionsapps/server/src/provider/Layers/ClaudeCapabilitiesProbe.test.tsModified
View file
@@ -22,6 +22,7 @@
environment: {
HOME: "/home/user",
ENABLE_CLAUDEAI_MCP_SERVERS: "true",
+ FORCE_CODE_TERMINAL: "1",
},
cwd: "/workspace/project",
});
@@ -37,6 +38,9 @@
assert.equal(options.abortController, abortController);
assert.equal(options.env?.HOME, "/home/user");
assert.equal(options.env?.ENABLE_CLAUDEAI_MCP_SERVERS, "false");
+ assert.equal(options.env?.FORCE_CODE_TERMINAL, undefined);
+ assert.equal(options.env?.CLAUDE_CODE_AUTO_CONNECT_IDE, "0");
+ assert.equal(options.env?.CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL, "1");
});
​
it.layer(NodeServices.layer)("Claude capability probe SDK boundary", (it) => {
6 additions and 0 deletionsapps/server/src/provider/Layers/ClaudeProvider.tsModified
View file
@@ -614,6 +614,12 @@
// Connected claude.ai MCP servers are discovered outside filesystem
// config; disable them independently for this health check.
ENABLE_CLAUDEAI_MCP_SERVERS: "false",
+ // This is a noninteractive health check, so IDE discovery cannot add any
+ // useful capability data. Skipping it also avoids Claude spawning a
+ // Windows `tasklist | findstr` process tree on every periodic refresh.