Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support failing tasks stuck in queued for hybrid executors #39624

Merged
merged 2 commits into from
May 15, 2024

Conversation

o-nikolas
Copy link
Contributor

Sort the set of tasks that are up for failing for being queued too long and send them to the appropriate executor for cleanup.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Sort the set of tasks that are up for failing for being queued too long
and send them to the appropriate executor for cleanup.
@boring-cyborg boring-cyborg bot added the area:Scheduler Scheduler or dag parsing Issues label May 14, 2024
Copy link
Collaborator

@dirrao dirrao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Can you take a look at the failing test cases?

- Also drop TODO and unnecessary ellipses
@o-nikolas
Copy link
Contributor Author

LGTM. Can you take a look at the failing test cases?

Thanks for reviewing! I ended up just removing the old test case, the new one is a complete superset of it. Tests should pass now 🤞

@o-nikolas o-nikolas merged commit 07c40bd into apache:main May 15, 2024
41 checks passed
@o-nikolas o-nikolas deleted the onikolas/aip-61/fail_queued_tasks branch May 15, 2024 20:34
RNHTTR pushed a commit to RNHTTR/airflow that referenced this pull request Jun 1, 2024
)

Sort the set of tasks that are up for failing for being queued too long
and send them to the appropriate executor for cleanup.
@utkarsharma2 utkarsharma2 added the type:improvement Changelog: Improvements label Jun 3, 2024
@utkarsharma2 utkarsharma2 added this to the Airflow 2.10.0 milestone Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Scheduler Scheduler or dag parsing Issues type:improvement Changelog: Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants