arjav1528 opened a new pull request, #60394: URL: https://github.com/apache/airflow/pull/60394
## Fixes #60389 ## Summary Adds support for specifying the transport protocol (REST or gRPC) in `CloudRunHook`, `CloudRunAsyncHook`, `CloudRunExecuteJobOperator`, and `CloudRunJobFinishedTrigger` to resolve 404 errors in Docker environments where gRPC transport fails. ## Problem `CloudRunExecuteJobOperator` fails with 404 errors (`NotFound: 404 Requested entity was not found`) when running in Docker containers, even though the same Cloud Run jobs work correctly with `gcloud` CLI. This occurs because the Google Cloud Python client defaults to gRPC transport, which can fail in Docker environments due to network configurations, proxy settings, or firewall restrictions. ## Solution Added an optional `transport` parameter to: - `CloudRunHook` - allows specifying 'rest' or 'grpc' transport for `JobsClient` - `CloudRunAsyncHook` - allows specifying transport for `JobsAsyncClient` - `CloudRunExecuteJobOperator` - passes transport parameter to the hook - `CloudRunJobFinishedTrigger` - passes transport parameter to async hook for deferrable operations -- 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]
