-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
One frame running phase for every workspace start #8990
Comments
Some options:
Any suggestions? |
@mustard-mh I believe there should be already
I don't think it is relevant the supervisor frontend is always wait till both IDE and content are ready to display. |
@akosyakov We can verify it here https://gitpod.io/#github.com/mustard-mh/test/tree/hw/large-file which will download some large files If we start code first, then IDE is ready first(user can access workspace now), and then wait contentAvailabel and install extensions |
We should have proper loading screen when something delays IDE startup (and we used to have it), regardless of optimization to startup of concrete IDE. To decide whether we need to optimize we should have a look at diff between content and IDE readiness in analytics. If there is no significant delay in collected data then it does not make sense to invest time in optimization now. |
@akosyakov |
@mustard-mh did you investigate why it was changed like that and what will be broken instead by reverting? |
What could help is a special case here: https://github.com/gitpod-io/gitpod/pull/8125/files#diff-d897e36a784992a6a4d3b76c09147a96375add6c80bd14dca49657dcff06b3a7R396-R417 So far we only separate between "dontAutostart" and everything else. But "dontAutostart" is always true when The problem is that this code serves multiple purposes:
We need to find a way distinguish the former two cases from the latter. |
Have no idea why we need to check based on this, I revert it. cc @akosyakov But seems we need to display Open Workspace with URL that contains PS. @geropl |
Bug description
One frame running phase for every workspace start
This
ispart because of the time diff betweencontentAvailable
andideReady
This PR #8313 will wait until
contentAvailable
to get.gitpod.yml
file to parse extensions and download extensions via URL first, and then start IDESo
ideReady
will always be aftercontentAvailable
, but aftercontentAvailable
, workspace phase turns toRunning
.We can verify it here https://gitpod.io/#github.com/mustard-mh/test/tree/hw/large-file which will download some large files
Steps to reproduce
Start a workspace
Anything else?
No response
The text was updated successfully, but these errors were encountered: