You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add cluster recommendations API support to SDKs (#653)
Add the cluster recommendations API across the C#, TypeScript, and Go SDKs
so tunnel creation can auto-select an optimal cluster when none is specified.
Contracts (C# source-of-truth, auto-generated to TS/Go/Java/Rust):
- ClusterAvailability, ClusterRecommendation, ClusterRecommendationResponse
- Generator: add float/double type mappings (TS/Go/Java/Rust writers)
Management clients:
- GetClusterRecommendations(Async) in C#, TS, Go (preferredClusterId, requiredGeo)
- Auto-recommend in CreateTunnel (C#, TS, Go) when ClusterId is unset; errors
fall back to global routing
- RequiredGeo on TunnelRequestOptions (C#, TS, Go) forwarded to the auto-recommend
call only (excluded from the create request query string)
Tests: unit coverage for recommendations, auto-recommend, geo forwarding, and
skip-when-cluster-set across C#, TS, and Go.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments