ux: workflow 文件名与 YAML name 不匹配时报错不够友好 #108
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
用
uwf thread start启动一个 workflow 时,如果文件名和 YAML 内声明的name不一致,会直接报错拒绝:这个行为有几个不顺畅的地方:
建议
test-linear.yamlor change the YAMLnamefield toe2e-linear.workflow"thread start时以 YAML 内的name为准,只在workflow add注册时做严格校验thread start传的是文件路径(而非已注册的 workflow name),文件名检查可以放松环境