adrian-edbert commented on issue #56165: URL: https://github.com/apache/airflow/issues/56165#issuecomment-3364403924
oh the root cause seems because the git provider version_compat providers/git/src/airflow/providers/git/version_compat.py is using sdk basehook object, which eventually will load secrets backend from airflow-core/src/airflow/secrets/__init__.py but only by `DEFAULT_SECRETS_SEARCH_PATH_WORKERS` this load git providers without the metastore secret backend, causing the githook get_connection to fails I'm unsure if this is expected, perhaps due to the AIP-72 progress I can workaround the issue by explicitly adding ``` [secrets] backend = airflow.secrets.metastore.MetastoreBackend ``` on the airflow.cfg though this might be anti pattern due to the AIP -- 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]
