-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Retry a stopped workflow report Ancestor node not found #12156
Comments
Thanks for the investigation here!
Not necessarily. If a |
Thank you for your response. In this example, I attempted to retry the workflow on UI without using the This caused the controller to mark the workflow as being in an |
Hi, your change is not true, you only change the code to adapt this sense. |
@hustclf I thought about it again, and my previous statement about using bfs may lead to ambiguity. To be more precise, BFS should first traverse each node, record the dependent nodes (parent nodes) of each node, and then traverse and determine whether the current node should be retained after this operation is completed |
Pre-requisites
:latest
What happened/what you expected to happen?
What happened
I created a DAG workflow with four tasks (A, B, C, D). When tasks A and B were successfully completed, I stopped the workflow during the execution of task C. After retrying the workflow, I noticed that the workflow's phase immediately changed to 'Error' and displayed an error message stating that the ancestor node 'C' was not found.
what you expected to happen?
I would like to be able to successfully retry a stopped workflow.
Version
v3.4.13
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
The text was updated successfully, but these errors were encountered: