Closed nicolasmueller closed 3 months ago
This PR also fixes an issue where a lazy task was not executed even when run standalone (without a stage) if it was cache valid.
If I have time, I’d like to review this a bit more closely. (Everything cache related is prime bug territory)
I could not find any code that copies force_task_execution to _force_task_execution.
I believe that happens in the ConfigContext.evolve
function calls this: https://www.attrs.org/en/stable/api.html#attrs.evolve. It says e.g.
private attributes should be specified without the leading underscore, just like in init.
To make it even more complicated, we should not forget this feature when thinking about refactoring config options:
cfg = ConfigContext.get().evolve(ignore_task_version=True)
Closing in benefit of #170
Fixes #165
Further changes:
ignore_cache_function=True
prevent cache function callsforce_task_execution=True
option inflow.run()
implyignore_cache_function=True
config_context._force_task_execution=True
.Checklist
docs/source/changelog.md
entry