You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/04/23 17:34:52 UTC

[GH] (airflow/fix/gen-ai-generative-model-hook-credentials): Workflow run "Tests" failed!

The GitHub Actions job "Tests" on airflow.git/fix/gen-ai-generative-model-hook-credentials has failed.
Run started by GitHub user srchilukoori (triggered by shahar1).

Head commit for run:
71df93ad6e081dacc935c547be77db578b817f29 / Sadha Chilukoori <ss...@gmail.com>
Fix GenAIGenerativeModelHook ignoring Airflow connection credentials

get_genai_client() was constructing genai.Client without credentials,
causing it to fall back to Application Default Credentials (ADC) even
when gcp_conn_id pointed to an explicit service-account connection.
Users in environments without ADC (e.g. Docker without workload identity)
received DefaultCredentialsError at runtime.

Pass self.get_credentials() to genai.Client so the hook honours the
configured Airflow connection, consistent with every other Google provider
hook (GCS, BigQuery, etc.).

Fixes: #65709

Report URL: https://github.com/apache/airflow/actions/runs/24844189542

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org