fix: resolve workflow from CAS chain in collectCompletedThreads #47
Reference in New Issue
Block a user
Delete Branch "fix/completed-thread-workflow"
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?
What
Fix completed/cancelled thread 的 workflow 字段在
thread list里显示为空。Why
collectCompletedThreads把 workflow 写死了空字符串,而 active thread 用resolveWorkflowFromHead从 CAS chain 获取。不一致。Changes
collectCompletedThreads签名从VarStore改为UwfStoreresolveWorkflowFromHead(uwf, entry.head)获取 workflow hashRef
Closes #46
LGTM ✅ 正好修了 #45 review 里提到的空 workflow 问题。