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

   ## Summary
   
   `AsyncKubernetesHook` stores `config_file` but never reads it, so a 
deferrable task pointed at an explicit kubeconfig authenticates against 
whatever the default location resolves to. Within a single 
`KubernetesJobTrigger` the sync pod manager read the requested file and the 
async hook did not. It now coalesces `config_file` ahead of the connection's 
`kube_config_path`, as the sync hook always has.
   
   ## Behavior change
   
   `config_file` now counts towards the mutual-exclusion check, so combining it 
with `in_cluster`, `kube_config` or `config_dict` raises instead of being 
silently ignored.
   
   ## Tests
   
   `test_load_config_with_several_params` never reached the mutual-exclusion 
check — the connection lookup raised first and satisfied its bare 
`AirflowException` assertion.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 5)
   
   Generated-by: Claude Code (Opus 5) 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