test: adding Mixin filter async tests and using them in InMemoryDocumentStore tests#10975
Merged
davidsbatista merged 1 commit intomainfrom Mar 30, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
bogdankostic
approved these changes
Mar 30, 2026
SyedShahmeerAli12
pushed a commit
to SyedShahmeerAli12/haystack
that referenced
this pull request
Mar 30, 2026
…yDocumentStore tests (deepset-ai#10975)
anakin87
added a commit
that referenced
this pull request
Mar 30, 2026
…try (#10954) * docs: add TavilyWebSearch component page and external integration entry * fix: `CountDocumentsAsyncTest`, `WriteDocumentsAsyncTest`, `WriteDocumentsAsyncTest` (#10948) * fix: address #10917 * removing lazyimport + solving MRO conflict --------- Co-authored-by: David S. Batista <[email protected]> * docs: remove gpt-3.5-turbo mentions and use ChatMessage.txt (no content) (#10958) * fix: `DeleteAllAsyncTest`, `DeleteByFilterAsyncTest`, (#10952) * fix: address #10919 * adding delete_all_documents_async missing in InMemoryDocumentStore --------- Co-authored-by: David S. Batista <[email protected]> * Sync Haystack API reference on Docusaurus (#10959) Co-authored-by: davidsbatista <[email protected]> * fix: `UpdateByFilterAsyncTest`, `CountDocumentsByFilterAsyncTest`, `CountUniqueMetadataByFilterAsyncTest` (#10953) * fix: address #10920 * formatting --------- Co-authored-by: David S. Batista <[email protected]> * Sync Haystack API reference on Docusaurus (#10961) Co-authored-by: davidsbatista <[email protected]> * docs: fixing code snippets syntax errors (#10955) * fixing docs syntax errors * fixing a few more docs syntax errors * feat: add get_meta_data async mixin tests to haystack.testing + InMemoryDocumentStore async operations and tests (#10963) * adding get_metadata async related Mixin tests * adding get_metadata async methods to the InMemoryDocumentStore * using Mixin async metadata tests to InMemoryDocumentstore tests * adding release notes * double ticks in release notes * Update haystack/testing/document_store_async.py Co-authored-by: Stefano Fiorucci <[email protected]> --------- Co-authored-by: Stefano Fiorucci <[email protected]> * Sync Haystack API reference on Docusaurus (#10962) Co-authored-by: davidsbatista <[email protected]> * docs: update llama.cpp repo links from ggerganov to ggml-org (#10964) * Sync Core Integrations API reference (nvidia) on Docusaurus (#10974) Co-authored-by: anakin87 <[email protected]> * build: switch to trusted publishing (#10976) * test: adding mixing filter async tests + implementing them in InMemoryDocumentStore tests (#10975) * docs: address reviewer feedback on TavilyWebSearch docs - Fix pipeline position description (remove LinkContentFetcher reference) - Remove hardcoded model name to avoid future maintenance - Fix .content -> .text (field was removed) - Move Tavily entry from external-integrations-websearch.mdx to websearch.mdx - Copy tavilywebsearch.mdx to versioned_docs/version-2.26 - Add tavilywebsearch to sidebars.js and version-2.26-sidebars.json Co-Authored-By: Claude Sonnet 4.6 <[email protected]> --------- Co-authored-by: Stefano Fiorucci <[email protected]> Co-authored-by: Miguel Miranda Dias <[email protected]> Co-authored-by: David S. Batista <[email protected]> Co-authored-by: Haystack Bot <[email protected]> Co-authored-by: davidsbatista <[email protected]> Co-authored-by: SATISH K C <[email protected]> Co-authored-by: anakin87 <[email protected]> Co-authored-by: Julian Risch <[email protected]> Co-authored-by: Claude Sonnet 4.6 <[email protected]>
SyedShahmeerAli12
added a commit
to SyedShahmeerAli12/haystack-core-integrations
that referenced
this pull request
Mar 30, 2026
Inherit from async mixin classes introduced in deepset-ai/haystack#10975 to eliminate duplicate test code in TestValkeyDocumentStoreAsync. Mixins added (from haystack.testing.document_store and document_store_async): - CountDocumentsAsyncTest - WriteDocumentsAsyncTest - DeleteDocumentsAsyncTest - DeleteAllAsyncTest - DeleteByFilterAsyncTest - UpdateByFilterAsyncTest - CountDocumentsByFilterAsyncTest - CountUniqueMetadataByFilterAsyncTest - GetMetadataFieldMinMaxAsyncTest - GetMetadataFieldUniqueValuesAsyncTest Override WriteDocumentsAsyncTest methods that rely on DuplicatePolicy.FAIL and DuplicatePolicy.SKIP, which are not supported by ValkeyDocumentStore. Closes deepset-ai#3053 Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
SyedShahmeerAli12
added a commit
to SyedShahmeerAli12/haystack-core-integrations
that referenced
this pull request
Mar 31, 2026
The async test mixin classes (document_store_async module) were added in deepset-ai/haystack#10975 and are only available from haystack-ai>=2.27.0rc1. The previous constraint (>=2.26.1) caused a ModuleNotFoundError at test collection. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
SyedShahmeerAli12
added a commit
to SyedShahmeerAli12/haystack-core-integrations
that referenced
this pull request
Apr 1, 2026
Inherit from async mixin classes introduced in deepset-ai/haystack#10975 to eliminate duplicate test code in TestValkeyDocumentStoreAsync. Mixins added (from haystack.testing.document_store and document_store_async): - CountDocumentsAsyncTest - WriteDocumentsAsyncTest - DeleteDocumentsAsyncTest - DeleteAllAsyncTest - DeleteByFilterAsyncTest - UpdateByFilterAsyncTest - CountDocumentsByFilterAsyncTest - CountUniqueMetadataByFilterAsyncTest - GetMetadataFieldMinMaxAsyncTest - GetMetadataFieldUniqueValuesAsyncTest Override WriteDocumentsAsyncTest methods that rely on DuplicatePolicy.FAIL and DuplicatePolicy.SKIP, which are not supported by ValkeyDocumentStore. Closes deepset-ai#3053 Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
SyedShahmeerAli12
added a commit
to SyedShahmeerAli12/haystack-core-integrations
that referenced
this pull request
Apr 1, 2026
The async test mixin classes (document_store_async module) were added in deepset-ai/haystack#10975 and are only available from haystack-ai>=2.27.0rc1. The previous constraint (>=2.26.1) caused a ModuleNotFoundError at test collection. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
SyedShahmeerAli12
added a commit
to SyedShahmeerAli12/haystack-core-integrations
that referenced
this pull request
Apr 1, 2026
Inherit from async mixin classes introduced in deepset-ai/haystack#10975 to eliminate duplicate test code in TestValkeyDocumentStoreAsync. Mixins added (from haystack.testing.document_store and document_store_async): - CountDocumentsAsyncTest - WriteDocumentsAsyncTest - DeleteDocumentsAsyncTest - DeleteAllAsyncTest - DeleteByFilterAsyncTest - UpdateByFilterAsyncTest - CountDocumentsByFilterAsyncTest - CountUniqueMetadataByFilterAsyncTest - GetMetadataFieldMinMaxAsyncTest - GetMetadataFieldUniqueValuesAsyncTest Override WriteDocumentsAsyncTest methods that rely on DuplicatePolicy.FAIL and DuplicatePolicy.SKIP, which are not supported by ValkeyDocumentStore. Closes deepset-ai#3053
SyedShahmeerAli12
added a commit
to SyedShahmeerAli12/haystack-core-integrations
that referenced
this pull request
Apr 1, 2026
The async test mixin classes (document_store_async module) were added in deepset-ai/haystack#10975 and are only available from haystack-ai>=2.27.0rc1. The previous constraint (>=2.26.1) caused a ModuleNotFoundError at test collection.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
FilterDocumentsAsyncTestwith 3 smoke tests #10922Proposed Changes:
A new class
FilterDocumentsAsyncTestwith 3 tests:How did you test it?
Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:and added!in case the PR includes breaking changes.