github-actions[bot] opened a new pull request, #75376:
URL: https://github.com/apache/airflow/pull/75376

   * Extract a helper that looks up the stub task
   
   * Add execution_timeout to TIRunContext
   
   * Add execution_timeout to the supervisor schema
   
   * Arm the supervisor execution timeout from the run context
   
   * Document that the supervisor timeout covers language SDK tasks
   
   * Treat a negative execution_timeout as elapsed for language SDK tasks
   
   The Python task runner fails a task with a negative execution_timeout
   right away. Sent as-is, a negative value would instead move the
   supervisor's SIGTERM deadline to an arbitrary earlier point, and
   treating it as no timeout would let the task run forever. Clamping it
   to zero makes the supervisor treat the timeout as already elapsed,
   which is the closest the outside layer can get to the Python behavior.
   
   * Send execution_timeout in the run context for all tasks
   
   * Start the execution timeout for language SDK tasks in the coordinator
   
   * Replace SetExecutionTimeout with StartExecutionTimeout
   
   * Look up the task once in ti_run
   
   * Fill the default execution_timeout of Lang-SDK tasks from the config
   
   * Arm the execution timeout only in _arm_execution_timeout
   
   * Store execution_timeout at startup and arm it in _on_child_started
   
   * Align docstrings with the execution timeout changes
   
   * Rename the task variable in ti_run to fix mypy
   (cherry picked from commit 597aff10d71ca8e02de97d891e4f758c878bb1f7)
   
   Co-authored-by: ChickenBenny <[email protected]>


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