Skip to content

Remove failfast in named pipe client#6552

Merged
Youssef1313 merged 14 commits intomainfrom
dev/mabdullah/use-environment.exit-in-namedpipeclient
Sep 11, 2025
Merged

Remove failfast in named pipe client#6552
Youssef1313 merged 14 commits intomainfrom
dev/mabdullah/use-environment.exit-in-namedpipeclient

Conversation

@mariam-abdulla
Copy link
Copy Markdown
Contributor

@mariam-abdulla mariam-abdulla commented Sep 10, 2025

This pull request introduces an RFC document proposing support for running dotnet test using the Microsoft Testing Platform, and updates the IPC error handling logic in NamedPipeClient. The RFC outlines a configurable approach that maintains backward compatibility, while the code change ensures more controlled termination in case of IPC failures.

SDK Testing Platform RFC:

  • Added docs/RFCs/011-Sdk-Testing-Platform.md describing a plan to allow users to opt-in to the Microsoft Testing Platform via a global.json configuration, with clear defaults and backward compatibility.

Error Handling Improvement:

  • Updated NamedPipeClient.RequestReplyAsync to use _environment.Exit(1) for IPC connection loss instead of _environment.FailFast, ensuring the process exits with a specific code for abnormal termination.

Fixes #6510

@Youssef1313 Youssef1313 enabled auto-merge (squash) September 11, 2025 07:15
@Youssef1313 Youssef1313 merged commit 23e3934 into main Sep 11, 2025
8 checks passed
@Youssef1313 Youssef1313 deleted the dev/mabdullah/use-environment.exit-in-namedpipeclient branch September 11, 2025 08:12
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.

Revise Environment.FailFast usage in pipe implementation

2 participants