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:
@@ -75,5 +75,13 @@ performance_log:
|
||||
fallback 也失败时 DSTALK_LOG_ERROR,但不崩溃。
|
||||
编译 0 error,ctest 8/8 pass。
|
||||
rating: done
|
||||
- date: 2026-05-27
|
||||
event: "W22.5 - get_default_session_path() 加 mkdir 保障 + 静态缓存"
|
||||
detail: |
|
||||
get_default_session_path() 改为 static 缓存(lambda 立即求值,C++11 线程安全静态初始化)。
|
||||
计算路径后 std::filesystem::create_directories 确保目录存在。
|
||||
mkdir 失败时 g_host->log(WARN) + 返回 "./session.json" fallback。
|
||||
编译 0 error 0 warning,ctest 8/8 pass。
|
||||
rating: completed
|
||||
current_groups: []
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user