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/06/25 08:49:22 UTC

[GH] (airflow/lazy-import-tableauserverclient-in-hook): Workflow run "Tests (AMD)" is working again!

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 <ja...@potiuk.com>
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: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org