| # | 仓库 | PR | ⭐ Stars | 增 / 删 | 文件 | 含金量 |
|---|---|---|---|---|---|---|
| 1 | langgenius/dify | #46041 — test(api): add unit tests for libs.collection_utils | 1 | 📌 merged | ||
| 2 | langgenius/dify | #46026 — test(api): pin PluginCredentialType API contract values | 1 | 📌 merged | ||
| 3 | langgenius/dify | #45997 — test(api): add Pyrefly-clean unit tests for index entities | 1 | 📌 merged | ||
| 4 | langgenius/dify | #45996 — test(api): add Pyrefly-clean unit tests for DocumentContext | 1 | 📌 merged | ||
| 5 | langgenius/dify | #45262 — test(api): add unit tests for metadata filtering entities | 2 | 🧪 测试基建 | ||
| 6 | langgenius/dify | #45261 — test(api): add unit tests for rag document models | 2 | 🧪 测试基建 | ||
| 7 | langgenius/dify | #45256 — test(api): add unit tests for rag text splitter | 1 | 🧪 测试基建 | ||
| 8 | langgenius/dify | #45255 — test(api): add unit tests for uuid_utils.is_valid_uuid | 1 | 🧪 测试基建 | ||
| 9 | langgenius/dify | #45254 — test(api): add unit tests for remove_leading_symbols | 1 | 🧪 测试基建 | ||
| 10 | langgenius/dify | #45225 — fix(libs): reject non-dict output in parse_and_check_json... | 2 | 🐛 真实 Bug | ||
| 11 | langgenius/dify | #42997 — fix(api): preserve zero JSON-RPC request id in MCP error ... | 2 | 🐛 真实 Bug | ||
| 12 | langflow-ai/langflow | #15411 — fix(schema): sanitize underscore-prefixed field names in ... | 4 | 🏆 核心功能修复 | ||
| 13 | bytedance/deer-flow | #6361 — fix(tests): skip MAX_PATH-exceeding blocking-io anchors o... | 3 | 🪟 跨平台兼容 | ||
| 14 | volcengine/OpenViking | #6387 — fix(compile): keep the compile workspace root absolute (#... | 2 | 🐛 真实 Bug |
📌 #46041 · langgenius/dify — test(api): add unit tests for libs.collection_util
合并者 maintainer · 2026-11-11 · +91 / −0 · 1 files
📌 #46026 · langgenius/dify — test(api): pin PluginCredentialType API contract v
合并者 maintainer · 2026-11-12 · +89 / −0 · 1 files
📌 #45997 · langgenius/dify — test(api): add Pyrefly-clean unit tests for index
合并者 maintainer · 2026-11-12 · +138 / −0 · 1 files
📌 #45996 · langgenius/dify — test(api): add Pyrefly-clean unit tests for Docume
合并者 maintainer · 2026-11-11 · +90 / −0 · 1 files
🧪 #45262 · langgenius/dify — test(api): add unit tests for metadata filtering e
合并者 @asukaminato0721 · 2026-11-08 · +105 / −0 · 2 files
- RAG metadata filtering entities(
Condition/MetadataFilteringCondition)此前无测试覆盖。 - 新增 35 个用例覆盖全部 19 个比较运算符、类型校验、逻辑组合和非法输入拒绝。
- 纯增量测试,不改生产代码;review 轮按 pyrefly strict 补了类型标注。
🧪 #45261 · langgenius/dify — test(api): add unit tests for rag document models
合并者 @asukaminato0721 · 2026-11-05 · +226 / −0 · 2 files
- RAG document models 的数据模型层此前测试覆盖薄弱。
- 新增 226 行单元测试,覆盖文档创建、分段、状态流转等核心模型方法。
- 纯增量测试,不改生产代码。
🧪 #45256 · langgenius/dify — test(api): add unit tests for rag text splitter
合并者 @asukaminato0721 · 2026-11-09 · +115 / −0 · 1 files
- RAG text splitter(
RecursiveCharacterTextSplitter)此前测试覆盖不完整。 - 在原有 111 个用例基础上新增 19 个回归用例:正则分隔符保留/丢弃、chunk_overlap 共享词、超大 chunk 兜底、
split_documents元数据映射等。 - 纯增量 +114/-0;126 passed, 4 skipped(预存 tiktoken 可选跳过)。
🧪 #45255 · langgenius/dify — test(api): add unit tests for uuid_utils.is_valid_
合并者 @wylswz · 2026-11-03 · +32 / −0 · 1 files
api/core/tools/utils/uuid_utils.py的is_valid_uuid此前零测试覆盖。- 新增 11 个参数化用例:规范连字符、大写、无连字符、带花括号、
urn:uuid:前缀 → 全部接受;None、空串、普通词、非十六进制字符 → 全部拒绝。 - 纯增量、不改生产代码;review 轮按 pyrefly
strictpreset 补了-> None返回类型标注。
🧪 #45254 · langgenius/dify — test(api): add unit tests for remove_leading_symbo
合并者 @asukaminato0721 · 2026-11-04 · +59 / −0 · 1 files
remove_leading_symbols工具函数此前无单元测试覆盖。- 新增参数化用例覆盖:前导符号剥离、纯符号输入、混合符号+文字、边界空串等场景。
- 纯增量测试,不改生产代码。
🐛 #45225 · langgenius/dify — fix(libs): reject non-dict output in parse_and_che
合并者 @Stream29 · 2026-11-05 · +19 / −0 · 2 files
parse_and_check_json_markdown在模型返回非 dict 结构时,下游代码直接当 dict 取 key 会AttributeError。- 修复:解析后显式校验
isinstance(result, dict),不满足直接抛异常,避免脏数据流入工具链。 - 新增对应回归测试用例。
🐛 #42997 · langgenius/dify — fix(api): preserve zero JSON-RPC request id in MCP
合并者 @asukaminato0721 · 2026-11-09 · +16 / −1 · 2 files
- JSON-RPC 2.0 规定
id: 0是合法请求 id,但create_mcp_error_response用request_id or 1会把 0 变成 1,客户端永远匹配不上错误响应。 - 修复:改为
request_id if request_id is not None else 1,保留合法的 0 值。 - 新增零 id 回归测试。
🏆 #15411 · langflow-ai/langflow — fix(schema): sanitize underscore-prefixed field na
合并者 @erichare · 2026-09-28 · +264 / −11 · 4 files
- JSON Schema 属性名允许以
_开头,但 Pydantic 把前导下划线字段当私有属性,create_model()直接抛NameError;update_tools()又把异常吞掉——用户看到的是 "Successfully loaded 0 tools"。 - 修复:剥离前导下划线构造安全字段名 → 确定性去重 → 原 wire 名通过
AliasChoices保留;嵌套循环与顶层循环都覆盖。 - 本地复现:旧 HEAD 必抛
NameError,修复后模型构建、校验、model_dump()往返全部通过。
🪟 #6361 · bytedance/deer-flow — fix(tests): skip MAX_PATH-exceeding blocking-io an
合并者 @WillemJiang · 2026-10-06 · +31 / −3 · 3 files
backend/tests/blocking_io/下 12 个锚点在 Windows 上确定性地挂在OSError: [Errno 206] Filename too long,突破了 260 字符 MAX_PATH。- 给三个受影响文件加模块级
pytest.mark.skipif(os.name == "nt"),对齐项目已合并的#6257/#5931约定;POSIX 上照常跑。
🐛 #6387 · volcengine/OpenViking — fix(compile): keep the compile workspace root abso
合并者 @fujiajie666 · 2026-10-21 · +39 / −2 · 2 files
- Docker 部署里
storage.workspace配成相对路径时,每个ov compile任务在stage=sandbox直接报mkdir: cannot create directory。 - 根因:
CompileSandboxManager把相对工作区根传进沙箱后端,凭证路径被相对解析了两次。 - 修复:在唯一入口把根目录
resolve()成绝对路径,并加回归测试。










