Skip to content
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

chore: update to electron 13 #124666

Merged
merged 9 commits into from
Jul 14, 2021
Merged

chore: update to electron 13 #124666

merged 9 commits into from
Jul 14, 2021

Conversation

deepak1556
Copy link
Collaborator

@deepak1556 deepak1556 commented May 26, 2021

  • Build nightly exploration builds

@deepak1556 deepak1556 self-assigned this May 26, 2021
@deepak1556 deepak1556 added this to the June 2021 milestone May 26, 2021
@bpasero
Copy link
Member

bpasero commented May 26, 2021

Re smoke tests, make sure to merge in 4cda850

@deepak1556
Copy link
Collaborator Author

They do fail after taking in the above commit, I will give this a try once internal builds are available for triggering insiders

@deepak1556
Copy link
Collaborator Author

Ready for review, plan is to merge next week to get coverage in July iteration insiders.

Copy link
Member

@bpasero bpasero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To clarify: we only enable crash reporter now if enable-crash-reporter is set? Whats the idea behind this change?

@bpasero
Copy link
Member

bpasero commented Jul 1, 2021

Weird that node.js still seems to be at 14.16.0 even though https://github.com/electron/electron/releases/tag/v13.0.0 indicates otherwise.

@deepak1556
Copy link
Collaborator Author

With E13 submitURL cannot be empty when uploadToServer is true, in smoke tests we disable crash reporter via the cli switch https://github.com/microsoft/vscode/blob/main/test/automation/src/code.ts#L143 but still end up calling crashReporter.start. I have cleaned up the logic by moving the deciding conditions earlier so that we make call to the crashReporter if it is disabled.

We only enable crash reporter if enable-crash-reporter is set or crash-reporter-directory argument is provided.

@deepak1556
Copy link
Collaborator Author

deepak1556 commented Jul 1, 2021

Yeah it is a typo in the release notes wrt node version, there is no version change in E13. Always refer to this file https://github.com/electron/electron/blob/13-x-y/DEPS#L19 to confirm.

@bpasero
Copy link
Member

bpasero commented Jul 1, 2021

But doesn't that mean we have to update all our launch scripts to set enable-crash-reporter if we want to enable it for our users?

@deepak1556
Copy link
Collaborator Author

enable-crash-reporter runtime argument defaults to enabled for all our users. Also there is no change in the conditions for crash reporter enablement in this PR, I have just moved the callsites earlier to avoid unnecessary call to crashreporter API.

Are you thinking of another case that breaks with this change ?

@bpasero
Copy link
Member

bpasero commented Jul 1, 2021

Sorry, I totally forgot we had this in argv.json.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants