You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ashb (via GitHub)" <gi...@apache.org> on 2026/10/06 12:50:45 UTC
Re: [PR] Enforce execution_timeout from the task supervisor side [airflow]
ashb commented on PR #73806:
URL: https://github.com/apache/airflow/pull/73806#issuecomment-6016640315
I'm not sure this will fix https://github.com/apache/airflow/issues/57174 though -- as dag parsing is needed before the child can know the desired timeout to report to the scheduler.
- I wonder if we need two timeouts like this:
- child gets sent the TaskWorkload
- Sends a SetTimeout to the supervisor of the dabgag import timeout (existing config)
- Then the child parses the dag
- Once done, either we send a 0 timeout to clear it in the parent;
- Or if the gap between this and the next is small enough (bear in mind things like listeners or other things could be involved here) just send a new SetTimeout with the desired timeout.
Given not all tasks have timesouts, I think the SetTimeout(0) approach is "it's always correct, and easier to reason about even if fractionaly slower"
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org