You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Context is not preserved after execution returns from deferred state #39503
We are using 8.7.1. version of airflow provider package and set deferrable to True when using SageMakerTransformOperator. We set define the model name with something like "project-dag_name-date-uuid", where uuid is to deduplicate model names upon retry. However, when the execution gets back from deferred state, the original uuid is not preserved and there would be a new uuid so the operator cannot find a model with the new model name and it would fail.
What you think should happen instead?
The original UUID should be preserved
How to reproduce
In the operator config, set "ModelName": f"{name}-{str(uuid4())[:8]}". The run the DAG.
Activity
potiuk commentedon May 9, 2024
Can you check if it's the same in latest provider please @mxuan0 ?
vincbeck commentedon May 16, 2024
Thanks @mxuan0 for posting the issue, it is indeed a bug, here is a fix: #39671