fix wrongly remove reset nodes#20880
Merged
Nov1c444 merged 1 commit intolanggenius:mainfrom Jun 19, 2025
Merged
Conversation
Member
|
It seems that we fixed in plugin daemon side |
Contributor
Author
This is nothing todo with backwards invocations. It's just a normal call with ifelse branch. Maybe u can try the above method to reproduce. |
5 tasks
jsincorporated
pushed a commit
to jsincorporated/asaAi
that referenced
this pull request
Jul 8, 2025
Co-authored-by: zhuqingchao <zhuqingchao@xiaomi.com>
tutkun
pushed a commit
to tutkun/dify
that referenced
this pull request
Aug 15, 2025
Co-authored-by: zhuqingchao <zhuqingchao@xiaomi.com>
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.
Important
Fixes #<issue number>.Summary
Screenshots
Checklist
dev/reformat(backend) andcd web && npx lint-staged(frontend) to appease the lint godsreproduce:



expect: the final answer node print streamly
truth:
_fetch_node_ids_in_reachable_branchcan not fetch all node when the second ifelse's branch_identify is not match.for the ifelse2 node' branch_identify is a uuid but the ifelse1 node's branch_identify is true. so the node link break.
_remove_node_ids_in_unreachable_branchwith a 'wrong' reachable_node_ids. this method will remove all nodes