Skip to content
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

fix(core): prevent device status report from being printed during pty execution #23039

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

AgentEnder
Copy link
Member

Current Behavior

On windows the terminal frequent outputs the device status report escape code (\x1B[6n) to the terminal. This results in another escape code being emitted onto stdin, in the form of \x1B[[ ?; ? R which has been seen in reported issues. When this is put into stdin as a response to the device status report, Nx hangs.

Expected Behavior

We don't playback the DSR from the pseudoterminal. The hope is that this is enough to prevent the hanging, but the underlying issue is flaky and not super easily reproduced.

Related Issue(s)

Fixes #

Copy link

vercel bot commented Apr 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Apr 26, 2024 10:02pm

@AgentEnder AgentEnder force-pushed the fix/maybe-fix-windows-terminal branch from 887629a to dfa0ea7 Compare April 26, 2024 21:59
@FrozenPandaz FrozenPandaz marked this pull request as ready for review April 26, 2024 22:23
@FrozenPandaz FrozenPandaz requested review from a team as code owners April 26, 2024 22:23
@FrozenPandaz FrozenPandaz enabled auto-merge (squash) April 26, 2024 22:23
@FrozenPandaz FrozenPandaz merged commit bb2d7f3 into nrwl:master Apr 26, 2024
6 checks passed
Copy link

github-actions bot commented May 2, 2024

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants