pierrejeambrun commented on PR #43508: URL: https://github.com/apache/airflow/pull/43508#issuecomment-2457718821
I just pushed a new commit that should help you. Tests are green for `test_patch_dag_run` and both https://github.com/apache/airflow/pull/43508/commits/e75afb79ae7f06f594064e55211f3ff1a97ef92c. The issue is coming session related and coming from the fact that methods such as `set_dag_run_state_to_success` are not updating the `dag_run` that we have in our context. Therefore we can do that beforehand, refetch the dag_run and then proceed to normal update. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
