benitezfede commented on code in PR #53684:
URL: https://github.com/apache/airflow/pull/53684#discussion_r2226733973
##########
airflow-core/src/airflow/jobs/scheduler_job_runner.py:
##########
@@ -1854,6 +1854,10 @@ def _schedule_dag_run(
run_id=dag_run.run_id,
bundle_name=dag_model.bundle_name,
bundle_version=dag_run.bundle_version,
+ context_from_server=DagRunContext(
+ dag_run=dag_run,
+ first_ti=dag_run.get_first_ti(dag=dag,
session=session),
Review Comment:
Why do we pass only the first task instance?
What it is useful it is to get the list of tasks and also with the state so
we can immediatly know which one failed.
--
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]