Brunda10 opened a new pull request, #55673:
URL: https://github.com/apache/airflow/pull/55673

   This PR fixes an issue where an invalid plugin definition (e.g., an 
unsupported destination in external_views) caused the entire /plugins API 
endpoint to fail with a 500.
   
   Closes : https://github.com/apache/airflow/issues/55571
   
   With this change:
   
   Added validation when constructing PluginResponse objects.
   
   Only valid plugins are returned in the /api/v2/plugins API response.
   
   Invalid plugins are skipped gracefully.
   
   A warning is logged in the terminal with the plugin name and the error 
details.
   
   This ensures the UI remains functional even if some plugins are 
misconfigured.
   
   
   Impact:
   - Prevents the entire /plugins API from failing due to a single invalid 
plugin.
   - Users will continue to see all valid plugins in the UI, while still being 
informed about invalid ones through logs.
     
   Attached screenshot for reference 
   <img width="1438" height="1102" alt="Screenshot from 2025-09-15 17-49-50" 
src="https://github.com/user-attachments/assets/63fab837-b78f-4e8f-90ca-8be91d320c7e";
 />
     
   
   
   


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