Skip to content

Update conpty to 1.25#301398

Draft
anthonykim1 wants to merge 4 commits intomainfrom
anthonykim1/conpty1.25
Draft

Update conpty to 1.25#301398
anthonykim1 wants to merge 4 commits intomainfrom
anthonykim1/conpty1.25

Conversation

@anthonykim1
Copy link
Contributor

@anthonykim1 anthonykim1 commented Mar 13, 2026

@anthonykim1 anthonykim1 self-assigned this Mar 13, 2026
Copilot AI review requested due to automatic review settings March 13, 2026 05:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates terminal-related dependency/documentation to align with the latest bundled PTY/conpty components.

Changes:

  • Bumps node-pty from ^1.2.0-beta.10 to ^1.2.0-beta.12 in both the main and remote (REH) packages, including lockfiles.
  • Updates the terminal.integrated.windowsUseConptyDll setting description to reference the newer bundled conpty.dll version.

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts Updates the user-facing setting description for the bundled conpty.dll version.
package.json Bumps node-pty dependency version used by the main product build.
package-lock.json Updates lockfile entries for node-pty@1.2.0-beta.12.
remote/package.json Bumps node-pty dependency version used by the remote server/REH package.
remote/package-lock.json Updates remote lockfile entries for node-pty@1.2.0-beta.12.
Files not reviewed (1)
  • remote/package-lock.json: Language not supported

this._queueProcessExit();
}));
this._sendProcessId(ptyProcess.pid);
// node-pty >= 1.2.0-beta.11 defers conptyNative.connect() on Windows, so
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was getting test failure so trying to see if these would fix it.
I dont like how we are making pid as non-readonly though :/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Contributor Author

@anthonykim1 anthonykim1 Mar 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Tyriar With microsoft/node-pty#885 (node-pty beta 11 which hasnt been in VS Code yet),
node-pty defers conptyNative.connect() . So instead of connecting immediately and having valid pid, we just get zero until worker is ready and connection is complete?

The thing is... that lead to test failing since

this._sendProcessId(ptyProcess.pid);

Do you think 27f4805 is the right way to go about this?

@anthonykim1 anthonykim1 added this to the 1.113.0 milestone Mar 13, 2026
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.

2 participants