Repository navigation
[release/10.0] Backport SIGCHLD fixes - #135676
adamsitnik with Copilot wants to merge 3 commits into
Conversation
…o .NET 10 Co-authored-by: adamsitnik <[email protected]>
|
Azure Pipelines: Successfully started running 3 pipeline(s). 13 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
|
Tagging subscribers to this area: @dotnet/area-system-diagnostics-process |
adamsitnik
left a comment
There was a problem hiding this comment.
LGTM, all I needed was to update one comment
|
LGTM. This is how I understand these PRs to be related. Adding That approach introduced/revealed two issues:
|
|
Hi, the code complete date for 10.0.16 (the December 2026 release) is Monday 16 November. Make sure to merge this PR on that date at the latest, or it won't make it into that release. As a reminder, if this is a product change, you also need Tactics approval before merging this PR (test-only or infra-only changes don't require Tactics approval). Happy to help with the merge if needed! |
Backport of #128598 and #135323 and #135624 to
release/10.0Customer Impact
On macOS, a stopped child can prevent the SIGCHLD handler from making progress, hanging
System.Diagnostics.Processoperations and tests. Process-tree termination can also signal unrelated processes in the same process group, including hosted CI runner processes, causing jobs to terminate unexpectedly. These fixes address both problems in Unix process handling.Regression
These are existing Unix process-handling bugs affecting the .NET 10 release, not regressions introduced in the most recent release (as we initially assumed).
Testing
Adds synchronous and asynchronous regression coverage for waiting on an exiting child while another child is stopped.
Risk
Low, the
SA_NOCLDSTOPis very simple change, theProcess.Kill(bool entireProcessTree)changes has been tested in main since July and the reversed kill order was also very simple and well motivated change.fixes #131944