Bug summary
Since upgrading to Prefect 3.7.1 all the flow runs submitted to ECS remain stuck in "Submitting" state.
We haven't changed anything else in our codebase.
We can't observe any specific errors in Cloudwatch as the tasks are provisioned in AWS but never execute code.
Are there any specific changes we need to apply since the release of infrastructure decorators?
We have always used this function to register deployments to the ECS work-pool:
async def register_work_pool_deployments(
deployments_map: dict[str, dict[str | None, list[RunnerDeployment]]],
) -> list[UUID]:
uuids = []
for work_pool_name, val in deployments_map.items():
for image, deployments in val.items():
logger.info(f"Registering deployments for work pool {work_pool_name} and image {image}")
new_deployment_ids = await deploy(
*deployments,
work_pool_name=work_pool_name,
image=image,
build=False,
push=False,
ignore_warnings=True,
print_next_steps_message=False,
) # type: ignore
uuids.extend(new_deployment_ids)
return uuids
Version info
Version: 3.7.1
API version: 0.8.4
Python version: 3.13.3
Git commit: e914068e
Built: Sat, May 16, 2026 02:20 AM
OS/Arch: darwin/arm64
Profile: ephemeral
Server type: server
Pydantic version: 2.11.10
Server:
Database: sqlite
SQLite version: 3.47.1
Integrations:
prefect-aws: 0.7.9
prefect-slack: 0.3.1
Additional context
No response
Bug summary
Since upgrading to Prefect 3.7.1 all the flow runs submitted to ECS remain stuck in "Submitting" state.
We haven't changed anything else in our codebase.
We can't observe any specific errors in Cloudwatch as the tasks are provisioned in AWS but never execute code.
Are there any specific changes we need to apply since the release of infrastructure decorators?
We have always used this function to register deployments to the ECS work-pool:
Version info
Additional context
No response