-
Notifications
You must be signed in to change notification settings - Fork 1k
Add reverse connect command line support to ConsoleReferenceServer #3376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
Co-authored-by: romanett <7413710+romanett@users.noreply.github.com>
Co-authored-by: romanett <7413710+romanett@users.noreply.github.com>
Co-authored-by: romanett <7413710+romanett@users.noreply.github.com>
|
@copilot please resolve the merge conflicts with master branch |
Co-authored-by: marcschier <11168470+marcschier@users.noreply.github.com>
romanett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested! Reverse connection is established with the provided parameters
Proposed changes
Adds
--rc/--reverseconnectcommand line parameter to ConsoleReferenceServer to enable reverse connection mode. The client already supported this via the same parameter, but the server could not be configured from the command line, causing "Waiting for the reverse connection timed out" exceptions when users attempted reverse connect workflows.Changes:
--rcparameter to server that callsAddReverseConnection()post-startupUriFormatExceptionUsage:
Related Issues
Types of changes
Checklist
Further comments
The implementation leverages
ReferenceServer's existing inheritance fromReverseConnectServer. No new abstractions or server types required—just exposing existing functionality via CLI. Pattern matches the client implementation and aligns withReverseConnectTest.cs.Merge conflicts with master branch have been resolved—the provisioning mode feature from master is now integrated alongside the reverse connect functionality.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.