-
Notifications
You must be signed in to change notification settings - Fork 16
The 20-second+ delay in finding IDEs is not an acceptable user experience #260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@sharkymark do you see any kind of delay when running the binary directly on the command line? For example something like this emulates what Gateway calls:
Replace platform, arch, and domain as necessary, and I think on macOS the data directory is |
I have been experimenting trying to reproduce this. I have not been able to reproduce 20+ second delays but here is the behavior I currently see from the moment I press "Select IDE and project" (currently testing on macOS and the demo site):
And with the built-in SSH functionality from the moment I press "Check connection and continue" it takes 11 seconds regardless of whether the workspace has just started or not. When I use The other 4 seconds I believe is doing the actual IDE scan so I am not sure we can do anything to improve this. In that initial 4 second gap there is nothing in the logs so I think this is that
If this is the case we can raise it on coder/coder and hopefully figure out what is going on. I can reproduce a massive delay if I run from a terminal that does not support certain codes but I am not sure that is what is happening here. I think we can distinguish between the connection establishing and when the editors actually start scanning so I will start with that to help it look less stuck. |
Hopefully this makes it seem less stuck in cases where it takes longer. See #260.
I was also not able to reproduce this. Closing for now. We can reopen if it surfaces again and we have reports. |
I'm very excited we resolved the failed to find IDEs, or at least keep retrying until we do, but the first time I use Gateway and a running workspace, it always takes 20+ seconds.
Can we redesign something to improve on this, or give a status message on what is going on, to keep the user engaged?
The text was updated successfully, but these errors were encountered: