fix: 完善自动导入异常中断与恢复

- 自动导入基础设施异常触发批次熔断,保留完整日志并输出安全错误信息

- 增加恢复令牌与租约围栏、无文档失败项重建及消息退避机制

- 前端展示中断状态并在状态请求失败后自动恢复轮询

- 补充批次中断迁移、配置与并发异常路径测试
This commit is contained in:
2026-08-10 11:26:00 +08:00
parent 54d85ae460
commit bae7b18977
33 changed files with 3725 additions and 221 deletions

View File

@@ -116,6 +116,10 @@
"pendingCount": "Pending",
"skippedCount": "Skipped",
"continueBatch": "Continue",
"batchStatusLoadFailed": "Unable to load the automatic import status. Retrying automatically.",
"interruptFallback": "Automatic import was interrupted. Resume after the service recovers.",
"interruptCode": "Error code",
"interruptedAt": "Interrupted at",
"splitOrIndexFailed": "Chunking or indexing failed. Please retry.",
"documentSourceUnavailable": "Unable to read the document file. Please contact the administrator.",
"parseServiceUnavailable": "The document parsing service is temporarily unavailable. Please retry later.",

View File

@@ -116,6 +116,10 @@
"pendingCount": "等待",
"skippedCount": "跳过",
"continueBatch": "继续",
"batchStatusLoadFailed": "自动导入状态暂时无法获取,将自动重试",
"interruptFallback": "自动导入发生异常,批次已中断,请确认服务恢复后继续",
"interruptCode": "错误标识",
"interruptedAt": "中断时间",
"splitOrIndexFailed": "分块或向量化失败,请重试",
"documentSourceUnavailable": "文档文件读取失败,请联系管理员",
"parseServiceUnavailable": "文档解析服务暂不可用,请稍后重试",