-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Explore update to Electron 4 #61787
Comments
@Tyriar for some bizarre reason, |
When will be Electron 3 pushed to insiders and Electron 4 pushes to exploration? |
@Astrantia current idea is January 2019. |
@bpasero weird, is the nsfw.node file there and/or is it trying to load the module from asar? |
I think it was there. |
@Tyriar this is when running out of sources, so ASAR is not involved. And I just checked, the |
@Tyriar I am not convinced this is an issue with |
@Tyriar looks like this might be caused by nsfw setting this in
See electron/electron#15436 (comment) However I am still struggling to load the module even after making this change: Axosoft/nsfw@master...Microsoft:electron-4.0.x |
I published vscode-nsfw@1.1.2 which should take care of this. |
@bpasero I've used the provided link to download the electron 4 build for macOS. Immediately after install, running 'process.versions.electron' in dev tools reports that v4.0.0 beta.7 is being used, however as soon as the application updates, the electron version number is rolled back to v3.0.9. Is this supposed to be the case, or is there something at your end that needs to be changed so that this build looks in a different location for electron 4 related 'exploration' updates? |
@dalDevelo yeah as long as exploration builds are not yet on Electron 4, you will have to configure At this time I would stay away from using the Electron 4.0.x builds for any serious work. |
Now that insiders got Electron 3 I will make the exploration builds consume Electron 4. |
@bpasero what is the situation with the exploration builds if there are multiple stable Electron releases available? Electron 5 beta 1 was published yesterday. Assuming stable Electron 5 is released in the coming weeks, will VScode exploration jump to this version for exploration, or will the Electron 4 exploration continue to be worked on until it reaches insiders / main release, thus delaying Electron 5 adoption? |
@dalDevelo exploration will always be 1 version after the current version we have in insiders and only move on to the next once we increment the version in insiders. |
@bpasero What's the platform consequences of upgrading to Electron 4.0? We'd loose Linux 32bit? |
@auchenberg yes likely |
Is it possible to skip 4 and update to Electron 5? The only v4 adoption blocking issue is said to be fixed in v5- electron/electron#16925 |
We will try to get a release out with Electron 4 and at the same time start to look into adopting Electron 5. It is unlikely we would just skip one version given all the work that is involved. |
It looks like there are no blockers now and it's been in "Explore" state for quite some time. Is there any reason left why it's still Deferred? |
@danilaml this will land in insiders during June. We felt the current iteration was too short to push this already. If there are new blockers found, it may delay further though. |
is exploration build up to date with insiders and only difference is electron? if so, then maybe we have some issues, I'm using exploration build with electron 4.2 and extensions host crashes regularly during startup, sometimes while using editor. |
@maciejw which version are you on (check the commit hash from the about dialog). If it is latest then I would be happy for some reproducible steps how to get to these crashes if possible. |
@bpasero it was on 291cc2d, I'll let you know if this is still the issue I've just installed a2873dc. I wondered, was it an extensions fault maybe? I synced my settings including all extensions. when this crash will happen, callstack and details from dev console will be enough to help diagnose it? this issue happens randomly I did not find any particular pattern what causes it. |
@maciejw yeah we can revisit this once you can still reproduce, looks like you were on quite an old version of the exploration branch. |
@bpasero just after update to 3ac052e the error appeared, below is a console log
after window refresh works fine. |
@maciejw and you are not seeing this in our insiders build? Does it reproduce when you run with |
Pushed to master via 73643c6. Will be out in insiders end of week when we released stable. |
@bpasero I have not tried this switch since this error happens randomly. I run the same extensions on stable and insider and I have not noticed , we will see if this error persists on master. |
In Electron v4 be aware also to Issue 683994: context.drawImage() slows down massively when drawing a few large images, a regression in the Canvas API. Just my two cents. Thanks for the effort. |
^ @Tyriar |
@albertosantini thanks for the info |
@Tyriar Credits to Hyper Blog - Hyper 3 announce, I suppose you know. ;)
|
VSCode Exploration Builds with Electron 4.0.x:
The text was updated successfully, but these errors were encountered: