Skip to content

升级Kubevela 版本从1.3.6 到1.5.11 之后 workflow step suspend 一直是running状态,无法继续工作流。 #5908

Answered by FogDong
skyshaokai asked this question in Q&A
Discussion options

You must be logged in to vote

不清楚这块代码为什么要变化?

在早期版本,suspend 步骤执行后状态为 succeeded,而工作流的状态为暂停。
在 1.5 版本后修改为,在运行 suspend 步骤时,状态为 running(1.8 版本修改为 suspending),同时工作流的状态为暂停。这样能够清楚地看到工作流是被哪个步骤暂停的。

所以不能只用 [{"op":"replace","path":"/status/workflow/suspend","value":false}] 来继续工作流,还需要把所有正在 runnning 的 suspend 步骤改为 succeeded。

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@skyshaokai
Comment options

@FogDong
Comment options

Answer selected by wonderflow
@skyshaokai
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants