Phase 2 Testing: migrate supervisor to ThreadReactor #141

Closed
opened 2026-05-09 02:06:02 +00:00 by xiaoju · 0 comments
Owner

验证目标

supervisor 用 createThreadReactor 重写。

测试步骤

  • Step 1: supervisor 使用 reactor

    grep "createThreadReactor\|ThreadReactor" packages/workflow/src/engine/supervisor.ts
    

    预期: 有引用

  • Step 2: supervisor 不直接调 LLM

    grep -E "fetch|postChatCompletion|chatCompletionsUrl" packages/workflow/src/engine/supervisor.ts || echo "PASS: no direct LLM calls"
    

    预期: PASS: no direct LLM calls

  • Step 3: 全量测试通过

    bun test
    

    预期: 所有测试通过

  • Step 4: bun run check 通过

    bun run check
    

    预期: 无错误

验证完成标准

所有 checkbox 打勾
bun test + bun run check 全绿

Ref: #139

## 验证目标 supervisor 用 `createThreadReactor` 重写。 ## 测试步骤 - [ ] **Step 1: supervisor 使用 reactor** ```bash grep "createThreadReactor\|ThreadReactor" packages/workflow/src/engine/supervisor.ts ``` **预期:** 有引用 - [ ] **Step 2: supervisor 不直接调 LLM** ```bash grep -E "fetch|postChatCompletion|chatCompletionsUrl" packages/workflow/src/engine/supervisor.ts || echo "PASS: no direct LLM calls" ``` **预期:** PASS: no direct LLM calls - [ ] **Step 3: 全量测试通过** ```bash bun test ``` **预期:** 所有测试通过 - [ ] **Step 4: bun run check 通过** ```bash bun run check ``` **预期:** 无错误 ## 验证完成标准 ✅ 所有 checkbox 打勾 ✅ bun test + bun run check 全绿 Ref: #139
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#141