Phase 5 Testing: Integration (Hot-Reload + Validate) #239

Closed
opened 2026-04-29 04:33:37 +00:00 by xiaoju · 0 comments
Owner

验证目标

Agent 配置接入 daemon hot-reload,nerve validate 检查 agent name 引用。

前置条件

Phase 4 (#238) 完成。

测试步骤

  • Step 1: nerve validate 检查 agent 引用
    workflow 引用不存在的 agent name。
    预期: 报错,提示引用了不存在的 agent

  • Step 2: nerve validate 通过
    所有引用的 agent 都存在。
    预期: 验证通过

  • Step 3: Agent 配置 hot-reload
    daemon 运行中修改 nerve.yaml agents 配置。
    预期: AgentRegistry rebuild,日志输出 reload

  • Step 4: 运行中 thread 不受影响
    预期: 旧 thread 用旧配置完成,新 thread 用新配置

  • Step 5: Extract provider 可达性检查
    预期: provider 不可达时 validate 报 warning

验证完成标准

所有 checkbox 打勾 | pnpm test 通过 | CI green

Ref: #234

## 验证目标 Agent 配置接入 daemon hot-reload,`nerve validate` 检查 agent name 引用。 ## 前置条件 Phase 4 (#238) 完成。 ## 测试步骤 - [ ] **Step 1: nerve validate 检查 agent 引用** workflow 引用不存在的 agent name。 **预期:** 报错,提示引用了不存在的 agent - [ ] **Step 2: nerve validate 通过** 所有引用的 agent 都存在。 **预期:** 验证通过 - [ ] **Step 3: Agent 配置 hot-reload** daemon 运行中修改 nerve.yaml agents 配置。 **预期:** AgentRegistry rebuild,日志输出 reload - [ ] **Step 4: 运行中 thread 不受影响** **预期:** 旧 thread 用旧配置完成,新 thread 用新配置 - [ ] **Step 5: Extract provider 可达性检查** **预期:** provider 不可达时 validate 报 warning ## 验证完成标准 ✅ 所有 checkbox 打勾 | ✅ `pnpm test` 通过 | ✅ CI green Ref: #234
This repo is archived. You cannot comment on issues.
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/nerve#239