feat(dgw): make agent tunnel always available - #1947
feat(dgw): make agent tunnel always available#1947irvingouj@Devolutions (irvingoujAtDevolution) wants to merge 4 commits into
Conversation
Let maintainers know that an action is required on their side
|
|
Implementation notes:
Validation:
Operational change: Gateway configurations can no longer disable Agent Tunnel. Remove any existing Note Human-tuned, LLM-assisted content. |
There was a problem hiding this comment.
Pull request overview
Enables the QUIC agent tunnel by default and promotes its configuration and APIs to stable Gateway functionality.
Changes:
- Defaults the tunnel listener to UDP 4433.
- Exposes tunnel APIs without unstable mode.
- Adds documentation, schema, PowerShell support, and tests.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
README.md |
Documents agent tunnel settings. |
config_schema.json |
Adds the tunnel configuration schema. |
devolutions-gateway/src/api/mod.rs |
Makes tunnel routes stable. |
devolutions-gateway/src/config.rs |
Enables the tunnel by default. |
devolutions-gateway/tests/config.rs |
Tests configuration defaults. |
powershell/DevolutionsGateway/DevolutionsGateway.psd1 |
Exports the new PowerShell constructor. |
powershell/DevolutionsGateway/Public/DGateway.ps1 |
Adds PowerShell tunnel configuration support. |
powershell/pester/Config.Tests.ps1 |
Tests PowerShell configuration handling. |
testsuite/src/dgw_config.rs |
Disables the listener by default in test configurations. |
testsuite/tests/cli/agent/tunnel.rs |
Removes unstable-mode requirements. |
testsuite/tests/cli/agent/up.rs |
Removes unstable-mode requirements. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
745e4b4 to
468013d
Compare
Promote the QUIC agent tunnel to a supported Gateway capability. Gateway now starts the listener on UDP 4433 unless explicitly disabled, and enrollment and management APIs no longer require unstable mode. Startup fails if the enabled tunnel cannot initialize or bind. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Agent Tunnel is now always initialized by Gateway and its configuration only selects the UDP listen port. Test Gateway instances use ephemeral UDP ports so the always-on listener does not introduce parallel test collisions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep the configured endpoint consistent with the UDP listener by requiring a nonzero port across Rust, the JSON schema, and PowerShell. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add the stable Agent Tunnel enrollment and management endpoints to the Gateway OpenAPI contract and regenerate the .NET and TypeScript clients. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
468013d to
373b652
Compare
Promotes the QUIC agent tunnel to a supported, always-on Gateway capability.
Gateway now starts the listener on UDP 4433 and exposes enrollment and management APIs without unstable mode. The UDP port remains configurable. Startup fails if the tunnel CA cannot initialize or the listener cannot bind.
The stable endpoints are included in the Gateway OpenAPI contract and generated .NET and TypeScript clients.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com