shivaam commented on PR #70711:
URL: https://github.com/apache/airflow/pull/70711#issuecomment-5136440432

   > Thanks! The current fix focuses on frontend filtering, and the description 
mentions that "task try history responses can contain duplicate try numbers". 
Is that intended behavior from the backend endpoint? If not, would it make more 
sense to fix it at the backend instead of the frontend?
   
   The endpoint intentionally returns both the current task instance and its 
history. We have unit tests that validate this behavior so believe it is 
expected.. Changing that would alter the public API and could affect other 
consumers.
   
   The UI only needs unique, selectable try numbers, so normalizing them in the 
frontend seems safer for this UI-specific issue.
   


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