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

@@ -45,15 +45,35 @@
},
{
"name": "ci-sanitize",
"inherits": "conan-release",
"displayName": "CI Sanitizer (ASan+UBSan)",
"description": "AddressSanitizer + UndefinedBehaviorSanitizer Linux clang CI build",
"generator": "Ninja",
"toolchainFile": "${sourceDir}/build/Release/conan_toolchain.cmake",
"binaryDir": "${sourceDir}/build/ci-sanitize",
"cacheVariables": {
"CMAKE_POLICY_DEFAULT_CMP0091": "NEW",
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_C_COMPILER": "clang-18",
"CMAKE_CXX_COMPILER": "clang++-18",
"CMAKE_C_FLAGS": "-fsanitize=address,undefined -fno-omit-frame-pointer",
"CMAKE_CXX_FLAGS": "-fsanitize=address,undefined -fno-omit-frame-pointer"
}
},
{
"name": "ci-threadsan",
"displayName": "CI ThreadSanitizer (TSan)",
"description": "ThreadSanitizer Linux clang CI build",
"generator": "Ninja",
"toolchainFile": "${sourceDir}/build/Release/conan_toolchain.cmake",
"binaryDir": "${sourceDir}/build/ci-threadsan",
"cacheVariables": {
"CMAKE_POLICY_DEFAULT_CMP0091": "NEW",
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_C_COMPILER": "clang-18",
"CMAKE_CXX_COMPILER": "clang++-18",
"CMAKE_C_FLAGS": "-fsanitize=thread -fno-omit-frame-pointer",
"CMAKE_CXX_FLAGS": "-fsanitize=thread -fno-omit-frame-pointer"
}
}
],
"buildPresets": [
@@ -71,6 +91,11 @@
"name": "ci-sanitize",
"configurePreset": "ci-sanitize",
"jobs": 0
},
{
"name": "ci-threadsan",
"configurePreset": "ci-threadsan",
"jobs": 0
}
],
"testPresets": [
@@ -97,6 +122,13 @@
"execution": {
"jobs": 0
}
},
{
"name": "ci-threadsan",
"configurePreset": "ci-threadsan",
"execution": {
"jobs": 0
}
}
]
}