subhash-0000 commented on PR #59507:
URL: https://github.com/apache/airflow/pull/59507#issuecomment-3664896080

   @bbovenzi 
   Thank you for the feedback! You're absolutely right - the previous 
implementation would poll forever for tasks without extra links.
   
   I've addressed both suggestions:
   
   1. Added `useTaskServiceGetTask` check to verify `task.extra_links.length > 
0` before polling
   2. Updated `Details.tsx`  to conditionally render the `<ExtraLinks />` 
component only when `taskInstance.extra_links.length > 0`
   
   This prevents:
   - Infinite polling on tasks without extra links (e.g., PythonOperator)
   - Unnecessary component rendering
   - Redundant API calls
   
   The component now only renders and polls when appropriate. Thanks for the 
thorough review! 


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