kaxil commented on a change in pull request #16768:
URL: https://github.com/apache/airflow/pull/16768#discussion_r664471172
##########
File path: airflow/dag_processing/processor.py
##########
@@ -573,6 +573,7 @@ def _execute_task_callbacks(self, dagbag: DagBag, request:
TaskCallbackRequest):
ti.start_date = simple_ti.start_date
ti.end_date = simple_ti.end_date
ti.try_number = simple_ti.try_number
+ ti.hostname = simple_ti.hostname
Review comment:
probably calling `ti.refresh_from_db()` can do the trick instead of this?
Have you tested with this fix?
--
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]