From fb2c8cb0f44d38b56af60ff27cdf8419a7c73418 Mon Sep 17 00:00:00 2001 From: Anders Gustafsson Date: Mon, 25 Aug 2025 15:13:45 +0200 Subject: [PATCH] Allow listing of test server with UPDATE_ROLLBACK_FAILED status --- src/commands/deployment/testservers/status/status.ts | 1 + src/common/testservers.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/commands/deployment/testservers/status/status.ts b/src/commands/deployment/testservers/status/status.ts index 0cf4d2b..a255615 100644 --- a/src/commands/deployment/testservers/status/status.ts +++ b/src/commands/deployment/testservers/status/status.ts @@ -24,6 +24,7 @@ module.exports = { case 'UPDATE_FAILED': case 'CREATE_FAILED': case 'ROLLBACK_COMPLETE': + case 'UPDATE_ROLLBACK_FAILED': return `(${chalk.red('FAILED')})`; case 'UPDATE_IN_PROGRESS': case 'CREATE_IN_PROGRESS': diff --git a/src/common/testservers.ts b/src/common/testservers.ts index 23b0d04..4e8ed40 100644 --- a/src/common/testservers.ts +++ b/src/common/testservers.ts @@ -31,6 +31,7 @@ export const getTestStacksInfo = async ( 'CREATE_IN_PROGRESS', 'ROLLBACK_COMPLETE', 'UPDATE_ROLLBACK_COMPLETE', + 'UPDATE_ROLLBACK_FAILED', ].includes(item.StackStatus) ) { try {