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

Commit5e4e795

Browse files
committed
comment
1 parentea4b179 commit5e4e795

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

‎src/commands.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -572,9 +572,14 @@ export class Commands {
572572
){
573573
letremoteAuthority=toRemoteAuthority(baseUrl,workspaceOwner,workspaceName,workspaceAgent)
574574

575-
// When called from `openFromSidebar`, the workspaceAgent will only not be set
576-
// if the workspace is stopped, in which case we can't use Coder Connect
577-
// When called from `open`, the workspaceAgent will always be set.
575+
// We can't connect using Coder Connect straightaway if `workspaceAgent`
576+
// is undefined. This happens when:
577+
// 1. The workspace is stopped
578+
// 2. A `vscode://coder.coder-remote` URI does not include the agent as a
579+
// query parameter.
580+
//
581+
// For 1. `Remote.setup` will migrate us to Coder Connect once the workspace is built.
582+
// For 2. `Remote.setup` will call `maybeAskAgent` and then migrate us to Coder Connect
578583
if(workspaceAgent){
579584
letsshConfig
580585
try{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp