olegkachur-e commented on PR #77238: URL: https://github.com/apache/airflow/pull/77238#issuecomment-7133765413
Thank you for PR preparation. 1) May I ask for a couple system test runs, with new connection configured? At least I can suggest such scenarios without access to sovereign cloud endpoint: | # | Connection field | Env var | Run | Expected | | --- | --- | --- | --- | --- | | 1 | empty | unset | any Google system test (e.g. GCS) | Passes, same as before (fallback to the default universe) | | 2 | `googleapis.com` | unset | same test | Passes | | 3 | `googleapis.com` | `example.invalid` | same test, plus one hook with a regional endpoint (Dataproc, Vertex AI) | Passes: the connection wins over the env var. With `GSheetsHook(api_endpoint=…)` this hits the endpoint-override bug. | | 4 | `example.invalid` | unset | same test | Fails with a universe-mismatch or DNS error that names `example.invalid`, which proves the field is applied | | 5 | empty | `example.invalid` | same test | Fails the same way as #4: the env var fallback still works | | 6 | two connections in one DAG: one empty, one `example.invalid` | unset | one task per connection | First task passes, second fails as in #4: the setting is per connection | 2) the is_default_universe() used to be static method, changing it some sorts of breaking changes, worth to mention. 3) There is a different conflicting instructions in the docs to work with sovereign cloud, suggesting to set the `GOOGLE_CLOUD_UNIVERSE_DOMAIN` and configure connection in parallel. There should be clear description of non-conflicting instructions. -- 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]
