feat: re-run workflow nodes when critical configurations changed

This commit is contained in:
Fu Diwei
2025-01-16 23:02:08 +08:00
parent 087fd81879
commit a20b82b9cf
6 changed files with 107 additions and 72 deletions

View File

@@ -18,11 +18,9 @@ func NewStartNode(node *domain.WorkflowNode) *startNode {
}
}
// 开始节点没有任何操作
func (s *startNode) Run(ctx context.Context) error {
s.AddOutput(ctx,
s.node.Name,
"完成",
)
// 开始节点没有任何操作
s.AddOutput(ctx, s.node.Name, "完成")
return nil
}