Alicia Escontrela
02/10/2025, 9:01 PMMarvin
02/10/2025, 9:02 PMtimeout_seconds
keyword argument is set appropriately in your flow configuration. Learn more about flow timeouts here.
2. Cloud Run Timeout: While you've adjusted the Cloud Run timeout to 3600 seconds, ensure that this change is properly reflected in the deployment settings. Sometimes deployment configurations might not update as expected.
3. Prefect Cloud Run Worker Configuration: When deploying a Cloud Run worker, make sure that the worker is configured to handle long-running tasks. This might involve adjusting settings related to how the worker polls the work pool. Check the Cloud Run worker setup guide.
4. Potential Bugs or Issues: There are known issues where workers might not respect timeouts, causing them to die prematurely. This could be similar to your situation. You can explore related discussions and potential fixes in the GitHub issues:
- Worker dies because timeout is not respected
- Intermittent fatal error running deployment with docker infra
Given your setup with Docker and Cloud Run, ensure that all configurations align with the expected behavior for long-running tasks. If the problem persists, consider reaching out to the Prefect community or opening an issue with detailed logs to get more targeted assistance.