-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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 16 #137241
chore: update to electron 16 #137241
Conversation
src/vs/platform/sharedProcess/electron-browser/sharedProcessWorkerService.ts
Outdated
Show resolved
Hide resolved
bf2fe22
to
f704913
Compare
926e529
to
ae4ddcd
Compare
I'm getting an issue where clicking on another file in the file explorer results in several terminals |
The issue does not reproduce as much with extensions (including Git, GitHub, and GitHub Authentication) disabled, but even with the extensions disabled, when I launch OSS, I get a command prompt telling me that types from types-registry are being installed, as well as another command prompt from ripgrep. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was interested in seeing what changed. Left some comments
@@ -50,7 +50,7 @@ function terminateProcess(process: cp.ChildProcess, cwd?: string): Promise<Termi | |||
if (cwd) { | |||
options.cwd = cwd; | |||
} | |||
const killProcess = cp.execFile('taskkill', ['/T', '/F', '/PID', process.pid.toString()], options); | |||
const killProcess = cp.execFile('taskkill', ['/T', '/F', '/PID', process.pid!.toString()], options); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get a 500 error when trying to view the nodejs docs. Did the potential return values of process.pid
change recently? In the worst case, we would need to add more fallback logic if it really is the case that sometimes, process.pid
isn't valid anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no behavior change in this version, documentation was updated to reflect the correct behavior and types were updated accordingly nodejs/node@a3c564bead
pid
will be undefined only when the child process fails to launch and the process is not connected to a shell. Feel free to update this utility for the case when pid
is undefined and that change can target main
branch today instead of changing in this PR.
This reverts commit 7b48fa3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
* Revert "chore: update to electron 16 (#137241)" This reverts commit 01df559. This reverts commit 4630133 * ci: fix remote compiler for sdl-scan * chore: fix remote/.yarnrc * chore: fix build/npm/postinstall.js * chore: rm crash reporter from shared process * chore: rm crash reporter from ext host * chore: fix build/lib/layersChecker.ts * :chore: preserve some more changes * fix tests Co-authored-by: Benjamin Pasero <[email protected]>
Todo:
Fixes #120431
Fixes #133820
Fixes #131714
Fixes #93615
Fixes #136787
Fixes #50386 , Depends on #126113
Fixes #138721
Fixes #84453