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

ECSExecutor API Retry bug fix #38118

Merged

Conversation

syedahsn
Copy link
Contributor

There was a bug in the ECS Executor which prevented the Executor from retrying tasks on API failures. This fixes the bug. This PR also addresses how REMOVED tasks are handled. We now treat tasks marked as REMOVED the same way we handle FAILED tasks. Unit tests have been updated to follow the new logic.


^ 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.

@eladkal eladkal changed the title ECS API Retry bug fix ECSExecutor API Retry bug fix Mar 14, 2024
@o-nikolas o-nikolas merged commit 111245a into apache:main Mar 18, 2024
52 checks passed
@o-nikolas o-nikolas deleted the syedahsn/aws_executors_ecs_bug_api_retry_fix branch March 18, 2024 18:29
utkarsharma2 pushed a commit to astronomer/airflow that referenced this pull request Apr 22, 2024
* Fix bug in ECS Executor regarding API retries. Add unit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:amazon-aws AWS/Amazon - related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants