[PR #3488] Revert locking changes #25394

Open
opened 2026-01-31 09:09:14 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/3488

State: closed
Merged: Yes


Summary of the Pull Request

This reverts #2525 because it caused numerous issues in the Windows inbox product around WSL. We'll have to revisit it in the future.

PR Checklist

Detailed Description of the Pull Request / Additional comments

Several odd crashes started occurring in Windows, WSL was no longer able to reliably pull the last bytes out of the output during interop operations, and a few other things. We had to revert this for 20h1. This is just the reflection of the Windows-side change back to the outside.

We plan to get back to #1810 in the future, adding more tests around WSL, and probably slightly reducing scope on the locking changes.

Validation Steps Performed

Windows builds validated this.
I've validated the changes back locally.
WSL team validated the revert fixes their 20h1 inbox issues.
The automated tests will run when I push this.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/3488 **State:** closed **Merged:** Yes --- <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request This reverts #2525 because it caused numerous issues in the Windows inbox product around WSL. We'll have to revisit it in the future. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Reopens #1810 * [x] I work here * [x] Tests removed, the rest still pass * [x] No, the doc update we made is still relevant. * [x] I'm a core contributor. <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Several odd crashes started occurring in Windows, WSL was no longer able to reliably pull the last bytes out of the output during interop operations, and a few other things. We had to revert this for 20h1. This is just the reflection of the Windows-side change back to the outside. We plan to get back to #1810 in the future, adding more tests around WSL, and probably slightly reducing scope on the locking changes. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Windows builds validated this. I've validated the changes back locally. WSL team validated the revert fixes their 20h1 inbox issues. The automated tests will run when I push this.
claunia added the pull-request label 2026-01-31 09:09:14 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25394