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


##########
task-sdk/src/airflow/sdk/execution_time/task_runner.py:
##########
@@ -753,6 +754,12 @@ def startup() -> tuple[RuntimeTaskInstance, Context, 
Logger]:
         ti = parse(msg, log)
     log.debug("Dag file parsed", file=msg.dag_rel_path)
 
+    # Send execution timeout to supervisor if configured
+    if hasattr(ti.task, "execution_timeout") and ti.task.execution_timeout:

Review Comment:
   When would the execution_timeout attribute not exist?



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