Skip to content

fix(dvc-pipe-proxy): handle pre-connected Windows clients#1447

Merged
Benoît Cortier (CBenoit) merged 3 commits into
masterfrom
dvc-proxy-split-plan
Jul 13, 2026
Merged

fix(dvc-pipe-proxy): handle pre-connected Windows clients#1447
Benoît Cortier (CBenoit) merged 3 commits into
masterfrom
dvc-proxy-split-plan

Conversation

@mamoreau-devolutions

Copy link
Copy Markdown
Contributor

Summary

  • treat Windows ERROR_PIPE_CONNECTED as a successful named-pipe accept
  • surface worker startup failures and retry failed pipe sessions with structured diagnostics
  • add Windows coverage for named-pipe connection and DVC callback forwarding

Tests

  • cargo test -p ironrdp-dvc-pipe-proxy

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Improves DVC named-pipe proxy reliability, particularly for pre-connected Windows clients.

Changes:

  • Handles Windows ERROR_PIPE_CONNECTED.
  • Propagates thread-spawn failures and retries failed sessions.
  • Adds Windows pipe-to-DVC forwarding coverage.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/platform/windows.rs Handles pre-connected named-pipe clients.
src/worker.rs Adds startup reporting and reconnection retries.
src/proxy.rs Propagates worker spawn failures.
tests/windows_pipe.rs Tests Windows connection and callback forwarding.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crates/ironrdp-dvc-pipe-proxy/src/worker.rs
Comment thread crates/ironrdp-dvc-pipe-proxy/src/worker.rs Outdated
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Comment thread crates/ironrdp-testsuite-extra/tests/dvc_pipe_proxy.rs
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@CBenoit Benoît Cortier (CBenoit) merged commit 079b484 into master Jul 13, 2026
22 checks passed
@CBenoit Benoît Cortier (CBenoit) deleted the dvc-proxy-split-plan branch July 13, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants