drewrukin opened a new pull request, #77462:
URL: https://github.com/apache/airflow/pull/77462

   CloudMonitoringHook resolves credentials from the configured Google Cloud 
connection, but its alert policy and notification channel clients use 
Application Default Credentials from the environment. When the two identities 
differ, monitoring operations can run under an unexpected service account.
   
   Pass the hook's credentials to both client constructors so that they honor 
the selected connection and impersonation chain.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — OpenAI Codex (GPT-6.2 Astra)
   
   Generated-by: OpenAI Codex (GPT-6.2 Astra) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


-- 
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]

Reply via email to