Fix Windows process picker loading from ASAR - #1096
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Is there anyway to get people to approve this so we can all get back to debugging python again? |
Thanks for bringing it up. I forgot to ping people internally to review this. |
|
Thanks! Is there any way to pick this up sooner rather than later on a user end? Is it just using pre release vscode? |
|
🔒 Automated review in progress — Bill Schnurr (@bschnurr) is auto-reviewing this PR. |
| } | ||
| } | ||
|
|
||
| throw loadError; |
There was a problem hiding this comment.
Warning · Non-blocking recommendation
loadError ??= error preserves the expected ASAR-miss error even when the physical node_modules load is the one that actually fails (for example, due to an ABI mismatch). This makes the fallback diagnostic misleading; retain the physical-path failure or include both path-specific errors, and cover the case where both candidates throw.
[verified]
|
Result: Verification detailsVerification: Isolated verification observed failures that were not classified as caused by this PR: Should fall back to WMIC when getAllProcesses fails. The relevant tests could not be fully run in the isolated environment; this review is not fully verified. Summary: TypeScript compilation succeeded, and both newly added loader tests passed against the emitted JavaScript. The existing WMIC fallback test could not complete because the custom non-Electron harness lacks the Python extension API; this is unrelated to the PR. The new error-logging behavior has no assertion coverage. Confidence is therefore limited despite successful loader-path verification. Test runs: 2 passed, 1 failed, 1 skipped
⏩
|
Bill Schnurr (bschnurr)
left a comment
There was a problem hiding this comment.
Approved via Review Center.
The next prerelease version of the debugger extension will have the fix. |
Summary
@vscode/windows-process-treefrom VS Code's packagednode_modules.asarlayoutnode_modulesfallback for development and older layoutsFixes #1095
Validation
git diff --checkFull TypeScript and unit test execution was blocked locally by npm registry TLS handshake failures while restoring dependencies.