uranusjr commented on code in PR #23119:
URL: https://github.com/apache/airflow/pull/23119#discussion_r855665917
##########
airflow/dag_processing/processor.py:
##########
@@ -604,7 +604,7 @@ def _execute_task_callbacks(self, dagbag: DagBag, request:
TaskCallbackRequest):
if simple_ti.task_id in dag.task_ids:
task = dag.get_task(simple_ti.task_id)
if request.is_failure_callback:
- ti = TI(task, run_id=simple_ti.run_id)
+ ti = TI(task, run_id=simple_ti.run_id,
map_index=simple_ti.map_index)
Review Comment:
Perhaps we should revive #19242, it can make the TI <-> SimpleTI conversions
more future-proof.
--
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]