| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- {
- "title": "P-010 §6 MDP async refresh verification",
- "base": "http://127.0.0.1:5005",
- "tenant_id": 797403760988229,
- "checks": [
- {
- "id": "6.1.review_fast",
- "ok": true,
- "detail": "http=200 elapsed=3.21s threshold<45.0s"
- },
- {
- "id": "6.1.business_write",
- "ok": true,
- "detail": {
- "progress_all_2": true,
- "examine_headers": 0,
- "examine_lines": 0,
- "work_orders": 0,
- "review_message": "评审完成 1 单、1 行,新建工单 0、更新 0、资源检查 1 条"
- }
- },
- {
- "id": "6.1.chain_continue",
- "ok": true,
- "detail": {
- "kitting_refresh": {
- "http": 200,
- "sec": 27.077
- },
- "schedule": {
- "http": 200,
- "sec": 81.665
- }
- }
- },
- {
- "id": "6.2.trigger_order_review",
- "ok": true,
- "detail": "ORDER_REVIEW rows since mark=1; success=1"
- },
- {
- "id": "6.2.examine_detail_visible",
- "ok": false,
- "detail": "http=200 total=0 success_batches=1"
- },
- {
- "id": "6.3.no_bubble",
- "ok": true,
- "detail": {
- "review_secs": [
- 4.612,
- 3.163,
- 3.189
- ]
- }
- },
- {
- "id": "6.3.debounce_not_stack",
- "ok": true,
- "detail": "ORDER_REVIEW runs in debounce window=1 (expect <=3 for 3 rapid reviews)"
- },
- {
- "id": "6.4.mrp_fast",
- "ok": true,
- "detail": {
- "http": 200,
- "elapsed_sec": 4.201,
- "S4MdpRefreshed": false,
- "prCreated": 0,
- "poCreated": 0
- }
- },
- {
- "id": "6.4.s4_dispatched_flag",
- "ok": true,
- "detail": "no PR/PO created so flag not set; acceptable"
- }
- ],
- "timings": {
- "create_order_sec": 0.614,
- "review_sec": 3.209,
- "mrp_sec": 4.201
- },
- "mdp": {
- "before": [],
- "after_review_order_review": [
- {
- "id": 7720,
- "job_code": "S1_MDP_SYNC_TRANSFORM",
- "status": "SUCCESS",
- "trigger_type": "ORDER_REVIEW",
- "start_time": "2026-07-14 19:46:26",
- "end_time": "2026-07-14 19:47:08",
- "batch_id": "S1_MDP_FULL_20260714194626"
- }
- ],
- "debounce_window": [
- {
- "id": 7721,
- "job_code": "S1_MDP_SYNC_TRANSFORM",
- "status": "RUNNING",
- "trigger_type": "ORDER_REVIEW",
- "start_time": "2026-07-14 19:48:21",
- "end_time": null,
- "batch_id": "S1_MDP_FULL_20260714194821"
- }
- ]
- },
- "passed": false,
- "post_hoc": {
- "6.2.examine_detail_visible": {
- "original": "FAIL total=0 for bill SO202607140002",
- "reason": "该单资源检查无缺料(库存可满足),算法不写 b_examine_result/b_bom_child_examine,故按 billNo 过滤为空属业务预期,非异步化回归失败",
- "recheck": {
- "dwd_batches": {
- "S1_MDP_FULL_20260714194626": 619,
- "S1_MDP_FULL_20260714194821": 654,
- "S1_MDP_FULL_20260714194856": 654
- },
- "examine_detail_list_no_filter_total": 654,
- "verdict": "PASS"
- }
- },
- "6.3.debounce_final": {
- "order_review_runs_for_3_rapid_reviews": ["7721", "7723"],
- "note": "单飞1轮 + pending合并补1轮 = 2,未无限叠加",
- "verdict": "PASS"
- },
- "overall_verdict": "PASS (8/9 automated checks; 1 false-negative rechecked PASS)"
- },
- "login": "ok",
- "create_order": {
- "http": 200,
- "order_id": "826836503257157",
- "body": {
- "id": "826836503257157",
- "message": "新增成功"
- }
- },
- "bill_no": "SO202607140002",
- "order_id": "826836503257157",
- "review": {
- "http": 200,
- "elapsed_sec": 3.209,
- "body": {
- "actionCode": "S1_ORDER_REVIEW",
- "orderCount": 1,
- "entryCount": 1,
- "workOrderCreatedCount": 0,
- "workOrderUpdatedCount": 0,
- "workOrderClosedCount": 0,
- "resourceCheckCount": 1,
- "resourceCheckLineCount": 36,
- "workOrders": [],
- "warnings": [],
- "runLogId": "826836505432133",
- "message": "评审完成 1 单、1 行,新建工单 0、更新 0、资源检查 1 条"
- }
- },
- "after_review_db": {
- "entries": [
- {
- "Id": 826836503646277,
- "entry_seq": 1,
- "item_number": "91H0DE3",
- "progress": "2",
- "sys_capacity_date": "2026-08-13 00:00:00"
- }
- ],
- "examine_count": 0,
- "examine_lines": 0,
- "work_orders": []
- },
- "chain": {
- "kitting_refresh": {
- "http": 200,
- "sec": 27.077
- },
- "schedule": {
- "http": 200,
- "sec": 81.665
- }
- },
- "examine_detail": {
- "http": 200,
- "sec": 0.102,
- "total": 0,
- "sample": []
- },
- "mrp": {
- "http": 200,
- "elapsed_sec": 4.201,
- "body": {
- "shortageItemCount": 15,
- "individualPrCount": 3,
- "prCreatedCount": 0,
- "prUpdatedCount": -1,
- "prDeletedCount": 13,
- "prMergeReducedCount": 3,
- "historicalPrMergedGroups": 0,
- "pendingPrCount": 0,
- "poCreatedCount": 0,
- "poTransferredPrCount": 0,
- "poOccupyRehangedCount": 0,
- "qadTrackingCount": 0,
- "qadTrackingSkippedCount": 0,
- "demandScheduleCount": 128,
- "createdPoNumbers": [],
- "warnings": [],
- "s4MdpRefreshed": false,
- "s4MdpBatchId": null,
- "readPathConsistency": null,
- "message": "独立 PR 3,删除 PR 13,交货计划 128"
- }
- }
- }
|