Skip to content

Fix cancelled status Ui#1890

Merged
vas3a merged 1 commit into
devfrom
fix-cancelled-status
May 27, 2026
Merged

Fix cancelled status Ui#1890
vas3a merged 1 commit into
devfrom
fix-cancelled-status

Conversation

@vas3a
Copy link
Copy Markdown
Collaborator

@vas3a vas3a commented May 27, 2026

Related JIRA Ticket:

https://topcoder.atlassian.net/browse/

What's in this PR?

This pull request updates the AI review status handling to support a new "cancelled" state. The main changes ensure that cancelled workflow runs are properly represented throughout the UI and logic.

Status handling improvements:

  • Added 'cancelled' as a possible value for the status field in the AiReviewerRow interface, allowing the UI to recognize and handle cancelled runs.
  • Updated the normalizeStatus function to return 'cancelled' when the run status matches AiWorkflowRunStatusEnum.CANCELLED.
  • Modified the aiRunStatus function to return 'cancelled' if the run's status is 'CANCELLED', ensuring consistent status normalization.

UI updates:

  • Updated the AiWorkflowRunStatus component to render a "Cancelled" status label with an appropriate icon when the status is 'cancelled'.
  • Extended the accepted status prop values for AiWorkflowRunStatus to include 'cancelled'.

@vas3a vas3a requested review from jmgasper and kkartunov as code owners May 27, 2026 12:49
@vas3a vas3a merged commit d17a2d8 into dev May 27, 2026
5 checks passed
@vas3a vas3a deleted the fix-cancelled-status branch May 27, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant