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

Test impacted extensions with Electron 22 and custom memory allocator #177645

Closed
3 tasks done
bpasero opened this issue Mar 20, 2023 · 6 comments
Closed
3 tasks done

Test impacted extensions with Electron 22 and custom memory allocator #177645

bpasero opened this issue Mar 20, 2023 · 6 comments
Assignees
Milestone

Comments

@bpasero
Copy link
Member

bpasero commented Mar 20, 2023

Refs: #177338

Complexity: 5

Create Issue


The new custom memory allocator in VS Code with Electron 22 should be tested to ensure:

  • our top extensions continue to work as before
  • extensions with known problematic native modules continue to work as before and do not crash VS Code

Prerequisites

Testing has to be done on (orange) VS Code exploration builds with Electron 22. Downloads:

Test Strategy

  • do exploratory smoke testing of the extension triggering some of its functionality to verify it works
  • see the native module the extension depends on to try to explicitly trigger the native code if possible
  • limit testing to 5 minutes max, since there are many extensions to test
  • watch out for extension host crashes or crashes in general

Test Problematic Extensions

All of the below extensions depend on a native module with a problematic memory allocation. Pick 1-3 extensions per native module to ensure coverage. Skip those that are obscure to test.

@bpasero bpasero added this to the March 2023 milestone Mar 20, 2023
@rzhao271 rzhao271 assigned rzhao271 and unassigned isidorn Mar 21, 2023
@rzhao271 rzhao271 removed their assignment Mar 21, 2023
@rzhao271
Copy link
Contributor

A bunch of the extensions don't seem to work, but I never had the entire exthost or Code - Exploration crash.

@deepak1556
Copy link
Contributor

@rzhao271 to confirm, did you test with exploration build based on v22.4.2 ? the version in the screenshot above is invalid.

@isidorn
Copy link
Contributor

isidorn commented Mar 22, 2023

I suggest to skip all extensions that have less < 500 installs.

@bpasero
Copy link
Member Author

bpasero commented Mar 22, 2023

Had a hard time getting most of the extensions to work. RegEdit was really nice on Windows though ✔️

@bpasero bpasero closed this as completed Mar 22, 2023
@rzhao271
Copy link
Contributor

rzhao271 commented Mar 22, 2023

@rzhao271 to confirm, did you test with exploration build based on v22.4.2 ? the version in the screenshot above is invalid.

I tested with the linked commit SHA, which started with b.
Edit: It looks like the linked commit changed? I can test some extensions again following Isidor's advice.
Edit 2: Tested again with the linked commit SHA that starts with c. Same results as before. LGTM.

@deepak1556
Copy link
Contributor

Thanks for confirming!

@github-actions github-actions bot locked and limited conversation to collaborators May 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants