-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
conpty process blocked update on Windows #225719
Comments
Upon killing the processes hold the lock and taking the update, the restored terminals show as disconnected, and I could not create new terminals until I restarted vscode: Edit: so far 4 for 4 on hitting this each time I update Insiders Originally posted by @connor4312 in #225160 (comment) |
@connor4312 I am looking to repro but maybe I am missing some steps, can you confirm. Is there any particular set of terminal commands that trigger this issue ?
|
That's right. But specifically, I usually have the vscode-copilot repo open which has its long running watch tasks, so that may also be a part of it. |
Didn't have any luck with the copilot repo as well, can you try the following steps before applying the next update
|
Thanks, sent! |
Thanks for the profile, based on the process lifetimes I was able to backtrack the steps that might repro the issue and I now have a reliable repro,
I feel the scenario during the update might have been the same, @connor4312 just to validate this scenario can you check if update fails when you don't have any debugging session. |
I updated Insiders today without a debugging session and didn't run into the issue 🙂 |
This broke my Insiders build today, I think I tried to cancel setup when the issue happened and then I opened Insiders again to see if that would work without digging out LockHunter. The update failed and then gave the "antivirus might have interfered with the update" error, and I had to reinstall Insiders at that point. |
Today and for the mid-day Insiders yesterday I was much more careful about the update
This does happen even when there is no debugging session active. In both cases I had the task terminals open for Copilot Chat, so I suspect maybe task reconnection logic is related to this issue |
@deepak1556 was going to check this out when he's free 🙏 |
Didn't have much cycles this milestone due to my vacation, I will look into this in the next debt week. |
By the way I've been seeing this every day since I have been debugging copilot chat simulations |
I attempted to update Insiders today using the usual "apply update and restart" action and ran into the following error. It looks like some console-related processes blocked update. No VS Code windows were open.
The command line of the process doing the blocking was:
I am using the new
windowsUseConptyDll
setting, if that matters.The text was updated successfully, but these errors were encountered: