feat: Proxy Duo Agent Platform requests through GitLab

Description

  • What? Use WebSocket connection to GitLab instance for streaming Duo Agent Platform requests by default.
  • Why? Direct connections to the Duo Agent Platform through the gRPC client require network access to the separate Duo Workflow Service endpoint that is not allow-listed in many environments by default. The change to use cloud connector routed proxy was rolled back due to Cloudflare rules terminating some connections unexpectedly in some cases so using desktop to GitLab instance routing should simply network requirements in most environments even if there's a small performance cost of not using direct access.

Related Issues

Resolves #[issue_number]

How has this been tested?

  • If src/browser or src/common has been modified, please consider interoperability with the Web IDE. See Running the Extension in WebIDE.
  • Consider an end-to-end test for significant new features that aren't covered by integration tests.

Screenshots (if appropriate)

What CHANGELOG entry will this MR create?

  • fix: Bug fix fixes - a user-facing issue in production - included in changelog
  • feature: New feature - a user-facing change which adds functionality - included in changelog
  • BREAKING CHANGE: (fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog
  • None - other non-user-facing changes
Edited by Olena Horal-Koretska

Merge request reports

Loading