sreecharan-desu opened a new pull request, #72432:
URL: https://github.com/apache/airflow/pull/72432

   closes: #56816
   
   Empty `plugins/` on a new install was easy to read as a failure — per-file 
import errors already log at exception level, but the summary line didn't 
distinguish "nothing here" from "something broke".
   
   - debug when the folder is empty / has no valid plugins
   - warning with file list only when imports actually fail
   - unit test for the empty-folder case
   
   Tested locally: `uv run --project airflow-core pytest 
airflow-core/tests/unit/plugins/test_plugins_manager.py::TestPluginsManager::test_empty_plugins_folder_logs_no_failure
 
airflow-core/tests/unit/plugins/test_plugins_manager.py::TestPluginsManager::test_loads_filesystem_plugins_exception
 -xvs`


-- 
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]

Reply via email to