kaxil commented on code in PR #53684:
URL: https://github.com/apache/airflow/pull/53684#discussion_r2227854721


##########
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:
   Actually it is the last TI, not first TI. The docstrings on 2.11.0 was wrong 
-- although the code was right and picked the last TI



-- 
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]

Reply via email to