文件
hyb-oa/issues/2026-03-24_21-16-52-r34-search-procurement-stability.csv

3.7 KiB

1IDTitleDescriptionAcceptanceTest_MethodToolsDev_StatusReview1_StatusRegression_StatusFilesDependenciesNotes
2R34-0新执行合同建档与范围锁定基于 R31-5 已收口后的剩余已知缺口建立 R34 合同并锁定仅覆盖搜索查看更多跳转与采购 submit 二次减重新 CSV 校验通过 且 Notes 明确本轮不承接 push R31-5 与其他顺手修复python3 /home/shunli/.codex/skills/plan/scripts/validate_issues_csv.py issues/2026-03-24_21-16-52-r34-search-procurement-stability.csvnoneDONEDONEDONEissues/2026-03-24_21-16-52-r34-search-procurement-stability.csv[]R34 不承接 push;两个仓库当前无 upstream,远端配置等待后续单独处理。本轮不新增搜索结果页,不调整 Prisma transaction timeout。2026-03-24 已完成 R34 CSV 建档并通过 `python3 /home/shunli/.codex/skills/plan/scripts/validate_issues_csv.py issues/2026-03-24_21-16-52-r34-search-procurement-stability.csv` 校验;同日 `bash scripts/qa/run-web-gates.sh full-local` 通过,结果 27 passed / 3 skipped / 0 failed,R34 正式收口。
3R34-1全局搜索查看更多结果补跳转把全局搜索分组中的查看更多结果从静态文案改为真实可点击跳转并保持现有搜索 API 与分组逻辑不变当某分组总数大于 3 时显示可点击查看更多结果 点击后关闭弹窗并跳到对应现有列表页 且现有单条命中点击跳详情能力不回归cd client && npm run typecheck && npm run test:e2e -- tests/e2e/global-search.spec.tsmanualDONEDONEDONEclient/src/components/GlobalSearchDialog.tsx|client/tests/e2e/global-search.spec.ts["R34-0"]映射固定为 people->/people documents 按首个 entityType 跳对应列表页 projectAnnouncement 按首个实体跳 /projects 或 /announcements other 中 asset 跳 /assets contract_registry 与 confidential_doc_ref 跳 /contracts-registry;同组混合类型时查看更多结果按首条命中决定目标列表页,属于尽力猜测。2026-03-24 `cd client && npm run typecheck` 通过;同日使用临时库 + build + 本地 server 编排执行 `CI=1 PLAYWRIGHT_HTML_OPEN=never E2E_MODE=local npm run test:e2e -- tests/e2e/global-search.spec.ts`,结果 3 passed。过程中补了 dialog `max-h` 与 `overflow-y-auto`,修复 720px 视口下查看更多结果按钮超出视口不可点的问题。
4R34-2采购 submit workflow 纯读解析前置把采购 submit 中 active workflow definition 读取与 actionable approver 纯读解析前置到事务外以继续缩短事务时长POST /api/purchase-requests/:id/submit 在不改权限模型 审批规则 状态机 与返回字段前提下把 workflowDefinition parseWorkflowSteps resolveActionableStep 前置到事务外 procurement-flow.spec.ts 通过 且需要时 full-local 不再因采购 submit 触发同类 P2028cd server && node --check src/routes/purchaseRequests.js && cd ../client && npm run test:e2e -- tests/e2e/procurement-flow.spec.tsmanualDONEDONEDONEserver/src/routes/purchaseRequests.js|server/src/utils/workflow.js|client/tests/e2e/procurement-flow.spec.ts["R34-0"]事务内继续保留草稿锁定与归属校验 必填校验 金额重算 budget precheck risk flag 预算预留 request_no 签发 主档更新与 workflow instance task history 写入;不额外改审批工具接口。2026-03-24 `cd server && node --check src/routes/purchaseRequests.js` 通过;同日在临时库 + build + 本地 server 编排下执行 `CI=1 PLAYWRIGHT_HTML_OPEN=never E2E_MODE=local npm run test:e2e -- tests/e2e/global-search.spec.ts tests/e2e/procurement-flow.spec.ts` 时,`tests/e2e/procurement-flow.spec.ts` 已通过,采购 submit 后经理审批与财务归档链路正常;本轮未额外触发 full-local。