The GitHub Actions job "Tests (AMD)" on airflow.git/v3-3-test has failed.
Run started by GitHub user jason810496 (triggered by jason810496).

Head commit for run:
c5bc7502c2adf2966f414ec9aacc4c41d91ad7bf / Jason(Zhe-You) Liu 
<[email protected]>
[v3-3-test] Defer Cadwyn import to keep FastAPI off the Task SDK worker path 
(#69016) (#69029)

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.
(cherry picked from commit 85aa9b6)

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

With regards,
GitHub Actions via GitBox


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

Reply via email to