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

[release/5.0-rc2] Revert "Make Console.ReadKey() distinguish between CR and LF inputs" #42477

Merged
merged 3 commits into from
Sep 23, 2020

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 18, 2020

Backport of #42470 to release/5.0-rc2

Customer Impact

Issue #42418 was reported as another regression related to Console on Unix. We do not see a clear fix other than reverting PR #37491, which introduced the regression. #37491 had also introduced #42333, which was fixed by #42371 (master) and ported into 5.0 RC2 with #42381.

Taking this revert PR will reintroduce the part of #802 that was originally fixed, and this will affect a partner team. However, that previous state is still overall more stable than where we are now.

Testing

We have verified manually that the issue as reported in #42418 has been fixed. The test is impractical to automate since it depends on no console IO having been previously made by the process. Also, manual tests have been included which validate the reverted CR/NL behaviour as documented in #802.

Risk

Medium. We considered reverting #37491 instead of taking #42371 into RC2, but we dismissed that option with the following comment:

We consider that option higher risk than applying this fix because it would reintroduce #802, and there have been other changes in this area since this fix went in, preventing a straightforward revert.

Those risks still exist, so we consider this revert to be medium risk. However, given that we now have data that #37491 introduced multiple regressions (and there may be others), we favor taking this revert.

@ghost
Copy link

ghost commented Sep 23, 2020

Tagging subscribers to this area: @eiriktsarpalis, @jeffhandley
See info in area-owners.md if you want to be subscribed.

@jeffhandley jeffhandley added the Servicing-approved Approved for servicing release label Sep 23, 2020
@jeffhandley
Copy link
Member

Check timeouts are unrelated.

@jeffhandley jeffhandley merged commit 4676471 into release/5.0-rc2 Sep 23, 2020
@jeffhandley jeffhandley deleted the backport/pr-42470-to-release/5.0-rc2 branch September 23, 2020 21:47
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Console Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants