From 3231441e38b782eb83f754a8e4aa7c7ed19ce9e1 Mon Sep 17 00:00:00 2001 From: Katrina Rogan Date: Thu, 6 Jan 2022 15:40:21 -0800 Subject: [PATCH] feat: handle 'Aborting' workflow execution phases (#256) Signed-off-by: Katrina Rogan --- package.json | 2 +- src/components/Executions/constants.ts | 5 +++++ yarn.lock | 8 ++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 84c7ffb61..f8d970825 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "@commitlint/cli": "^8.3.5", "@commitlint/config-conventional": "^8.3.4", "@date-io/moment": "1.3.9", - "@flyteorg/flyteidl": "0.21.10", + "@flyteorg/flyteidl": "0.21.16", "@material-ui/core": "^4.0.0", "@material-ui/icons": "^4.0.0", "@material-ui/pickers": "^3.2.2", diff --git a/src/components/Executions/constants.ts b/src/components/Executions/constants.ts index 9c5906dc3..e6aa0e574 100644 --- a/src/components/Executions/constants.ts +++ b/src/components/Executions/constants.ts @@ -25,6 +25,11 @@ export const workflowExecutionPhaseConstants: { text: 'Aborted', textColor: negativeTextColor }, + [WorkflowExecutionPhase.ABORTING]: { + badgeColor: statusColors.SKIPPED, + text: 'Aborting', + textColor: negativeTextColor + }, [WorkflowExecutionPhase.FAILING]: { badgeColor: statusColors.FAILURE, text: 'Failing', diff --git a/yarn.lock b/yarn.lock index 001fdda1c..df170b15b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1377,10 +1377,10 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" -"@flyteorg/flyteidl@0.21.10": - version "0.21.10" - resolved "https://registry.yarnpkg.com/@flyteorg/flyteidl/-/flyteidl-0.21.10.tgz#b5fc60aa33a9f2ca56e066e3a1ab8750894b8ae0" - integrity sha512-9ykCwIrCs9PKHOSZZK0cAha/P+n2XDR0hEvVY4h6xOiUw3rVJmSCxKiAvRSp2hGgLXK9ZFnFhCgUXwkB1O1epQ== +"@flyteorg/flyteidl@0.21.16": + version "0.21.16" + resolved "https://registry.yarnpkg.com/@flyteorg/flyteidl/-/flyteidl-0.21.16.tgz#3feece4565bcae532a6de5641b2f8cc763a26e88" + integrity sha512-yYi0IrDj2WhpLaCcw4AmLTpcVeVcJ9n6UQEei5WJjDodl+v+KZY6348/yTRE+iFXsQUzUSoEAjFnanYyaveSMA== "@iarna/cli@^1.2.0": version "1.2.0"