Repository navigation
feat(agent): add virtual channel diagnostics - #2193
Richard Markiewicz (thenextman) merged 4 commits into
Conversation
|
Lines changed
There is no test project for
Note Human-tuned, LLM-assisted content. |
Let maintainers know that an action is required on their side
|
There was a problem hiding this comment.
🟡 Changes recommended
The Now probe lacks exclusive channel ownership and can disrupt a live session during a concurrent host launch, while RemoteFX RDP sessions can be misclassified and skip diagnostics.
2 open issues
What changed in this PR
Adds virtual-channel diagnostics to the Agent tray app so support can distinguish general channel failures from problems specific to the Now channel.
Changes:
- Adds a hidden Ctrl+right-click menu action to launch diagnostics.
- Probes
ECHO,Devolutions::Now::Agent, and an unregistered channel, reporting actual versus expected outcomes. - Provides rerun and copy controls, logs results, and checks for a running session host before probing Now.
| File | Description |
|---|---|
dotnet/DesktopAgent/Program.cs |
Adds the hidden diagnostics menu action. |
dotnet/DesktopAgent/Diagnostics/ChannelProbeForm.cs |
Adds the report window with background execution, rerun, and copy controls. |
dotnet/DesktopAgent/Diagnostics/ChannelProbe.cs |
Implements channel probes, session-host detection, and diagnostic reporting. |
Review effort: Balanced


The tray app can now check whether dynamic virtual channels work in the current remote session.
A hidden menu item (Ctrl+right-click, "Test virtual channels...") opens the built-in
ECHOchannel, theDevolutions::Now::Agentchannel and a name no client registers, then shows each outcome next to the expected one.Support can use it to tell a host where virtual channels fail for every program from one where only the Now channel fails.
The Now channel is skipped while Devolutions Session runs in the session, because opening it again would replace the live channel.