The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user jscheffl (triggered by jscheffl).

Head commit for run:
e33369163b111da4ab23acb11518f0fb70261473 / Daniel Imberman 
<[email protected]>
[v2-10-test] Re-queue tassk when they are stuck in queued (#43520)

The old "stuck in queued" logic just failed the tasks.  Now we requeue them.  
We accomplish this by revoking the task from executor and setting state to 
scheduled.  We'll re-queue it up to 2 times.  Number of times is configurable 
by hidden config.

We added a method to base executor revoke_task because, it's a discrete 
operation that is required for this feature, and it might be useful in other 
cases e.g. when detecting as zombies etc.  We set state to failed or scheduled 
directly from scheduler (rather than sending through the event buffer) because 
event buffer makes more sense for handling external events -- why round trip 
through the executor and back to scheduler when scheduler is initiating the 
action?  Anyway this avoids having to deal with "state mismatch" issues when 
processing events.

---------

(cherry picked from commit a41feeb5aedad842be2b0f954e0be30c767dbc5e)

Co-authored-by: Daniel Imberman <[email protected]>
Co-authored-by: Daniel Standish <[email protected]>
Co-authored-by: Jed Cunningham <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/11900034100

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to