_verify_p010_mdp_async_s6_result.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. {
  2. "title": "P-010 §6 MDP async refresh verification",
  3. "base": "http://127.0.0.1:5005",
  4. "tenant_id": 797403760988229,
  5. "checks": [
  6. {
  7. "id": "6.1.review_fast",
  8. "ok": true,
  9. "detail": "http=200 elapsed=3.21s threshold<45.0s"
  10. },
  11. {
  12. "id": "6.1.business_write",
  13. "ok": true,
  14. "detail": {
  15. "progress_all_2": true,
  16. "examine_headers": 0,
  17. "examine_lines": 0,
  18. "work_orders": 0,
  19. "review_message": "评审完成 1 单、1 行,新建工单 0、更新 0、资源检查 1 条"
  20. }
  21. },
  22. {
  23. "id": "6.1.chain_continue",
  24. "ok": true,
  25. "detail": {
  26. "kitting_refresh": {
  27. "http": 200,
  28. "sec": 27.077
  29. },
  30. "schedule": {
  31. "http": 200,
  32. "sec": 81.665
  33. }
  34. }
  35. },
  36. {
  37. "id": "6.2.trigger_order_review",
  38. "ok": true,
  39. "detail": "ORDER_REVIEW rows since mark=1; success=1"
  40. },
  41. {
  42. "id": "6.2.examine_detail_visible",
  43. "ok": false,
  44. "detail": "http=200 total=0 success_batches=1"
  45. },
  46. {
  47. "id": "6.3.no_bubble",
  48. "ok": true,
  49. "detail": {
  50. "review_secs": [
  51. 4.612,
  52. 3.163,
  53. 3.189
  54. ]
  55. }
  56. },
  57. {
  58. "id": "6.3.debounce_not_stack",
  59. "ok": true,
  60. "detail": "ORDER_REVIEW runs in debounce window=1 (expect <=3 for 3 rapid reviews)"
  61. },
  62. {
  63. "id": "6.4.mrp_fast",
  64. "ok": true,
  65. "detail": {
  66. "http": 200,
  67. "elapsed_sec": 4.201,
  68. "S4MdpRefreshed": false,
  69. "prCreated": 0,
  70. "poCreated": 0
  71. }
  72. },
  73. {
  74. "id": "6.4.s4_dispatched_flag",
  75. "ok": true,
  76. "detail": "no PR/PO created so flag not set; acceptable"
  77. }
  78. ],
  79. "timings": {
  80. "create_order_sec": 0.614,
  81. "review_sec": 3.209,
  82. "mrp_sec": 4.201
  83. },
  84. "mdp": {
  85. "before": [],
  86. "after_review_order_review": [
  87. {
  88. "id": 7720,
  89. "job_code": "S1_MDP_SYNC_TRANSFORM",
  90. "status": "SUCCESS",
  91. "trigger_type": "ORDER_REVIEW",
  92. "start_time": "2026-07-14 19:46:26",
  93. "end_time": "2026-07-14 19:47:08",
  94. "batch_id": "S1_MDP_FULL_20260714194626"
  95. }
  96. ],
  97. "debounce_window": [
  98. {
  99. "id": 7721,
  100. "job_code": "S1_MDP_SYNC_TRANSFORM",
  101. "status": "RUNNING",
  102. "trigger_type": "ORDER_REVIEW",
  103. "start_time": "2026-07-14 19:48:21",
  104. "end_time": null,
  105. "batch_id": "S1_MDP_FULL_20260714194821"
  106. }
  107. ]
  108. },
  109. "passed": false,
  110. "post_hoc": {
  111. "6.2.examine_detail_visible": {
  112. "original": "FAIL total=0 for bill SO202607140002",
  113. "reason": "该单资源检查无缺料(库存可满足),算法不写 b_examine_result/b_bom_child_examine,故按 billNo 过滤为空属业务预期,非异步化回归失败",
  114. "recheck": {
  115. "dwd_batches": {
  116. "S1_MDP_FULL_20260714194626": 619,
  117. "S1_MDP_FULL_20260714194821": 654,
  118. "S1_MDP_FULL_20260714194856": 654
  119. },
  120. "examine_detail_list_no_filter_total": 654,
  121. "verdict": "PASS"
  122. }
  123. },
  124. "6.3.debounce_final": {
  125. "order_review_runs_for_3_rapid_reviews": ["7721", "7723"],
  126. "note": "单飞1轮 + pending合并补1轮 = 2,未无限叠加",
  127. "verdict": "PASS"
  128. },
  129. "overall_verdict": "PASS (8/9 automated checks; 1 false-negative rechecked PASS)"
  130. },
  131. "login": "ok",
  132. "create_order": {
  133. "http": 200,
  134. "order_id": "826836503257157",
  135. "body": {
  136. "id": "826836503257157",
  137. "message": "新增成功"
  138. }
  139. },
  140. "bill_no": "SO202607140002",
  141. "order_id": "826836503257157",
  142. "review": {
  143. "http": 200,
  144. "elapsed_sec": 3.209,
  145. "body": {
  146. "actionCode": "S1_ORDER_REVIEW",
  147. "orderCount": 1,
  148. "entryCount": 1,
  149. "workOrderCreatedCount": 0,
  150. "workOrderUpdatedCount": 0,
  151. "workOrderClosedCount": 0,
  152. "resourceCheckCount": 1,
  153. "resourceCheckLineCount": 36,
  154. "workOrders": [],
  155. "warnings": [],
  156. "runLogId": "826836505432133",
  157. "message": "评审完成 1 单、1 行,新建工单 0、更新 0、资源检查 1 条"
  158. }
  159. },
  160. "after_review_db": {
  161. "entries": [
  162. {
  163. "Id": 826836503646277,
  164. "entry_seq": 1,
  165. "item_number": "91H0DE3",
  166. "progress": "2",
  167. "sys_capacity_date": "2026-08-13 00:00:00"
  168. }
  169. ],
  170. "examine_count": 0,
  171. "examine_lines": 0,
  172. "work_orders": []
  173. },
  174. "chain": {
  175. "kitting_refresh": {
  176. "http": 200,
  177. "sec": 27.077
  178. },
  179. "schedule": {
  180. "http": 200,
  181. "sec": 81.665
  182. }
  183. },
  184. "examine_detail": {
  185. "http": 200,
  186. "sec": 0.102,
  187. "total": 0,
  188. "sample": []
  189. },
  190. "mrp": {
  191. "http": 200,
  192. "elapsed_sec": 4.201,
  193. "body": {
  194. "shortageItemCount": 15,
  195. "individualPrCount": 3,
  196. "prCreatedCount": 0,
  197. "prUpdatedCount": -1,
  198. "prDeletedCount": 13,
  199. "prMergeReducedCount": 3,
  200. "historicalPrMergedGroups": 0,
  201. "pendingPrCount": 0,
  202. "poCreatedCount": 0,
  203. "poTransferredPrCount": 0,
  204. "poOccupyRehangedCount": 0,
  205. "qadTrackingCount": 0,
  206. "qadTrackingSkippedCount": 0,
  207. "demandScheduleCount": 128,
  208. "createdPoNumbers": [],
  209. "warnings": [],
  210. "s4MdpRefreshed": false,
  211. "s4MdpBatchId": null,
  212. "readPathConsistency": null,
  213. "message": "独立 PR 3,删除 PR 13,交货计划 128"
  214. }
  215. }
  216. }