Repository navigation
Preserve the startup promise when initialization loses its connection - #1867
Merged
Dirk Bäumer (dbaeumer) merged 2 commits intoSep 29, 2026
Merged
Dirk Bäumer (dbaeumer) merged 2 commits into
Dirk Bäumer (dbaeumer) merged 2 commits into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Author
|
@microsoft-github-policy-service agree
… On 28 Sep 2026, at 7:51 am, microsoft-github-policy-service[bot] ***@***.***> wrote:
microsoft-github-policy-service[bot]
left a comment
(microsoft/vscode-languageserver-node#1867)
<#1867 (comment)>
Eric Parsonage ***@***.***) <https://github.com/lamestllama> please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:
(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement
<http://www.opensource.org/>
—
Reply to this email directly, view it on GitHub <#1867?email_source=notifications&email_token=AACXEMXI6YBEQWFY7OPCO735RGHHRA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOBWGAZTOMZZHAZKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-5860373982>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AACXEMQS34G3DSHUYV6CD6T5RGHHRAVCNFSNUABEKJSXA33TNF2G64TZHM2DCOBWGE3TMOB3JFZXG5LFHM2TMMBWG44TEMZXGOQXMAQ>.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS <https://github.com/notifications/mobile/ios/AACXEMSDDRLRXARLMPTPVEL5RGHHRA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOBWGAZTOMZZHAZKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJKTGN5XXIZLSL5UW64Y> and Android <https://github.com/notifications/mobile/android/AACXEMUGI5BR3RG52XBUMET5RGHHRA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOBWGAZTOMZZHAZKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI>. Download it today!
You are receiving this because you were mentioned.
|
Author
|
/azp run |
|
Commenter does not have sufficient privileges for PR 1867 in repo microsoft/vscode-languageserver-node |
Eric Parsonage (lamestllama)
force-pushed
the
fix/preserve-startup-promise
branch
from
September 28, 2026 03:24
c46a8a6 to
00de0dd
Compare
Dirk Bäumer (dbaeumer)
requested changes
Sep 28, 2026
Dirk Bäumer (dbaeumer)
left a comment
Member
There was a problem hiding this comment.
See review comment.
Eric Parsonage (lamestllama)
force-pushed
the
fix/preserve-startup-promise
branch
from
September 29, 2026 08:17
8eed8a6 to
de7384e
Compare
Author
|
I have updated the copyright notice as requested. |
Member
|
/azp run |
Dirk Bäumer (dbaeumer)
enabled auto-merge (squash)
September 29, 2026 08:42
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Dirk Bäumer (dbaeumer)
approved these changes
Sep 29, 2026
Christof Marti (chrmarti)
approved these changes
Sep 29, 2026
Giuseppe Cianci (Giuspepe)
approved these changes
Sep 29, 2026
This was referenced Oct 18, 2026
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Oct 29, 2026
vscode-languageclient 11.0.0 has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. 11.0.0 needs the same VS Code as 10.1.2 (^1.91.0); it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf). Limits: master's extension, which has neither workaround, is still on 10.1.2.
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Oct 29, 2026
vscode-languageclient 11.0.0 (2026-10-22) has two startup fixes: microsoft/vscode-languageserver-node#1867 keeps the startup promise that a connection closed during initialization used to lose, and our microsoft/vscode-languageserver-node#1896 handles the stop() that follows a failed initialization. It needs the same VS Code as 10.1.2 (^1.91.0), and it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Only the version line changes in package.json; the lockfile keeps qs 6.17.1 and serialize-javascript 7.1.4. Validation: compile, lint and bundle pass, with Node 24.21.0 and npm 11.19.0; the headless suite passes, 7 tests on VS Code 1.101.0 and 7 on 1.144.0, the hover case included; packageExtension builds the VSIX. Limits: the client's stop() patch stays. 11.0.0 makes it unneeded on the failed-initialization path, but master has no test of a failed start, which is where it would show.
5 tasks done
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Oct 29, 2026
vscode-languageclient 11.0.0 (2026-10-22) has two startup fixes: microsoft/vscode-languageserver-node#1867 keeps the startup promise that a connection closed during initialization used to lose, and our microsoft/vscode-languageserver-node#1896 handles the stop() that follows a failed initialization. It needs the same VS Code as 10.1.2 (^1.91.0), and it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Only the version line changes in package.json; the lockfile keeps qs 6.17.1 and serialize-javascript 7.1.4. Validation: compile, lint and bundle pass, with Node 24.21.0 and npm 11.19.0; the headless suite passes, 7 tests on VS Code 1.101.0 and 7 on 1.144.0, the hover case included; packageExtension builds the VSIX. Limits: the client's stop() patch stays. 11.0.0 makes it unneeded on the failed-initialization path, but master has no test of a failed start, which is where it would show.
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Oct 29, 2026
vscode-languageclient 11.0.0 has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. 11.0.0 needs the same VS Code as 10.1.2 (^1.91.0); it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf). Limits: master's extension, which has neither workaround, is still on 10.1.2.
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Oct 29, 2026
vscode-languageclient 11.0.0 has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. 11.0.0 needs the same VS Code as 10.1.2 (^1.91.0); it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf). Limits: master's extension, which has neither workaround, is still on 10.1.2.
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Oct 29, 2026
…unneeded vscode-languageclient 11.0.0, which master takes since #744, has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf).
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Oct 29, 2026
vscode-languageclient 11.0.0 has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. 11.0.0 needs the same VS Code as 10.1.2 (^1.91.0); it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf). Limits: master's extension, which has neither workaround, is still on 10.1.2.
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Oct 29, 2026
…unneeded vscode-languageclient 11.0.0, which master takes since #744, has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf).
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 2, 2026
…unneeded vscode-languageclient 11.0.0, which master takes since #744, has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf).
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 2, 2026
vscode-languageclient 11.0.0 has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. 11.0.0 needs the same VS Code as 10.1.2 (^1.91.0); it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf). Limits: master's extension, which has neither workaround, is still on 10.1.2.
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 4, 2026
…unneeded vscode-languageclient 11.0.0, which master takes since #744, has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf).
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 4, 2026
vscode-languageclient 11.0.0 has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. 11.0.0 needs the same VS Code as 10.1.2 (^1.91.0); it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf). Limits: master's extension, which has neither workaround, is still on 10.1.2.
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 5, 2026
vscode-languageclient 11.0.0 has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. 11.0.0 needs the same VS Code as 10.1.2 (^1.91.0); it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf). Limits: master's extension, which has neither workaround, is still on 10.1.2.
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 5, 2026
…unneeded vscode-languageclient 11.0.0, which master takes since #744, has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf).
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 9, 2026
…unneeded vscode-languageclient 11.0.0, which master takes since #744, has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf).
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 9, 2026
vscode-languageclient 11.0.0 has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. 11.0.0 needs the same VS Code as 10.1.2 (^1.91.0); it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf). Limits: master's extension, which has neither workaround, is still on 10.1.2.
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 11, 2026
…unneeded vscode-languageclient 11.0.0, which master takes since #744, has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf).
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 11, 2026
vscode-languageclient 11.0.0 has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. 11.0.0 needs the same VS Code as 10.1.2 (^1.91.0); it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf). Limits: master's extension, which has neither workaround, is still on 10.1.2.
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 16, 2026
…unneeded vscode-languageclient 11.0.0, which master takes since #744, has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf).
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 22, 2026
…unneeded vscode-languageclient 11.0.0, which master takes since #744, has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf).
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 22, 2026
vscode-languageclient 11.0.0 has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. 11.0.0 needs the same VS Code as 10.1.2 (^1.91.0); it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf). Limits: master's extension, which has neither workaround, is still on 10.1.2.
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 25, 2026
…unneeded vscode-languageclient 11.0.0, which master takes since #744, has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf).
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 25, 2026
vscode-languageclient 11.0.0 has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. 11.0.0 needs the same VS Code as 10.1.2 (^1.91.0); it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf). Limits: master's extension, which has neither workaround, is still on 10.1.2.
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 25, 2026
…unneeded vscode-languageclient 11.0.0, which master takes since #744, has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf).
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 25, 2026
vscode-languageclient 11.0.0 has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. 11.0.0 needs the same VS Code as 10.1.2 (^1.91.0); it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf). Limits: master's extension, which has neither workaround, is still on 10.1.2.
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 25, 2026
…unneeded vscode-languageclient 11.0.0, which master takes since #744, has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf).
Marcus Lagergren (lagergren)
added a commit
to xtclang/xvm
that referenced
this pull request
Nov 25, 2026
vscode-languageclient 11.0.0 has both fixes the VS Code extension worked around: microsoft/vscode-languageserver-node#1867, which keeps the startup promise that a connection closed during initialization used to lose, and our #1896, which handles the stop() that follows a failed initialization. The client's start() no longer calls super.start() a second time to observe that promise, and the stop() override that swallowed every rejection is gone. 11.0.0 needs the same VS Code as 10.1.2 (^1.91.0); it takes vscode-jsonrpc 10.0.0 and the 3.18.5 protocol and types. Validation: - Control: with the workarounds removed on 10.1.2, X272 fails with the orphaned "Pending response rejected since connection got disposed" rejection (run-5r1R0a), so the case catches the defect. - On 11.0.0 without them, X271 and X272 pass three times (run-1JBxQD, run-NYckWV, run-6hbgxh). - The headless suite passes, 70 tests; eslint passes. - The full VS Code playbook passes 332 of its 333 cases, as on 10.1.2 on 2026-10-28 (run-Pc161s): X218 fails on VS Code's own Undo order (UP23). The harness stops a run after a timeout, so it ran in three windows (run-l2txtQ, run-gvT2Bt, run-CirjOs): X167 and X222 timed out where keys typed by hand reached the test window, and passed when run again; X130, VS Code's Explorer TreeError (UP16), failed once and passed on its own (run-FjS9yf). Limits: master's extension, which has neither workaround, is still on 10.1.2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

If an IPC language server exits during initialization and the close handler elects not to restart it,
handleConnectionClosedclears_onStartbeforestart()returns. The first caller consequently receives a fulfilled promise, while a concurrent caller that already retained_onStartreceives the initialization failure.Return the local startup promise captured before initialization, so every caller observes the same failure even after the connection-close path clears the field.
The regression starts a real IPC server that exits in its initialize handler and checks that two concurrent starts reject with the same connection-disposal error. It fails before the fix (the first result is fulfilled) and passes afterwards. The test stubs the public
stop()method to isolate the startup promises from the separate existing rejection when initialization failure tries to stop a non-running client.Validation on Linux ARM64 with Node 20.20.2 and VS Code Insiders 1.140.0 (4a6a3612a562c50f54c2bd5211f0ea42915b974e):
npm run compilepassed.client-node-testseditor suite passed: 206 tests, using the repository test entry point under Xvfb.npm run lint --prefix clientandnpm run lint --prefix client-node-testspassed.git diff --checkpassed.