Skip to content

Optimize client caching and prevent redundant instantiation in Google Cloud async hooks - #72143

Merged
potiuk merged 1 commit into
apache:mainfrom
VladaZakharova:fix-multiple-client-creation
Aug 27, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
VladaZakharova:fix-multiple-client-creation

Conversation

@molcay

@molcay molcay commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

This PR optimizes performance and resource utilization in Google Cloud async hooks by caching clients and credentials, as well as preventing redundant client instantiations inside polling loops.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@molcay
molcay requested a review from shahar1 as a code owner August 27, 2026 10:37
@boring-cyborg boring-cyborg Bot added area:providers provider:google Google (including GCP) related issues labels Aug 27, 2026
@potiuk
potiuk merged commit 8dad501 into apache:main Aug 27, 2026
86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants