Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

activeStage should consider PENDING_APPROVAL as well

天舟cc8078d51611
diff --git a/frontend/src/utils/pipeline.ts b/frontend/src/utils/pipeline.ts
index 10960adddc..89144c52b0 100644
--- a/frontend/src/utils/pipeline.ts
+++ b/frontend/src/utils/pipeline.ts
@@ -72,6 +72,7 @@ export function activeStage(pipeline: Pipeline): Stage {
for (const task of stage.taskList) {
if (
task.status == "PENDING" ||
+ task.status == "PENDING_APPROVAL" ||
task.status == "RUNNING" ||
// "FAILED" is also a transient task status, which requires user
// to take further action (e.g. Skip, Retry)
@@ -93,6 +94,7 @@ export function activeTask(pipeline: Pipeline): Task {
for (const task of stage.taskList) {
if (
task.status == "PENDING" ||
+ task.status == "PENDING_APPROVAL" ||
task.status == "RUNNING" ||
// "FAILED" is also a transient task status, which requires user
// to take further action (e.g. Skip, Retry)