压测/取件实测暴露的三类问题(均在真实 worker 容器里复现并已验证修复): - 名为 .axls 实为 docx 的节点(清单扩展名与真实类型不符):dws 明确回报真实类型 → 回退 drive download 取原始字节(实测该节点 243,949B docx 可正常取到), 不再直接失败 - server model operate block 判可重试:同一节点 5 连测 3/5 成功(另一支 timeout), 原判终态会把可成功节点永久失败 - axls 大表偶发返回全空单元格(12 次取件出现 1 次):全空时重读一次再上报, 避免被平台空壳判定当「空文档」终态 新增 3 个回归测试(18 tests / 19 断言全绿)
This commit is contained in:
@@ -46,6 +46,8 @@ RULES = [
|
||||
(r"content is empty|正文为空|content\s+is\s+empty", "empty_document", False, False, "文档正文为空,无需入库"),
|
||||
# ---- 服务端导出失败/超时 ----
|
||||
(r"导出任务失败|export job failed|submitExportJob", "export_failed", True, False, "钉钉导出任务失败"),
|
||||
# 服务端主动阻断(实测同一节点 3/5 成功,5 连测里另一支是 timeout)→ 瞬时,必须可重试
|
||||
(r"model\.operate\.block|server model operate block", "upstream_blocked", True, False, "服务端暂时阻断本次操作(模型/限流),可重试"),
|
||||
(r"导出任务超时|export job timed out|timed out|timeout|超时", "export_timeout", True, False, "导出/请求超时,可重试"),
|
||||
# ---- 连接层 ----
|
||||
(r"connection refused|no such host|network is unreachable|i/o timeout|EOF|connection reset|request_failed|502|503|504|HTTP 5\d\d",
|
||||
|
||||
Reference in New Issue
Block a user