文件
hyb-oa/artifacts/r93/remediation-report.md
T

2.0 KiB
原始文件 Blame 文件历史

R93 修复与复测报告

生成日期:2026-05-05

已处理

  1. 公网前端部署一致性

    • 根因:远端源码已更新,但运行中的 Docker 镜像仍使用旧 /app/client/dist。
    • 处理:在 118.89.77.218 重新构建并重启 hyb-oa-trialrun-server。
    • 远端 smoke:smoke-external-deps.js 通过,smoke-trialrun-runtime.js 通过。
  2. 手机端票据/报销/上传公网表现

    • 复测文件:artifacts/r93/post-deploy-visual-check-2026-05-05.json
    • /invoice-pool mobile390:tableVisible=false,invoiceMobileListVisible=true,offscreenButtons=[]
    • /reimbursements mobile390:tableVisible=false,reimbursementMobileListVisible=true,offscreenButtons=[]
    • /mobile/capture mobile390:mobileCaptureMultiple=true,offscreenButtons=[]
  3. live OCR 自动化假失败

    • 根因:helper 使用 not.toBe("pending_ocr"),在详情文本短暂为空或未稳定时可能提前返回。
    • 处理:改为显式等待 available | ocr_failed 终态;断言使用 helper 返回的终态字段。
    • 复测:真实腾讯 OCR 用例通过。

当前数据

  • 数据探针:artifacts/r93/post-deploy-data-probe-2026-05-05.json
  • 票据池:公网员工账号当前可读,OCR provider 为 tencent,票据状态为 available,没有 pending_ocr 或 ocr_failed 样本。
  • 草稿报销:公网员工账号当前草稿数为 0,不能用真实草稿继续复现“再次编辑”链路;移动列表入口已恢复可见。

保留问题

  • /assets、/notifications、/purchase-requests 等页面仍有移动端表格专项,建议进入 R94。
  • /contracts-registry 员工视角仍请求 /api/employees 并返回 403,建议进入 R95 权限一致性专项。
  • cd client && npx playwright test tests/e2e/r92-mobile-invoice-usability.spec.ts ... 本轮未作为通过门禁,原因是该用例默认依赖本地 127.0.0.1:3000,当前本地未启动服务;公网视觉复测已覆盖本次部署问题。