Skip to content

Use cluster recommendations when creating tunnels in the Rust SDK - #678

Merged
Arun G (ArunGopinathan) merged 1 commit into
mainfrom
agopinathan/rust-cluster-recommendations
Sep 4, 2026
Merged

Use cluster recommendations when creating tunnels in the Rust SDK#678
Arun G (ArunGopinathan) merged 1 commit into
mainfrom
agopinathan/rust-cluster-recommendations

Conversation

@ArunGopinathan

Copy link
Copy Markdown
Contributor

Changes proposed:

  • Use the cluster recommendations API when the Rust SDK creates a tunnel.
  • Authenticate recommendation requests and retry anonymously only when authentication is rejected.
  • Preserve global routing as a fallback and report the selection outcome through X-Tunnel-Cluster-Source.
  • Add deterministic coverage for recommendation results, authentication fallback, query parameters, caller-provided headers, and telemetry headers.

Other Tasks:

  • If you updated the Go SDK did you update the PackageVersion in tunnels.go
  • If you updated the TS SDK did you update the dependencies in package.json for connections and management to require a dependency that is > the current published version(Found using npm view @microsoft/dev-tunnels-contracts). This will fix issues where yarn will pull the old version of packages and will cause mismatched dependencies. See example PR

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1c4ee497-a9b3-481b-860b-541eef9e9fba
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@ArunGopinathan

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

@ArunGopinathan
Arun G (ArunGopinathan) merged commit 16d8ed6 into main Sep 4, 2026
11 checks passed
@ArunGopinathan
Arun G (ArunGopinathan) deleted the agopinathan/rust-cluster-recommendations branch September 4, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants