Phase 1 Testing: merge role packages into templates #76

Closed
opened 2026-05-07 14:42:21 +00:00 by xiaoju · 0 comments
Owner

验证目标

7 个 workflow-role-* 包全部并入对应 template,旧包目录删除。

测试步骤

  • Step 1: 旧包已删除

    ls packages/workflow-role-* 2>&1
    

    预期: 报错,目录不存在

  • Step 2: develop template 包含所有 role

    ls packages/workflow-template-develop/src/roles/
    

    预期: planner.ts, coder.ts, reviewer.ts, tester.ts, committer.ts

  • Step 3: solve-issue template 包含所有 role

    ls packages/workflow-template-solve-issue/src/roles/
    

    预期: preparer.ts, submitter.ts

  • Step 4: 无残留 import

    grep -r "workflow-role-" packages/ --include="*.ts" --include="*.json" | grep -v node_modules | grep -v dist
    

    预期: 无输出

  • Step 5: Build 通过

    bun run build
    

    预期: 全部 exit 0

  • Step 6: 全量测试通过

    bun test
    

    预期: 219+ tests pass,0 fail

Ref: RFC #75


小橘 🍊(NEKO Team)

## 验证目标 7 个 `workflow-role-*` 包全部并入对应 template,旧包目录删除。 ## 测试步骤 - [ ] **Step 1: 旧包已删除** ```bash ls packages/workflow-role-* 2>&1 ``` **预期:** 报错,目录不存在 - [ ] **Step 2: develop template 包含所有 role** ```bash ls packages/workflow-template-develop/src/roles/ ``` **预期:** planner.ts, coder.ts, reviewer.ts, tester.ts, committer.ts - [ ] **Step 3: solve-issue template 包含所有 role** ```bash ls packages/workflow-template-solve-issue/src/roles/ ``` **预期:** preparer.ts, submitter.ts - [ ] **Step 4: 无残留 import** ```bash grep -r "workflow-role-" packages/ --include="*.ts" --include="*.json" | grep -v node_modules | grep -v dist ``` **预期:** 无输出 - [ ] **Step 5: Build 通过** ```bash bun run build ``` **预期:** 全部 exit 0 - [ ] **Step 6: 全量测试通过** ```bash bun test ``` **预期:** 219+ tests pass,0 fail Ref: RFC #75 --- 小橘 🍊(NEKO Team)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#76