amoghrajesh commented on code in PR #73030:
URL: https://github.com/apache/airflow/pull/73030#discussion_r4060524814


##########
airflow-core/src/airflow/ui/src/pages/TaskInstance/Details.tsx:
##########
@@ -131,6 +131,16 @@ export const Details = () => {
 
   return (
     <Box p={2}>
+      {taskInstance?.retry_reason === null || taskInstance?.retry_reason === 
undefined ? undefined : (
+        <Alert
+          data-testid="retry-reason-alert"

Review Comment:
   Added `Details.test.tsx,` 10 tests, using the Wrapper + i18n.t() convention 
from Header.test.tsx. Covers the two branches you named plus the state gating 
and the banner/row split.



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