@@ -255,7 +255,7 @@ class CoderCLIManager(
255
255
val startBlock= " # --- START CODER JETBRAINS$host "
256
256
val endBlock= " # --- END CODER JETBRAINS$host "
257
257
val isRemoving= workspaceNames.isEmpty()
258
- val proxyArgs =
258
+ val baseArgs =
259
259
listOfNotNull(
260
260
escape(localBinaryPath.toString()),
261
261
" --global-config" ,
@@ -265,8 +265,9 @@ class CoderCLIManager(
265
265
" ssh" ,
266
266
" --stdio" ,
267
267
if (settings.disableAutostart&& feats.disableAutostart)" --disable-autostart" else null ,
268
- if (feats.reportWorkspaceUsage)" --usage-app=jetbrains" else null ,
269
268
)
269
+ val proxyArgs= baseArgs+ listOfNotNull(if (feats.reportWorkspaceUsage)" --usage-app=jetbrains" else null )
270
+ val backgroundProxyArgs= baseArgs+ listOfNotNull(if (feats.reportWorkspaceUsage)" --usage-app=disable" else null )
270
271
val extraConfig=
271
272
if (settings.sshConfigOptions.isNotBlank()) {
272
273
" \n " + settings.sshConfigOptions.prependIndent(" " )
@@ -293,7 +294,7 @@ class CoderCLIManager(
293
294
.plus(
294
295
"""
295
296
Host${getBackgroundHostName(deploymentURL, it)}
296
- ProxyCommand${proxyArgs .joinToString(" " )} $it
297
+ ProxyCommand${backgroundProxyArgs .joinToString(" " )} $it
297
298
ConnectTimeout 0
298
299
StrictHostKeyChecking no
299
300
UserKnownHostsFile /dev/null