-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Can't start new terminal session / watch task are not running correctly #212678
Comments
Things work fine under Windows without WSL |
Same, I am on vscode insiders with WSL |
Can you share your settings.json file and also do a trace log while creating a terminal? https://github.com/microsoft/vscode/wiki/Terminal-Issues#enabling-trace-logging |
Does setting |
Chatted with @deepak1556 about this and it is very likely caused by the io-uring support that got added with Node 20.x. Setting @aeschli may be we should add this to the WSL launcher for now until we figure out why the terminal is not working with |
@chrmarti @roblourens This also affects docker and very likely ssh. |
To set this environment variable for the entire container as a work around you can add the following to the devcontainer.json: "containerEnv": {
"UV_USE_IO_URING": "0"
} |
FYI on the actual fix, it will be available in the next patch update via electron/electron#42128. However in all the fixes we disable the io_uring backend to get terminal working. I will use this issue to investigate why terminal is broken with this new backend, very likely hints to a bug in node-pty 🤷♂️ |
@deepak1556 in case it help I also always saw: #212688 |
No need to change the remote extensions, we can do it for all in |
@deepak1556 should I make a PR that adds |
I think I see similar problems on Linux Desktop (not remote). |
Same issue on Linux Desktop when remoting into another Linux (remote-ssh). |
@deepak1556 haven't seen it with io_uring disabled. |
➜ tail -n 2 ~/.aliases
# https://github.com/microsoft/vscode/issues/212678
export UV_USE_IO_URING=0 After adding the env var (I source this file in my |
Works for me without having any |
Version: 1.90.0-insider (user setup)
Commit: bbc4ba1
Date: 2024-05-14T05:48:27.714Z
Electron: 29.3.1
ElectronBuildId: 9464424
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22635
Running VS Code remote WSL
Here is what I see:
cast.mp4
Observe:
The text was updated successfully, but these errors were encountered: