kadubhumika opened a new pull request, #74602: URL: https://github.com/apache/airflow/pull/74602
## Summary - Retry Dataproc batch polling when temporary `ServiceUnavailable` or gRPC `UNAVAILABLE` errors occur. - Wait for the configured polling interval before retrying the request. - Allow other gRPC errors, such as `PERMISSION_DENIED`, to propagate normally instead of retrying them. - Add unit tests to verify retry behaviour for temporary errors and proper handling of non-retryable errors. ## Design Choice - Implement retries directly in the trigger loop to keep the solution simple. - Avoid introducing a new operator parameter for retry configuration. ## Testing - Ran the Dataproc trigger unit tests locally: **9 passed**. - Ruff checks passed. - Code formatting check passed. - `git diff --check` passed. ## AI Assistance - Used ChatGPT for faster development assistance, reviewing the implementation approach, and improving the test and PR description. Closes #74008 -- 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]
