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

Write better tests for Pipeline.run() #7611

Open
silvanocerza opened this issue Apr 29, 2024 · 0 comments
Open

Write better tests for Pipeline.run() #7611

silvanocerza opened this issue Apr 29, 2024 · 0 comments
Assignees
Labels
2.x Related to Haystack v2.0 P1 High priority, add to the next sprint topic:core topic:tests

Comments

@silvanocerza
Copy link
Contributor

Pipeline.run() tests are not as reliable as we want, there are some corner cases that are not covered and in the past weeks we found and fixed quite some bugs. See #7531, #7434 and #7426.

We need to rewrite some tests to be simpler and easier to understand, and also leverage tracing to verify Components are run in the expected order.

Some tests can also be removed too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Related to Haystack v2.0 P1 High priority, add to the next sprint topic:core topic:tests
Projects
None yet
Development

No branches or pull requests

1 participant