The GitHub Actions job "Tests (AMD)" on 
airflow.git/lazy-import-tableauserverclient-in-hook has succeeded.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
3fbbf7f6effd32701bdd3fb0318411115def8d40 / Jarek Potiuk <[email protected]>
Import tableauserverclient lazily in TableauHook

tableauserverclient self-instruments via beartype's import hook on first import,
which is slow on a cold runner (~50s observed in CI). The ProvidersManager
imports the tableau hook module only to discover provider metadata and never
instantiates the hook, yet the module-level import forced that whole cost onto
the provider scan -- enough to hit the 60s per-test timeout on the cold-cache
Pendulum2 special-test job.

Import tableauserverclient lazily inside the methods that actually use it, so
importing the hook module no longer loads it at all. The provider-manager scan
test drops from ~50s to ~10s. Hook-test patches are retargeted to
tableauserverclient.* since the names are now imported there at call time.

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to