压测/取件实测暴露的三类问题(均在真实 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:
@@ -77,6 +77,11 @@ CASES = [
|
||||
"server_error_code": "internalError"}},
|
||||
("export_failed", True, False)),
|
||||
|
||||
("服务端阻断(5 连测实测:同一节点 3/5 成功,另一支是 timeout)",
|
||||
{"error": {"category": "api", "code": 1, "message": "server model operate block",
|
||||
"server_error_code": "model.operate.block", "reason": "business_error"}},
|
||||
("upstream_blocked", True, False)),
|
||||
|
||||
("未分类错误 → 不得默认可重试",
|
||||
{"category": "internal", "code": 9, "message": "something nobody has seen before"},
|
||||
("unknown", False, False)),
|
||||
|
||||
Reference in New Issue
Block a user