dheerajturaga opened a new pull request, #56240:
URL: https://github.com/apache/airflow/pull/56240
EdgeExecutor was not implementing the revoke_task() method, causing it to
raise NotImplementedError when the scheduler attempted to handle tasks stuck in
queued state. This meant the task_queued_timeout feature was completely
bypassed for EdgeExecutor.
This commit implements revoke_task() to:
- Remove tasks from executor's internal state (running, queued_tasks,
last_reported_state)
- Delete corresponding EdgeJobModel records to prevent edge workers from
picking them up
- Enable proper task queued timeout handling by the scheduler
Before:
<img width="1461" height="583" alt="image"
src="https://github.com/user-attachments/assets/c09ae6f8-22f4-4c87-b47a-0744a1c17201"
/>
After:
<img width="1915" height="932" alt="image"
src="https://github.com/user-attachments/assets/f7fa37e2-79a1-4812-bfe9-9fd2dc411ba3"
/>
--
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]