-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
tasks are uptodate even though their task_dependency is not #445
Comments
Please include a minimal |
Hi, it is a bit nasty, but you should be able to reproduce the issue from it. Run on doit 0.35.0
Including also console log
Please let me know if you need additional info. |
If you execute again the output would be:
So the A task-dependency only indicates that another task should be “executed” before itself. [1] |
@schettino72 Can I ask why the up-to-date state isn't propagated? Have you considered adding this feature? Since it's a common "misconception", it's probably a behavior that is illogical and unexpected by most users who encounter it. |
Thanks for info. Well this behavior is easily overridable, just wanted to report it. But from my point of view, if task depends on another task, its final state should be also dependent on state of child task. Thanks for explanation and sorry for wasting your time. FAQ section will surely help plenty of other users! :) |
Well, that's your use case. You could repeat the same "file_dep" in the [1] https://pydoit.org/uptodate.html?highlight=result_dep#result-dependency |
Issue:
After version bump I found out, that tasks are uptodate even though some of their task_deps are not. Only subtask is rebuilt afterwards and not whole tree to the parent
Not sure whether this was intentional or really a bugfix.
Workaround:
In task_loader inject True or False to "uptodate" for each task in task_deps, depending on status of dependent task.
Environment
Let me know if additional informations or sth is needed.
The text was updated successfully, but these errors were encountered: