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: strip out EOT sequence from PTY output #7108

Closed
wants to merge 1 commit into from

Conversation

chris-olszewski
Copy link
Member

@chris-olszewski chris-olszewski commented Jan 25, 2024

Description

Currently the PTY device we're creating has ECHOCTL set which means that the EOT that gets sent when we drop stdin shows up as a ^D:

ECHOCTL
(not in POSIX) If ECHO is also set, terminal special
characters other than TAB, NL, START, and STOP are echoed
as ^X, where X is the character with ASCII code 0x40
greater than the special character.

This PR just looks for the sequence that gets generated in the output and strips it.

Testing Instructions

Added unit tests and made existing unit tests that use the updated codepath more strict.

Closes TURBO-2159

Copy link

vercel bot commented Jan 25, 2024

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

Name Status Preview Updated (UTC)
rust-docs ❌ Failed (Inspect) Jan 25, 2024 11:18pm
turbo-site ✅ Ready (Inspect) Visit Preview Jan 25, 2024 11:18pm
9 Ignored Deployments
Name Status Preview Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Jan 25, 2024 11:18pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Jan 25, 2024 11:18pm
examples-gatsby-web ⬜️ Ignored (Inspect) Jan 25, 2024 11:18pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Jan 25, 2024 11:18pm
examples-native-web ⬜️ Ignored (Inspect) Jan 25, 2024 11:18pm
examples-nonmonorepo ⬜️ Ignored (Inspect) Jan 25, 2024 11:18pm
examples-svelte-web ⬜️ Ignored (Inspect) Jan 25, 2024 11:18pm
examples-tailwind-web ⬜️ Ignored (Inspect) Jan 25, 2024 11:18pm
examples-vite-web ⬜️ Ignored (Inspect) Jan 25, 2024 11:18pm

Copy link
Contributor

🟢 Turbopack Benchmark CI successful 🟢

Thanks

@chris-olszewski
Copy link
Member Author

Closing in favor of #7109

Copy link
Contributor

github-actions bot commented Jan 26, 2024

🟢 CI successful 🟢

Thanks

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.

1 participant