feat: workflow exit codes & kill mechanism #121
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?
背景
目前 workflow run 只有 started/completed/crashed 三个状态,无法区分成功/失败原因,也没有主动停止运行中 workflow 的机制。
方案
借鉴 Unix 进程退出码语义,为 workflow run 引入 exit code:
改动范围
退出码采用 Unix 信号惯例(128 + signal number)。
小橘 🍊(NEKO Team)