W21: anthropic Stream+Tools + --prompt batch + sanitizer fix + plugin unit tests (W21.1-W21.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

- W21.1: ci-sanitize preset 独立 Linux-clang + ci-threadsan (TSan)
- W21.2: anthropic tool_use content_block 解析 + configure 缓存 tools_json
- W21.3: --prompt 非交互批处理模式
- W21.4: session auto-save 失败告警 + 当前目录 fallback
- W21.5: smoke 补 tool_calls 边界用例 4 块 12 断言
- W21.6: anthropic 11 块 78 CHECK + deepseek 12 块 78 CHECK

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-27 20:40:58 +08:00
parent 20ead86e88
commit b2b381b9b3
14 changed files with 1671 additions and 34 deletions

View File

@@ -115,5 +115,18 @@ performance_log:
验证: cmake --build build --config Release 0 error
ctest --test-dir build 5/5 pass。
rating: done
- date: 2026-05-27
event: "W21.1: 修复 ci-sanitize preset 编译器冲突 + 新增 ci-threadsan"
detail: >
根因: ci-sanitize 继承 conan-release后者 CMAKE_C_COMPILER/CXX=cl (MSVC)
但 -fsanitize=address,undefined 是 clang/GCC flagCI 运行在 ubuntu-24.04+clang-18
编译器覆盖冲突导致 sanitizer 行为不可预测。
修复: ci-sanitize 改为独立 preset (generator Ninja + toolchainFile
${sourceDir}/build/Release/conan_toolchain.cmake + CMAKE_C_COMPILER=clang-18
+ CMAKE_CXX_COMPILER=clang++-18 + flags -fsanitize=address,undefined
-fno-omit-frame-pointer)。新增 ci-threadsan (TSan)。
验证: cmake --list-presets 4 个全部解析通过Release 构建 cmake --build build --config Release
8/8 0 errorctest 6/6 pass。
rating: done
current_groups: []
---