Phase 3 Testing: @uncaged/workflow-runtime 重构 #146

Closed
opened 2026-05-09 03:02:47 +00:00 by xingyue · 0 comments
Owner

验证目标

runtime 类型下沉到 protocol,runtime 只保留 createWorkflow。

测试步骤

  • Step 1: runtime 依赖 protocol
  • Step 2: runtime 不再定义 Result/ok/err(从 protocol re-export 或 import)
  • Step 3: createWorkflow 测试通过bun test
  • Step 4: 源文件极简 — ≤ 3 个文件

关联

RFC #143 Phase 3

## 验证目标 runtime 类型下沉到 protocol,runtime 只保留 createWorkflow。 ## 测试步骤 - [ ] **Step 1: runtime 依赖 protocol** - [ ] **Step 2: runtime 不再定义 Result/ok/err**(从 protocol re-export 或 import) - [ ] **Step 3: createWorkflow 测试通过** — `bun test` - [ ] **Step 4: 源文件极简** — ≤ 3 个文件 ## 关联 RFC #143 Phase 3
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#146