-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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
Workbench doesn't finish loading when Extensions viewlet is first to load #40425
Comments
Weird, I cannot reproduce :-/ |
@sandy081 any chance some call on the restore of the extensions viewlet waits on the extension service to be ready? |
@bpasero Extensions viewlet has no dependency on extensions ready promise. |
I can reproduce, but only on Windows and only when running out of dev. |
But, I think the ViewsViewlet uses extensions ready promise.. but it is not a blocking one though |
@sandy081 it looks like the call to @alexandrudima could this be a regression from your changes to cache the contents? Btw this is not reproducible all the time, when I break before this call and then jump over it does not reproduce. So maybe something that spawns in the back has a chance to then come up because of debugging. |
@bpasero 👍 |
@bpasero I don't believe so. The caching I implemented is not in the |
Right. Getting installed extensions from extension management service is not using any caching. It just reads folders from the disk. I will try to reproduce it in Windows and investigate. |
@alexandrudima @joaomoreno this is a regression from b712555 The extension viewlet create method needs the shared process and probably at that time the shared process is not ready, but I am not sure why that would not eventually resolve itself for good. |
Thank you @bpasero for tracking it down. @joaomoreno Help! This timeout is causing so much grief! And I'm not sure it is 100% working. I think I've seen the process start after 3s, not after 5s. |
Ok. I am reverting the timeout. @bpasero @joaomoreno Do you think this should go on the stable channel too ? |
Reverted via 4e3205f |
Opened #40505 to track that we delay the start-up of the shared process. |
@alexandrudima thanks. I thought about stable but actually this will never be executed in stable because only when running out of sources we actually restore the last used viewlet. For stable and insiders when you start fresh we always open the explorer viewlet. The only time we actually open the extension viewlet is when you reload the window, but then chances are high that the shared process has started already. I think it is unlikely to hit this unless maybe you manage to start Code, open extensions viewlet and reload the window, all under 3-5 seconds. |
Windows
.\scripts\code
The text was updated successfully, but these errors were encountered: