{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":360274352,"defaultBranch":"main","name":"go-pinecone","ownerLogin":"pinecone-io","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-04-21T18:51:59.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/54333248?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1726846608.0","currentOid":""},"activityList":{"items":[{"before":"92c6c5782a2631780fba7f679e3dc9811cd920a7","after":"d069cd05cab422059eef0ed4585e700f89f8969a","ref":"refs/heads/release-candidate/2024-10","pushedAt":"2024-09-20T17:28:43.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"Refactor `/codegen/build-clients.sh` to support new `apis` structure, regenerate for `2024-10` (#76)\n\n## Problem\r\nThe upstream `/apis` submodule has undergone some changes since we last\r\nregenerated the client core. Our `/codegen/build-clients.sh` script no\r\nlonger handles the new module naming or structure properly.\r\n\r\nAdditionally, we want to regenerate off the upcoming API version so we\r\ncan pull in changes for things like Rerank.\r\n\r\nThis PR is **merging to a release candidate (RC) branch:\r\n`release-candidate/2024-10`**. We will track upcoming major version\r\nchanges in this branch and use it for releasing dev builds.\r\n\r\n## Solution\r\n- Refactor `codegen/build-clients.sh` script to support the newer\r\nstructure for the upcoming API version, specifically `inference` is its\r\nown module, and `db_control`/`db_data` as separate modules.\r\n- Update imports and exports for `control` -> `db_control`, and\r\n`control` -> `inference` for the `Embed()` method on `InferenceService`.\r\n\r\nWe made the decision to have `InferenceService` as its own module inside\r\n`Client` because of the split in the API spec, so this was fairly easy\r\nto refactor around here.\r\n\r\n## Type of Change\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing\r\nfunctionality to not work as expected)\r\n- [ ] This change requires a documentation update\r\n- [X] Infrastructure change (CI configs, etc)\r\n- [ ] Non-code change (docs, etc)\r\n- [ ] None of the above: (explain here)\r\n\r\n## Test Plan\r\nThe code changes under `/internal/gen/*` are all from running the new\r\n`/codegen/build-clients.sh` script. I changed files in the submodule for\r\n`apis` manually for generating, but it aligns with this PR:\r\nhttps://github.com/pinecone-io/apis/pull/138\r\n\r\nMake sure CI build + tests pass for the new core stuff here.","shortMessageHtmlLink":"Refactor /codegen/build-clients.sh to support new apis structure,…"}},{"before":"5e3958fee2ac67eda91c97f5d5e6a6fe732d1df3","after":null,"ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-20T15:36:48.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"}},{"before":"27ce5d18e228496c36966c6b26afa84c374f8437","after":"7c4bc23e58069a471fc69ceaf6b9880d48b062af","ref":"refs/heads/main","pushedAt":"2024-09-20T15:36:47.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"Add Pinecone Local testing support in CI (#77)\n\n## Problem\r\nWe want to add CI that validates testing the Go SDK against an instance\r\nof pclocal hosted in a Docker container.\r\n\r\n## Solution\r\n- Update the `ci.yaml` GitHub workflow file to add a new `services`\r\nblock, which includes using the\r\n`ghcr.io/pinecone-io/pinecone-index:latest` Docker image to create and\r\nhow two indexes locally (pods and serverless).\r\n- Add new `/pinecone/local_test.go` which defines a new\r\n`LocalIntegrationTests` struct, which isolates a collection of tests\r\nspecifically meant for pclocal. The tests are isolated from our unit +\r\nintegration test suite with the `//go:build localServer` build tag. Two\r\nsuites are defined for pods and serverless, and each set of tests is run\r\nagainst both indexes. For now the test suite generates 100 vectors,\r\nupserts them to the index, tests basic Fetch, Query, Update,\r\nDescribeIndexStats, and Delete.\r\n- Add a new `Run local integration tests` step to the `ci.yaml`\r\nworkflow. This triggers the new `local-test.go` file which tests both\r\ninstances of locally hosted indexes (`PINECONE_INDEX_URL_POD`,\r\n`PINECONE_INDEX_URL_SERVERLESS`) with `go test -count=1 -v ./pinecone\r\n-run TestRunLocalIntegrationSuite -tags=localServer`.\r\n\r\n### To Do\r\nI'd like to expand the number of different tests we exercise on each\r\nindex. Specifically:\r\n- Metadata filtering\r\n- Sparse vectors\r\n- Multiple namespaces\r\n- List vectors\r\n\r\n## Type of Change\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing\r\nfunctionality to not work as expected)\r\n- [ ] This change requires a documentation update\r\n- [X] Infrastructure change (CI configs, etc)\r\n- [ ] Non-code change (docs, etc)\r\n- [ ] None of the above: (explain here)\r\n\r\n## Test Plan\r\nMake sure the CI workflow passes for this PR.\r\n\r\nIf you'd like to run the local integration tests locally, you will need\r\nto download Docker, and use `docker compose up` to create the same\r\nindexes on your local machine. Once you've done that, you'll need to\r\nexport environment variables for the different index addresses, along\r\nwith the dimension.\r\n\r\nHere's an example:\r\n\r\n```bash\r\nexport PINECONE_INDEX_URL_POD=\"http://localhost:5082\" PINECONE_INDEX_URL_SERVERLESS=\"http://localhost:5081\" PINECONE_DIMENSION=\"1536\"\r\n```\r\n\r\nThen, you can run the local integration tests directly:\r\n```bash\r\ngo test -count=1 -v ./pinecone -run TestRunLocalIntegrationSuite -tags=localServer\r\n```\r\n\r\n---\r\n- To see the specific tasks where the Asana app for GitHub is being\r\nused, see below:\r\n - https://app.asana.com/0/0/1208056331944375","shortMessageHtmlLink":"Add Pinecone Local testing support in CI (#77)"}},{"before":"c1a037f0563ef504ba8e19856d9046f0b4e9d6ad","after":"5e3958fee2ac67eda91c97f5d5e6a6fe732d1df3","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-20T15:20:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"use toUsage instead of something inline","shortMessageHtmlLink":"use toUsage instead of something inline"}},{"before":"7a54b5c9ee727c5d8f5393b0458f0e166050583d","after":"c1a037f0563ef504ba8e19856d9046f0b4e9d6ad","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-20T03:00:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"add additional query tests, filter by metadata, test we get metadata back, etc","shortMessageHtmlLink":"add additional query tests, filter by metadata, test we get metadata …"}},{"before":"34b1c09e679d068bedaade62a79a580c6f27c60e","after":"7a54b5c9ee727c5d8f5393b0458f0e166050583d","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-20T02:29:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"fix possible access of nil on ListResponse.Usage when creating ListVectorsResponse, only run test for list vectors when the test suite is for serverless, update serverless pclocal to dot-product in github ci","shortMessageHtmlLink":"fix possible access of nil on ListResponse.Usage when creating ListVe…"}},{"before":"2912ad737a5e3120eccfad88d1cc123f255bcace","after":"34b1c09e679d068bedaade62a79a580c6f27c60e","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-20T00:51:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"only delete by filter for cleanup on pod indexes","shortMessageHtmlLink":"only delete by filter for cleanup on pod indexes"}},{"before":"7e3913ab2778b038cf3a92b128f7c86ad116c1a7","after":"2912ad737a5e3120eccfad88d1cc123f255bcace","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-20T00:06:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"fix checking indexes after cleanup","shortMessageHtmlLink":"fix checking indexes after cleanup"}},{"before":"be98dd716a29d3fcb160efe312f2d4fd9ddddd83","after":"7e3913ab2778b038cf3a92b128f7c86ad116c1a7","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-20T00:01:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"make sure to actually delete all the vectors and check for double the amount we were previously checking for because of multiple namespaces","shortMessageHtmlLink":"make sure to actually delete all the vectors and check for double the…"}},{"before":"165e7f4752b566dcbb4c580835f161d3f986019c","after":"be98dd716a29d3fcb160efe312f2d4fd9ddddd83","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-19T23:51:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"update pinecone local test suite to test across a large dimension of index and namespace combinations, make sure we're using sparse vectors and attaching metadata, cover more deletion cases when the suite cleans up","shortMessageHtmlLink":"update pinecone local test suite to test across a large dimension of …"}},{"before":"34048a3f20cdc9366eb3c9ba4c543d214437f703","after":"165e7f4752b566dcbb4c580835f161d3f986019c","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-19T07:30:27.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"add basic tests for fetch, Query, Update, and DescribeIndexStats","shortMessageHtmlLink":"add basic tests for fetch, Query, Update, and DescribeIndexStats"}},{"before":"b7cf029dd0ccb73257b00245219ae142525239a6","after":"92c6c5782a2631780fba7f679e3dc9811cd920a7","ref":"refs/heads/release-candidate/2024-10","pushedAt":"2024-09-19T07:29:49.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"Refactor `/codegen/build-clients.sh` to support new `apis` structure, regenerate for `2024-10` (#76)\n\n## Problem\r\nThe upstream `/apis` submodule has undergone some changes since we last\r\nregenerated the client core. Our `/codegen/build-clients.sh` script no\r\nlonger handles the new module naming or structure properly.\r\n\r\nAdditionally, we want to regenerate off the upcoming API version so we\r\ncan pull in changes for things like Rerank.\r\n\r\nThis PR is **merging to a release candidate (RC) branch:\r\n`release-candidate/2024-10`**. We will track upcoming major version\r\nchanges in this branch and use it for releasing dev builds.\r\n\r\n## Solution\r\n- Refactor `codegen/build-clients.sh` script to support the newer\r\nstructure for the upcoming API version, specifically `inference` is its\r\nown module, and `db_control`/`db_data` as separate modules.\r\n- Update imports and exports for `control` -> `db_control`, and\r\n`control` -> `inference` for the `Embed()` method on `InferenceService`.\r\n\r\nWe made the decision to have `InferenceService` as its own module inside\r\n`Client` because of the split in the API spec, so this was fairly easy\r\nto refactor around here.\r\n\r\n## Type of Change\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing\r\nfunctionality to not work as expected)\r\n- [ ] This change requires a documentation update\r\n- [X] Infrastructure change (CI configs, etc)\r\n- [ ] Non-code change (docs, etc)\r\n- [ ] None of the above: (explain here)\r\n\r\n## Test Plan\r\nThe code changes under `/internal/gen/*` are all from running the new\r\n`/codegen/build-clients.sh` script. I changed files in the submodule for\r\n`apis` manually for generating, but it aligns with this PR:\r\nhttps://github.com/pinecone-io/apis/pull/138\r\n\r\nMake sure CI build + tests pass for the new core stuff here.","shortMessageHtmlLink":"Refactor /codegen/build-clients.sh to support new apis structure,…"}},{"before":"15a3b17341d8e1c47852866b792404617eb4193c","after":"34048a3f20cdc9366eb3c9ba4c543d214437f703","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-19T04:19:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"add basic tests for fetch, Query, Update, and DescribeIndexStats","shortMessageHtmlLink":"add basic tests for fetch, Query, Update, and DescribeIndexStats"}},{"before":"69220b9f09750cb95db615ec5451b40a960774b4","after":"15a3b17341d8e1c47852866b792404617eb4193c","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-19T03:24:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"try localhost in CI environment","shortMessageHtmlLink":"try localhost in CI environment"}},{"before":"884af0f2683e4b214d4c87b2459412d6240cf697","after":"69220b9f09750cb95db615ec5451b40a960774b4","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-19T03:22:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"try targeting different ports","shortMessageHtmlLink":"try targeting different ports"}},{"before":"e8acdbb5a353722695029bde2f53cbe5ebd8f0ab","after":"884af0f2683e4b214d4c87b2459412d6240cf697","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-19T03:19:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"fix assert in TestQueryVectors","shortMessageHtmlLink":"fix assert in TestQueryVectors"}},{"before":"04f8bbe4e16f64b4ff18012f07241be1bfbd4b53","after":"e8acdbb5a353722695029bde2f53cbe5ebd8f0ab","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-19T02:52:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"add logs, tweak add -tags=localServer","shortMessageHtmlLink":"add logs, tweak add -tags=localServer"}},{"before":"f43176554a02332e9b8a696ed4bd8f388ebfc1b2","after":"04f8bbe4e16f64b4ff18012f07241be1bfbd4b53","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-19T02:42:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"update go test command again, fix targeting package","shortMessageHtmlLink":"update go test command again, fix targeting package"}},{"before":"a7c4b338eaa3937eb1ff8ef959531ba5e178f235","after":"f43176554a02332e9b8a696ed4bd8f388ebfc1b2","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-19T02:34:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"run local_test.go directly, fix host environment variable names","shortMessageHtmlLink":"run local_test.go directly, fix host environment variable names"}},{"before":"c98e84e00193baa5f11077d58dcaffca6f1c91d0","after":"a7c4b338eaa3937eb1ff8ef959531ba5e178f235","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-19T02:21:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"fix go test command","shortMessageHtmlLink":"fix go test command"}},{"before":"4bddc0a10d23c6ea188a3d5e889257e7a03c8e64","after":"c98e84e00193baa5f11077d58dcaffca6f1c91d0","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-19T02:17:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"update ci workflow to run local integration tests even if the tests step fails, pass the service name and port rather than localhost as environment variables","shortMessageHtmlLink":"update ci workflow to run local integration tests even if the tests s…"}},{"before":null,"after":"4bddc0a10d23c6ea188a3d5e889257e7a03c8e64","ref":"refs/heads/adenoble/pclocal-ci-support","pushedAt":"2024-09-18T21:29:01.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"update ci workflow to run local integration test steps using pclocal docker image, add new local_test.go harness for handling specific testing scenarios","shortMessageHtmlLink":"update ci workflow to run local integration test steps using pclocal …"}},{"before":"64f1d686e9c7748d227d1ea4e2980eaba7d7130c","after":"27ce5d18e228496c36966c6b26afa84c374f8437","ref":"refs/heads/main","pushedAt":"2024-09-18T16:34:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"[skip ci] Bump version to v1.1.1","shortMessageHtmlLink":"[skip ci] Bump version to v1.1.1"}},{"before":"ec0b31cd15e29b5909a05f82a9939ba5d5bf8960","after":null,"ref":"refs/heads/adenoble/refactor-code-generation-regenerate-2024-10","pushedAt":"2024-09-16T17:48:27.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"}},{"before":"64f1d686e9c7748d227d1ea4e2980eaba7d7130c","after":"b7cf029dd0ccb73257b00245219ae142525239a6","ref":"refs/heads/release-candidate/2024-10","pushedAt":"2024-09-16T17:48:26.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"Refactor `/codegen/build-clients.sh` to support new `apis` structure, regenerate for `2024-10` (#76)\n\n## Problem\r\nThe upstream `/apis` submodule has undergone some changes since we last\r\nregenerated the client core. Our `/codegen/build-clients.sh` script no\r\nlonger handles the new module naming or structure properly.\r\n\r\nAdditionally, we want to regenerate off the upcoming API version so we\r\ncan pull in changes for things like Rerank.\r\n\r\nThis PR is **merging to a release candidate (RC) branch:\r\n`release-candidate/2024-10`**. We will track upcoming major version\r\nchanges in this branch and use it for releasing dev builds.\r\n\r\n## Solution\r\n- Refactor `codegen/build-clients.sh` script to support the newer\r\nstructure for the upcoming API version, specifically `inference` is its\r\nown module, and `db_control`/`db_data` as separate modules.\r\n- Update imports and exports for `control` -> `db_control`, and\r\n`control` -> `inference` for the `Embed()` method on `InferenceService`.\r\n\r\nWe made the decision to have `InferenceService` as its own module inside\r\n`Client` because of the split in the API spec, so this was fairly easy\r\nto refactor around here.\r\n\r\n## Type of Change\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing\r\nfunctionality to not work as expected)\r\n- [ ] This change requires a documentation update\r\n- [X] Infrastructure change (CI configs, etc)\r\n- [ ] Non-code change (docs, etc)\r\n- [ ] None of the above: (explain here)\r\n\r\n## Test Plan\r\nThe code changes under `/internal/gen/*` are all from running the new\r\n`/codegen/build-clients.sh` script. I changed files in the submodule for\r\n`apis` manually for generating, but it aligns with this PR:\r\nhttps://github.com/pinecone-io/apis/pull/138\r\n\r\nMake sure CI build + tests pass for the new core stuff here.","shortMessageHtmlLink":"Refactor /codegen/build-clients.sh to support new apis structure,…"}},{"before":"7dd446bfb14a2900cc7184542c4a79a921d8b3b4","after":"ec0b31cd15e29b5909a05f82a9939ba5d5bf8960","ref":"refs/heads/adenoble/refactor-code-generation-regenerate-2024-10","pushedAt":"2024-09-16T17:13:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"update submodule reference","shortMessageHtmlLink":"update submodule reference"}},{"before":"5c3eb043683e1c71510c2c76e2d44bf3ca58c5e2","after":"7dd446bfb14a2900cc7184542c4a79a921d8b3b4","ref":"refs/heads/adenoble/refactor-code-generation-regenerate-2024-10","pushedAt":"2024-09-14T04:30:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"run ci workflow on all prs","shortMessageHtmlLink":"run ci workflow on all prs"}},{"before":"b6c0214ce4c8f947acda72a1f9558afe33a892b5","after":"5c3eb043683e1c71510c2c76e2d44bf3ca58c5e2","ref":"refs/heads/adenoble/refactor-code-generation-regenerate-2024-10","pushedAt":"2024-09-14T04:27:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"clean up naming, use module_version all over","shortMessageHtmlLink":"clean up naming, use module_version all over"}},{"before":null,"after":"b6c0214ce4c8f947acda72a1f9558afe33a892b5","ref":"refs/heads/adenoble/refactor-code-generation-regenerate-2024-10","pushedAt":"2024-09-14T04:12:56.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"refactor codegen/build-clients.sh script to support the newer structure for the upcoming API version, specifically inference is its own module, and db_control/db_data split control and data plane, rename and update exports and imports","shortMessageHtmlLink":"refactor codegen/build-clients.sh script to support the newer structu…"}},{"before":null,"after":"64f1d686e9c7748d227d1ea4e2980eaba7d7130c","ref":"refs/heads/release-candidate/2024-10","pushedAt":"2024-09-14T03:57:47.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"austin-denoble","name":"Austin DeNoble","path":"/austin-denoble","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119623786?s=80&v=4"},"commit":{"message":"Fix `normalizeHost`, allow for non-secure connections (#74)\n\n## Problem\r\nWhen working with specific environments and hosts that require a\r\nnon-secure connection, calling\r\n`pc.Index(pinecone.NewIndexConnParams{Host: idx.Host})` with a `Host`\r\nvalue that is insecure, you'll run into unexpected behavior seeing\r\n`:443` attached as a port, or gRPC errors around connecting insecurely\r\nwithout explicitly passing a `grpc.DialOption`.\r\n\r\nOur `normalizeHost` function has a bug in that it applies port `:443` to\r\n`Host` values which are passed without an explicit scheme.\r\n\r\n## Solution\r\n- We can simplify the `normalizeHost` function to only deal with\r\nstripping away any provided scheme, and then checking to see if the\r\nconnection is explicitly insecure. This is accomplished by providing\r\n`http://` as a part of the `NewIndexConnParams{ Host: yourHost }` value,\r\nwhich would need to be accounted for in documentation, etc.\r\n\r\nThis felt most straightforward because of how the `grpc` module handles\r\nhost addresses. Ultimately, we need to strip the scheme off any hosts\r\nthat are passed, but we also need to decide whether we're dialing in a\r\nsecure or insecure fashion. I thought of providing an explicit `bool` as\r\na part of the `NewIndexConnParams`, but it felt more unwieldy adding new\r\nfields.\r\n\r\n## Type of Change\r\n- [X] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing\r\nfunctionality to not work as expected)\r\n- [ ] This change requires a documentation update\r\n- [ ] Infrastructure change (CI configs, etc)\r\n- [ ] Non-code change (docs, etc)\r\n- [ ] None of the above: (explain here)\r\n\r\n## Test Plan\r\n\r\nI have a local test harness that I'm using to interact with a locally\r\nhosted index. I was overriding the `go-pinecone` package in `go.mod` to\r\nwork against my local copy of the SDK. You can pull this branch down and\r\ndo something similar locally. Here are some of my results:\r\n\r\n### Before\r\n![Screenshot 2024-09-12 at 10 09\r\n45 PM](https://github.com/user-attachments/assets/1ba87d57-24ee-44ab-bb14-08b7fe98a683)\r\n\r\n### After\r\n![Screenshot 2024-09-12 at 10 33\r\n59 PM](https://github.com/user-attachments/assets/c26ad177-3ca6-4664-a708-31ea4fccff3e)","shortMessageHtmlLink":"Fix normalizeHost, allow for non-secure connections (#74)"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0yMFQxNzoyODo0My4wMDAwMDBazwAAAAS8N992","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xNFQwMzo1Nzo0Ny4wMDAwMDBazwAAAAS2CzIB"}},"title":"Activity · pinecone-io/go-pinecone"}