vincbeck commented on code in PR #75834:
URL: https://github.com/apache/airflow/pull/75834#discussion_r4681213081
##########
providers/amazon/src/airflow/providers/amazon/aws/executors/ecs/ecs_executor.py:
##########
@@ -119,10 +119,11 @@ class AwsEcsExecutor(BaseExecutor):
if AIRFLOW_V_3_4_PLUS:
supported_workload_types: frozenset[WorkloadType] = frozenset(
- {WorkloadType.EXECUTE_TASK, WorkloadType.EXECUTE_CALLBACK}
+ {WorkloadType.EXECUTE_TASK, WorkloadType.EXECUTE_CALLBACK,
WorkloadType.TEST_CONNECTION}
Review Comment:
Did you test it end to end on ECS and Batch? By default the reaper fails a
connection test still queued after 90 seconds (`timeout` + grace). Starting a
Fargate task, or a Batch job when the compute environment is scaled down to 0,
can take longer than that, so the test would fail even though the connection
works. Should we at least document it?
--
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]