uranusjr commented on code in PR #76682:
URL: https://github.com/apache/airflow/pull/76682#discussion_r4638600906


##########
airflow-core/src/airflow/models/dagrun.py:
##########
@@ -1355,14 +1355,20 @@ def _emit_dagrun_span(self, state: DagRunState):
 
     @provide_session
     def update_state(
-        self, *, session: Session = NEW_SESSION, execute_callbacks: bool = True
+        self,
+        *,
+        session: Session = NEW_SESSION,
+        execute_callbacks: bool = True,
+        retry_timeout_expired_tis: list[TI] | None = None,

Review Comment:
   Using a mutable list as an out-parameter threaded through update_state to 
task_instance_scheduling_decisions is awkward, and it does nothing when 
`execute_callbacks=True`. If this stays scheduler-side, return the expired TIs 
in TISchedulingDecision, or better, make expiry go through the TI's failure 
handling.



##########
airflow-core/src/airflow/migrations/versions/0157_3_5_0_add_retry_timeout_deadline.py:
##########


Review Comment:
   This now logically conflicts to main and needs to be renumbered and revision 
adjusted.



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