vscode-coder icon indicating copy to clipboard operation
vscode-coder copied to clipboard

Shows step "waiting for agent to connect" even though workspace is fully started

Open bpmct opened this issue 3 years ago • 4 comments

I was able to connect to my workspace fine, but was surprised to see one of the loading steps "Waiting for agent to connect" when the agent was fully connected on the dashboard.

bpmct avatar Jan 21 '23 20:01 bpmct

Does this reproduce consistently or is it intermittent?

jsjoeio avatar Jan 23 '23 15:01 jsjoeio

intermittent. I noticed it when I clicked "VS Code Desktop" from a workspace that was already started. VS Code was closed

bpmct avatar Jan 23 '23 17:01 bpmct

I was in this code recently and added logging for what statuses we are getting back from the API. I suspect that if the extension is waiting, that means the API has returned connecting, but there could also be a logic bug in the plugin.

code-asher avatar Jul 03 '24 21:07 code-asher

It might just be a timing thing, like it became connected right after we made the call. We do a bunch of things between making the initial call and checking the agent status.

code-asher avatar Jul 03 '24 22:07 code-asher