Files
syops/docs/features/shipping-notice/process-gate-recovery-acceptance.md
T
hugoandCursor cef3d5b26a fix(shipping-process-gates): 收口技术重试并补齐运维 UI
跨 Job 累计技术失败次数,耗尽后将 Attempt/Gate 置为 failed_terminal;
收缩旧 action_buttons;healthcheck 增加 Worker 领取探针;恢复卡展示责任方与审计,Admin 诊断改主从布局。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 13:54:14 +08:00

55 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 货代发货通知 — 全门禁中断恢复阶段验收报告
> **基线日期**:2026-08-01(第四次评审修复后)
> **契约**:[`process-gate-recovery-contract.md`](./process-gate-recovery-contract.md)
> **技术手册**:[`technical.md`](./technical.md)
---
## 1. 阶段合规结论(以当前工作树实测为准)
| 阶段 | 目标 | 结论 |
| --- | --- | --- |
| Phase 1.5–6 | 契约 / 模型 / 服务 / API / UI 卡片 | **代码与定向测通过** |
| Phase 7 | 故障注入、环境变量、healthcheck、验收证据 | **部分通过**(缺生产双 Worker 强杀演练与人工签署) |
**发布边界**:人工实机 / 生产演练未签前,**不得宣称生产可发布闭环**。
仍待人工签署:
- 生产双 Worker 强杀现场演练
- Dify 平台配置确认
- 管理端 768px / 真实阻断卡 / 409 刷新视觉验收
- 完整前端 E2E 与生产构建签字
---
## 2. 针对最新评审缺陷的修复摘要
| 优先级 | 问题 | 修复 |
| --- | --- | --- |
| P1 | `force_new` Job 重置 attempts 导致无限重试 | Attempt.`technical_retry_count` 跨 Job 累计;达 `SHIPPING_PROCESS_GATE_TECHNICAL_RETRIES` 停止入队 |
| P1 | 重试耗尽后 Attempt/Gate 仍 running | `complete_gate_attempt(failed_terminal)` + `TECHNICAL_RETRY_EXHAUSTED` |
| P1 | 旧 action_buttons 业务调用 | 有 Execution 时阻断清零、非阻断仅保留 download/mark_upload/refresh;匹配/OCR 响应不再补旧按钮 |
| P1 | healthcheck 未验证领取 | 探针 Job `healthcheck_probe` + 等待 Worker running/终态 |
| UI | 恢复卡缺责任方 / 审计 | `ProcessGateRecoveryCard` 展示责任方 + 查看审计 |
| UI | Admin 非主从布局 | lg+ 左列表右详情 sticky 主从布局 |
---
## 3. 测试(本轮)
| 套件 | 结果 |
| --- | --- |
| 全量 `test_shipping_process_gate_*.py`(含 retry_cap / sanitizer) | **50 passed** |
| `vitest` shipping-process-gates + `vue-tsc --noEmit` | **通过** |
---
## 4. 签署
| 角色 | 结果 | 日期 |
| --- | --- | --- |
| 实现(Agent) | Worker 重试/收口、旧动作收缩、探针、UI 责任方/审计/主从布局已修 | 2026-08-01 |
| 人工 QA / 生产演练 | 待签署 | — |