Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add grpc unit test run, expand testing of VectorFactory #326

Merged
merged 7 commits into from
Mar 28, 2024

Conversation

jhamon
Copy link
Collaborator

@jhamon jhamon commented Mar 22, 2024

Problem

There is a small number of unit tests that should only get run when grpc dependencies are installed. These were previously omitted from CI by mistake.

Solution

Add a step to run these grpc steps. Make it conditional on the use_grpc test matrix param.

Type of Change

  • Infrastructure change (CI configs, etc)
  • Non-code change (docs, etc)
  • None of the above: (explain here)

@jhamon jhamon marked this pull request as ready for review March 22, 2024 16:59
@jhamon jhamon requested a review from ssmith-pc March 22, 2024 16:59
Copy link
Contributor

@austin-denoble austin-denoble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks! 🚢

@ssmith-pc
Copy link
Contributor

Thanks!

@@ -28,8 +28,11 @@ jobs:
with:
include_grpc: '${{ matrix.use_grpc }}'
include_types: true
- name: Run unit tests
- name: Run unit tests (REST)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these do cover the REST surface area, but also a lot of the "other" stuff like common utils, etc.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. They're really meant to be "everything that doesn't require GRPC dependencies" unit tests. But that doesn't roll off the tongue 🤣

@jhamon jhamon changed the title Add grpc unit test run Add grpc unit test run, expand testing of VectorFactory Mar 26, 2024
@jhamon jhamon merged commit f229f45 into main Mar 28, 2024
125 checks passed
@jhamon jhamon deleted the jhamon/run-unit-grpc-tests branch March 28, 2024 17:17
mcpaddy added a commit to mcpaddy/pinecone-python-client that referenced this pull request May 22, 2024
* 'main' of github.com:pinecone-io/pinecone-python-client:
  [skip ci] Bump version to v4.1.0
  Bump tqdm from 4.66.1 to 4.66.3 (pinecone-io#344)
  Bump idna from 3.4 to 3.7 (pinecone-io#345)
  Bump jinja2 from 3.1.3 to 3.1.4 (pinecone-io#343)
  Add better error messages for mistaken `from_texts` and `from_documents` (pinecone-io#342)
  Support proxy_url and ssl_ca_certs options for gRPC (pinecone-io#341)
  Remove serverless public preview warnings (pinecone-io#340)
  [skip ci] Bump version to v4.0.0
  Improve upsert throughput by 3x (pinecone-io#334)
  Remove `merge` workflow and update `build-and-publish-docs` workflow to be manually runnable (pinecone-io#335)
  [skip ci] Bump version to v3.2.2
  [Fix] openapi_config deprecation warning incorrectly shown (pinecone-io#327)
  Add grpc unit test run, expand testing of VectorFactory (pinecone-io#326)
  [skip ci] Bump version to v3.2.1
  Allow clients to tag requests with a source_tag (pinecone-io#324)
  [skip ci] Bump version to v3.2.0
  Revise proxy configuration, add integration testing (pinecone-io#325)
  [Fix] Configuring SSL proxy via openapi_config object (pinecone-io#321)
  Update README.md (pinecone-io#323)
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.

3 participants