The GitHub Actions job "Tests (AMD)" on airflow.git/fix/task-sdk/lazy-cadwyn-import has succeeded. Run started by GitHub user jason810496 (triggered by jason810496).
Head commit for run: 7d5ff9a7e427277a4e790f4ee2b0d33980b7585d / LIU ZHE YOU <[email protected]> Defer Cadwyn import to keep FastAPI off the Task SDK worker path The Task SDK supervisor imports the execution-time schema package on every worker, and that package imported cadwyn at module load. cadwyn pulls in FastAPI, Starlette and Jinja2, which are only needed on the foreign-language-SDK schema-migration path and never for a pure-Python worker. Because the supervisor is imported lazily after the Celery prefork, each pool worker paid this import in private (non copy-on-write) pages, raising worker memory on Python 3.14. Defer the cadwyn import behind a cached bundle accessor and into _versioned_class so importing the schema package no longer loads FastAPI. The foreign-SDK path is unchanged; a regression test asserts the worker import graph stays cadwyn-free. Report URL: https://github.com/apache/airflow/actions/runs/28224055948 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
