Skip to content

Better handle named pipe disconnection - #56683

Merged
tmat merged 2 commits into
dotnet:release/11.0.1xxfrom
tmat:dev/tomat/pipe-error
Oct 17, 2026
Merged

tmat merged 2 commits into
dotnet:release/11.0.1xxfrom
tmat:dev/tomat/pipe-error

Conversation

@tmat

@tmat tmat commented Oct 16, 2026

Copy link
Copy Markdown
Member

No description provided.

@tmat
tmat requested a review from a team as a code owner October 16, 2026 22:23
Copilot AI balanced review requested due to automatic review settings October 16, 2026 22:23
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@tmat
tmat enabled auto-merge (squash) October 16, 2026 22:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new disconnection-before-cancellation behavior needs deterministic regression coverage.

1 open issue
What changed in this PR

Improves dotnet watch Hot Reload handling when a connection terminates before cancellation is signaled.

Changes:

  • Treat expected transport termination during updates as cancellation.
  • Consolidate exception details into one failure log entry and remove the separate stack-trace reporter descriptor.
File Description
src/​Dotnet.Watch/​Watch/​UI/​IReporter.cs Removes the separate stack-trace descriptor.
src/​Dotnet.Watch/​HotReloadClient/​HotReloadClient.cs Logs full exception details in one entry.
src/​Dotnet.Watch/​HotReloadClient/​DefaultHotReloadClient.cs Converts expected connection termination into cancellation.

Review effort: Balanced

@tmat
tmat merged commit f91d1ea into dotnet:release/11.0.1xx Oct 17, 2026
22 checks passed
@tmat
tmat had a problem deploying to copilot-pat-pool October 17, 2026 00:04 — with GitHub Actions Failure

This branch had an error being deployed

1 failed deployment
copilot-pat-pool — 0278e4b7 Deployed Oct 17, 2026 by tmat via pre_activation #9455
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Watch dotnet-watch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants