bbovenzi commented on code in PR #73030:
URL: https://github.com/apache/airflow/pull/73030#discussion_r4094861754
##########
airflow-core/src/airflow/ui/src/pages/TaskInstance/Details.tsx:
##########
@@ -131,6 +173,16 @@ export const Details = () => {
return (
<Box p={2}>
+ {stateReasonSummary === undefined ? undefined : (
+ <Alert
+ data-testid="state-reason-alert"
+ mb={2}
+ status={stateReasonSummary.status}
+ title={stateReasonSummary.title}
+ >
+ {stateReasonSummary.reason}
+ </Alert>
+ )}
Review Comment:
We already have the reason below in the table. Also having an alert feels
redundant here, but also hidden. We should probably move this to the Task
Instance Header component.
--
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]