Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite33aa8c

Browse files
authored
fix: use background ssh channel for link handler
After some investigation into the interaction with the Jetbrains plugin and coder/coder I found a bug where 2 ssh sessions labeled with `jetbrains` for the usage app were being open. We only want to use the main hostname when we want to track user activity, so for any background processes we should be using the background hostname.
1 parent652fc04 commite33aa8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/main/kotlin/com/coder/gateway/util/LinkHandler.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ open class LinkHandler(
127127
verifyDownloadLink(parameters)
128128
WorkspaceProjectIDE.fromInputs(
129129
name=CoderCLIManager.getWorkspaceParts(workspace, agent),
130-
hostname=CoderCLIManager.getHostName(deploymentURL.toURL(), workspace, client.me, agent),
130+
hostname=CoderCLIManager.getBackgroundHostName(deploymentURL.toURL(), workspace, client.me, agent),
131131
projectPath= parameters.folder(),
132132
ideProductCode= parameters.ideProductCode(),
133133
ideBuildNumber= parameters.ideBuildNumber(),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp