Skip to content

Conversation

@austin-denoble
Copy link
Collaborator

@austin-denoble austin-denoble commented Feb 12, 2026

Problem

There was a bug caught while testing BYOC. The sdk.NewIndexConnection function does not properly account for index.private_host if it exists, and only uses index.host to resolve the connection.

Solution

Update sdk.NewIndexConnection to use index.PrivateHost > index.Host when one is present.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Infrastructure change (CI configs, etc)
  • Non-code change (docs, etc)
  • None of the above: (explain here)

Test Plan

Test data plane operations with a BYOC index.

@austin-denoble austin-denoble merged commit 213c636 into main Feb 12, 2026
7 checks passed
@austin-denoble austin-denoble deleted the adenoble/fix-private-host-resolution branch February 12, 2026 16:52
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.

1 participant