Jeff Brainerd
09/03/2020, 6:41 PMraise signals.RETRY
in those cases. Problem is this does not appear to work in the task handler. This code gets called: https://github.com/PrefectHQ/prefect/blob/5b7015a75ea60bc5a8ffb676b3be2ff406103583/src/prefect/engine/cloud/task_runner.py#L96-L105 and the task ultimately is failed, not retried. So should our code be something more like this:
return Retrying(msg=msg, context=new_state.context)
or should this in fact work? Thanks!Dylan
09/03/2020, 6:47 PMMarvin
09/03/2020, 7:39 PMJeff Brainerd
09/03/2020, 7:42 PMDylan
09/03/2020, 7:45 PM