Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(client): use lightweight connection probe #4137

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

Showing 8 changed files with 7 additions and 0 deletions (loading 5).

x
0 of 8 viewed, 8 left
1 addition and 0 deletionsapps/server/src/environment/ServerEnvironment.test.tsModified
View file
@@ -67,6 +67,7 @@
​
expect(first.environmentId).toBe(second.environmentId);
expect(second.capabilities.repositoryIdentity).toBe(true);
+ expect(second.capabilities.connectionProbe).toBe(true);
}),
);
​
1 addition and 0 deletionsapps/server/src/environment/ServerEnvironment.tsModified
View file
@@ -135,6 +135,7 @@
serverVersion: packageJson.version,
capabilities: {
repositoryIdentity: true,
+ connectionProbe: true,
​
5 additions and 0 deletionsapps/server/src/ws.tsModified
View file
@@ -284,6 +284,7 @@
[ORCHESTRATION_WS_METHODS.subscribeShell, AuthOrchestrationReadScope],
[ORCHESTRATION_WS_METHODS.getArchivedShellSnapshot, AuthOrchestrationReadScope],
[ORCHESTRATION_WS_METHODS.subscribeThread, AuthOrchestrationReadScope],
+ [WS_METHODS.serverProbe, AuthOrchestrationReadScope],
[WS_METHODS.serverGetConfig, AuthOrchestrationReadScope],