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

Revert "Use socketpair to implement Process.Start redirection" #47461

Merged
merged 3 commits into from
Jan 29, 2021

Conversation

eiriktsarpalis
Copy link
Member

Reverts #34861 to address the regression reported in #46469. The goal is to backport the revert to release-5.0 and consider a different approach for 6 (e.g. the changes in #44647).

cc @jeffhandley.

@ghost
Copy link

ghost commented Jan 26, 2021

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

Issue Details

Reverts #34861 to address the regression reported in #46469. The goal is to backport the revert to release-5.0 and consider a different approach for 6 (e.g. the changes in #44647).

cc @jeffhandley.

Author: eiriktsarpalis
Assignees: -
Labels:

area-System.Diagnostics.Process

Milestone: 6.0.0

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😢 Thanks.

…adTests.cs

Co-authored-by: Stephen Toub <stoub@microsoft.com>
@eiriktsarpalis eiriktsarpalis merged commit dcef289 into dotnet:master Jan 29, 2021
@eiriktsarpalis eiriktsarpalis deleted the revert-processsocketpair branch January 29, 2021 14:51
@eiriktsarpalis
Copy link
Member Author

/backport to release/5.0

@github-actions
Copy link
Contributor

Started backporting to release/5.0: https://github.com/dotnet/runtime/actions/runs/521211331

@github-actions
Copy link
Contributor

@eiriktsarpalis backporting to release/5.0 failed, the patch most likely resulted in conflicts:

$ git am --3way --ignore-whitespace --keep-non-patch changes.patch

Applying: Revert #34861
error: sha1 information is lacking or useless (src/libraries/Native/Unix/System.Native/pal_process.c).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Revert #34861
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

@davidfowl
Copy link
Member

😢

eiriktsarpalis added a commit to eiriktsarpalis/runtime that referenced this pull request Jan 29, 2021
…t#47461)

* Revert dotnet#34861

* reinstate removed test

* Update src/libraries/System.Diagnostics.Process/tests/ProcessStreamReadTests.cs

Co-authored-by: Stephen Toub <stoub@microsoft.com>

Co-authored-by: Stephen Toub <stoub@microsoft.com>
Anipik pushed a commit that referenced this pull request Feb 10, 2021
… (#47644)

* Revert "Use socketpair to implement Process.Start redirection" (#47461)

* Revert #34861

* reinstate removed test

* Update src/libraries/System.Diagnostics.Process/tests/ProcessStreamReadTests.cs

Co-authored-by: Stephen Toub <stoub@microsoft.com>

Co-authored-by: Stephen Toub <stoub@microsoft.com>

* Add test validating against regression in #46469 (#47643)

* Add test validating against regression in #46469

* fix test bug

Co-authored-by: Stephen Toub <stoub@microsoft.com>
@yakeer
Copy link

yakeer commented Feb 18, 2021

Is it included in 5.0.3?

@jeffhandley
Copy link
Member

@yakeer It didn't make 5.0.3, but it will be included in 5.0.4. Here's the PR that ported it into the 5.0 servicing branch: #47644

@yakeer
Copy link

yakeer commented Feb 21, 2021

@yakeer It didn't make 5.0.3, but it will be included in 5.0.4. Here's the PR that ported it into the 5.0 servicing branch: #47644

Any schedule for 5.0.4 release?

@danmoseley
Copy link
Member

If all goes to schedule, 5.0.4 would be March patch Tuesday.

@ghost ghost locked as resolved and limited conversation to collaborators Mar 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants