W22: coverage metric + network tests + Tool stream feedback + stdin pipe + session path + dependency check (W22.1-W22.6)
Some checks failed
CI / Determine matrix (push) Has been cancelled
CI / ${{ matrix.os }} / ${{ matrix.build_type }} (push) Has been cancelled
CI / Sanitizer (ASan+UBSan) / ubuntu-24.04 (push) Has been cancelled
CI / Coverage (gcovr) / ubuntu-24.04 (push) Has been cancelled

- 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:
2026-05-27 21:21:24 +08:00
parent b2b381b9b3
commit df3bf298ee
13 changed files with 753 additions and 23 deletions

View File

@@ -75,5 +75,13 @@ performance_log:
fallback 也失败时 DSTALK_LOG_ERROR但不崩溃。
编译 0 errorctest 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 warningctest 8/8 pass。
rating: completed
current_groups: []
---