W22: coverage metric + network tests + Tool stream feedback + stdin pipe + session path + dependency check (W22.1-W22.6)
Some checks failed
Some checks failed
- W22.1: gcovr 覆盖率度量 + CI coverage job(40% 阈值 warning) - W22.2: network_plugin 单元测试(parse_headers_json/extract_host_port/SSE/异常保护) - W22.3: Tool Calling 流式反馈(chat_stream + "[工具调用]/[工具结果]" 状态行) - W22.4: --prompt stdin pipe(--prompt - 从 stdin 读取) - W22.5: session 路径健壮化(static 缓存 + mkdir + fallback) - W22.6: 插件依赖拓扑静态校验(validate_dependencies 循环/缺失检测) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -48,6 +48,9 @@ performance_log:
|
||||
- date: 2026-05-27
|
||||
event: "W19.3 (协作 王测): plugin_loader 5 条发现修复验证。代码审查确认:F-18.3-1 5 个 ABI 调用点仅 initialize_all/initialize_pending 有 try/catch(2/5),load_plugin/unload_plugin/shutdown_all 仍缺保护;F-18.3-2 load_plugin 5 个失败路径全静默返回 -1;F-18.3-3 路径仅 null 检查无约束;F-18.3-4 fprintf 未替换为 host->log;F-18.3-5 next_id_ 非原子。5 条全部未修复,不予关单。编译 0 error + ctest 5/5 pass。"
|
||||
rating: A
|
||||
- date: 2026-05-27
|
||||
event: "W22.6 完成:plugin_loader 新增 validate_dependencies() —— 遍历所有已加载插件 deps[] 做缺失依赖检测 + 循环依赖检测(topological_sort 异常捕获),返回 0/-1。initialize_all() 头部调用,失败时 WARN log 继续初始化不 crash。plugin_loader.hpp:54-55 声明,plugin_loader.cpp:309-345 实现,initialize_all L352-356 集成。cmake --build build --config Release 0 error,ctest 8/8 pass"
|
||||
rating: A
|
||||
current_groups:
|
||||
- grp-quality-core (成员)
|
||||
- grp-ai-plugins (待命)
|
||||
|
||||
Reference in New Issue
Block a user