thedavidnovak opened a new pull request, #63682: URL: https://github.com/apache/airflow/pull/63682
The Modules Management documentation treats `dags`, `config`, and `plugins` as equivalent `sys.path` entries. In reality, the `plugins` folder actively imports every `.py` file at startup and registers it in `sys.modules` under the bare filename — regardless of subdirectory structure. This causes collisions ranging from Airflow failing to start (e.g., shadowing `logging`) to subtler DAG breakage. Closes: #63548 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Used for review feedback and wording refinement; content authored by contributor Generated-by: Cursor (Claude claude-4.6-opus) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
