https://prefect.io logo
Title
a

Andreas Nord

05/03/2022, 8:54 AM
After upgrading Prefect I get this warning on tasks with retry settings:
UserWarning: Task <Task: task_name> has retry settings but some upstream dependencies do not have result types. Cloud features such as input caching and resuming task runs from failure may not work properly.
The (automatic) retrying seems to be working fine, not sure what this warning refers to. I am aware that I cannot resume task run from failure, but not sure why that is related to retry settings
a

Anna Geller

05/03/2022, 10:42 AM
This page explains it https://discourse.prefect.io/t/why-results-need-to-be-configured-in-order-to-use-retries/867 TL;DR: it's required because Prefect may need inputs from upstream tasks in order to retry a task and that's what Results are used for