Commit Graph
16 Commits
Author SHA1 Message Date
yeuimu fdcf107993 feat: OCR 新增支持波兰(PL,版式 pables_dpd/pables_inpost)
CI / test (pull_request) Successful in 2m49s
2026-10-15 03:12:21 +00:00
yeuimu 2259bce7c4 feat: OCR 新增支持西班牙/意大利/加拿大(ES/IT/CA)
CI / test (pull_request) Failing after 1s
- api/ocr/models.py: SUPPORTED_COUNTRIES/_COUNTRY_MAP 补 CA/ES/IT 的 ISO 码与中文国名
- flows/label_ocr.py: label-ocr 默认国家列表扩为 8 国,docstring 同步
2026-09-24 03:49:46 +00:00
yeuimu 5aaddbbf7c fix: worker 加 init 回收僵尸进程;label-ocr 批量请求重试且失败不落 ERROR
- docker-compose: prefect-worker 加 init: true。pull 步骤的 git 子进程被杀后
  无人 wait 变僵尸,9/17 宿主机重启后爆发 3.7 万僵尸占满容器 cgroup PID 配额,
  导致所有 flow run "Failed to start flow run process"(全量 CRASH 约 40h)。
- label_ocr: OCR 编排服务(lm-server-canary)偶发秒级重启,原逻辑对批量请求
  失败零重试并整批标永久 ERROR,9/1、9/5、9/9 三波共 ~2500 单误标。
  现改为请求级重试 3 次,仍失败则保持未处理,留给下个小时 run 自动重试。
2026-09-18 10:09:24 +00:00
yeuimu a0e27ae738 fix: OCR 区分 UNSUPPORTED(rejected) 和 ERROR(临时失败) 2026-08-08 02:50:40 +00:00
yeuimu 2128f17868 feat: OCR 新增沙特(SA)支持; 默认加入沙特 2026-08-05 07:48:56 +00:00
yeuimu 1739d47d59 feat: label-ocr 默认加入墨西哥、德国 2026-08-05 07:31:18 +00:00
yeuimu c5efa457d1 refactor: countryRegion 统一中文归一化; label-ocr 改用 countryRegion; destinationCountry 还原 ISO2 2026-08-02 16:07:24 +00:00
yeuimu 7ed1893b83 refactor: destinationCountry 统一归一为中文国名 2026-08-02 15:58:51 +00:00
yeuimu 4b2ef120b5 fix: label-ocr 防重入改用客户端过滤 RUNNING 状态 2026-07-31 05:46:38 +00:00
yeuimu f8b8db2d79 fix: label-ocr 防重入改用 count>1 避免自检 2026-07-31 05:44:52 +00:00
yeuimu 68f0d9439c feat: label-ocr 防重入(同一时间只跑一个) 2026-07-31 05:43:02 +00:00
yeuimu a742f4169e feat: label-ocr 默认 GB+US 近7天; refresh_pending 合并无面单订单(近7天) 2026-07-31 01:57:52 +00:00
yeuimu 3e075fd366 refactor: OCR 字段改驼峰(ocrLayout/ocrCourier/ocrSName...) 2026-07-24 08:33:46 +00:00
yeuimu 7267aa928c feat: label-ocr 默认只处理英国(GB) 2026-07-24 08:28:04 +00:00
yeuimu f0580a8ce4 feat: label-ocr 支持 destination_country/courier_source 筛选优先处理 2026-07-24 02:10:03 +00:00
yeuimu 70178e9295 feat: OCR v2 batch + RIIN waybill + 双系统 label-ocr flow(hourly) 2026-07-23 23:44:24 +00:00