-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Destination Pinecone: Add source_tag for attribution + unit tests #38151
Destination Pinecone: Add source_tag for attribution + unit tests #38151
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
airbyte-integrations/connectors/destination-pinecone/destination_pinecone/indexer.py
Show resolved
Hide resolved
airbyte-integrations/connectors/destination-pinecone/unit_tests/destination_test.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. One suggestion - which is totally optional - but I think we can use a built-in env var Rather than declaring a new one. This should be slightly more stable since new tests will also automatically have this set.
One additional issue I'm seeing now is that CAT tests don't rely on PyTest, and we should try to account for them as well.
Can we check if CAT and/or airbyte-ci set an enrollment variable which we can detect?
...-integrations/connectors/destination-pinecone/integration_tests/pinecone_integration_test.py
Outdated
Show resolved
Hide resolved
...-integrations/connectors/destination-pinecone/integration_tests/pinecone_integration_test.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/destination-pinecone/destination_pinecone/indexer.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/destination-pinecone/destination_pinecone/indexer.py
Show resolved
Hide resolved
…on_pinecone/indexer.py Co-authored-by: Aaron ("AJ") Steers <[email protected]>
…on_tests/pinecone_integration_test.py Co-authored-by: Aaron ("AJ") Steers <[email protected]>
…on_tests/pinecone_integration_test.py Co-authored-by: Aaron ("AJ") Steers <[email protected]>
…inecone-test-coverage
|
@aaronsteers, addressed the review feedback. We are using built-in pytest env variable now, and also checking the CI env variable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!! 🚀🎉
Related tickets:
Changes in this PR:
source_tag
when initializingPineconeGRPC
module. Tag is set to "airbyte" by default. For integration tests, tag is set to "airbyte_tests". Documentation for reference.