-
Notifications
You must be signed in to change notification settings - Fork 129
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
target invalidated when referenced from another plan #681
Comments
That's a great point. Please include all your targets in a single plan (with You could split up different plans into different projects with different sessions and caches. (See the |
Thanks. Do you think this could detected with a warning? This behavior is not entirely obvious, and took a lot of time to debug for me. Regarding my case, combining two plans is not a good option, since the second plan is created conditionally based on the results of the first plan. This is because not all branches of the graph can be computed (see second point of #528), so I'm trying to solve it with a preprocessing plan. Having a separate cache is an option, I did it for a while. But I discovered that |
I could be convinced. However, for large workflows, it seems like this would require a lot of cache operations, so I doubt it will scale well. I would be happy to review a pull request, though. |
Note that target
a
was not changed, however it's invalidated.This works as expected:
The text was updated successfully, but these errors were encountered: