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

Fix _debug info getting lost for previous nodes when using join nodes #2776

Merged
merged 3 commits into from
Jul 7, 2022

Conversation

tstadel
Copy link
Member

@tstadel tstadel commented Jul 7, 2022

Proposed changes:

  • copy and merge _debug info of previous nodes when handling join nodes

Additional context:
This leads to losing eval data on the previous nodes during pipeline.eval().

Pre-flight checklist

  • If this is a code change, I added tests or updated existing ones

/cc @wochinge @erendabanlioglu

Copy link
Member

@julian-risch julian-risch left a comment

Choose a reason for hiding this comment

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

Ah great to see you found and fixed this bug! Never thought about Join nodes in that context before. LGTM! 👍

@tstadel tstadel merged commit 45136ba into master Jul 7, 2022
@tstadel tstadel deleted the fix_debug_for_join_nodes branch July 7, 2022 13:10
Krak91 pushed a commit to Krak91/haystack that referenced this pull request Jul 26, 2022
…deepset-ai#2776)

* fix debug output for pipelines with join nodes

* add test

* Update Documentation & Code Style

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic:pipeline type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants