Skip to content

Use Atomics.wait to synchronously execute the module resolve hook#1

Closed
mizdra wants to merge 1 commit intomainfrom
use-atomics-wait
Closed

Use Atomics.wait to synchronously execute the module resolve hook#1
mizdra wants to merge 1 commit intomainfrom
use-atomics-wait

Conversation

@mizdra
Copy link
Owner

@mizdra mizdra commented Dec 29, 2025

$ git clone git@github.com:mizdra/vscode.git
$ cd vscode
$ git checkout use-atomics-wait

$ # Build vscode
$ npm install
$ git clone git@github.com:mizdra/repro-vscode-test-hang.git
$ cd repro-vscode-test-hang

$ # Edit files...
$ vim
$ git diff -U1                 
diff --git a/test/runTest.js b/test/runTest.js
index 01ac63b..99c3376 100644
--- a/test/runTest.js
+++ b/test/runTest.js
@@ -14,3 +14,3 @@ async function main() {
       launchArgs: ['--disable-extensions'],
-      // vscodeExecutablePath: '/Users/mizdra/src/github.com/microsoft/vscode/scripts/code.sh',
+      vscodeExecutablePath: '/Users/mizdra/src/github.com/microsoft/vscode/scripts/code.sh',
     });

$ npm start
> repro-vscode-test-hang@1.0.0 start
> node test/runTest.js

npm warn Unknown project config "disturl". This will stop working in the next major version of npm.
npm warn Unknown project config "target". This will stop working in the next major version of npm.
npm warn Unknown project config "ms_build_id". This will stop working in the next major version of npm.
npm warn Unknown project config "runtime". This will stop working in the next major version of npm.
npm warn Unknown project config "build_from_source". This will stop working in the next major version of npm.
npm warn Unknown project config "timeout". This will stop working in the next major version of npm.

> code-oss-dev@1.108.0 electron
> node build/lib/electron.ts

[15:51:08] Synchronizing built-in extensions...
[15:51:08] You can manage built-in extensions with the --builtin flag
[15:51:08] [github] ms-vscode.js-debug-companion@1.1.3 ✔︎
[15:51:08] [github] ms-vscode.js-debug@1.105.0 ✔︎
[15:51:08] [github] ms-vscode.vscode-js-profile-table@1.0.10 ✔︎
[main 2025-12-29T06:51:09.825Z] [CSS_DEV] DONE, 283 css modules (73ms)
[main 2025-12-29T06:51:10.025Z] update#setState disabled
Started local extension host with pid 89186.
No default agent registered
Extension host (LocalProcess pid: 89186) is unresponsive.
UNRESPONSIVE extension host: starting to profile NOW
(...hangs here...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant