airflow icon indicating copy to clipboard operation
airflow copied to clipboard

ECS Executor: Set tasks to RUNNING state once active

Open o-nikolas opened this issue 1 year ago • 1 comments

Tasks were previously being put into QUEUED state after they were active in the ECS executor. This was to store executor state for task adoption but had the side effect of removing them from the list of running task instances (which has other knock-on effects). Instead change tasks into the RUNNING state, and do not remove them from the list of running tasks.

Also added some test coverage for the new and existing state change functions on the base executor class


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

o-nikolas avatar Apr 24 '24 00:04 o-nikolas

CC @ferruzzi @syedahsn

o-nikolas avatar Apr 24 '24 00:04 o-nikolas