You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "dheerajturaga (via GitHub)" <gi...@apache.org> on 2025/08/18 03:02:03 UTC
[PR] Fix task_queued_timeout not working after first DAG run [airflow]
dheerajturaga opened a new pull request, #54594:
URL: https://github.com/apache/airflow/pull/54594
Tasks queued longer than task_queued_timeout were not being terminated by the Airflow scheduler, leading to accumulation of stale queued tasks over several days.
Root Cause:
The queued_by_job_id field was not being reset to None, which prevented the scheduler from recognizing that the task was eligible for termination due to timeout.
Fix:
Reset queued_by_job_id when rescheduling stuck tasks to ensure timeout monitoring works correctly across multiple DAG runs.
--
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
Re: [PR] Fix task_queued_timeout not working after first DAG run [airflow]
Posted by "ashb (via GitHub)" <gi...@apache.org>.
ashb merged PR #54594:
URL: https://github.com/apache/airflow/pull/54594
--
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
Re: [PR] Fix task_queued_timeout not working after first DAG run [airflow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #54594:
URL: https://github.com/apache/airflow/pull/54594#issuecomment-3195686080
### Backport successfully created: v3-0-test
<table>
<tr>
<th>Status</th>
<th>Branch</th>
<th>Result</th>
</tr>
<tr>
<td>✅</td>
<td>v3-0-test</td>
<td><a href="https://github.com/apache/airflow/pull/54604"><img src="https://img.shields.io/badge/PR-54604-blue" alt="PR Link"></a></td>
</tr>
</table>
--
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