sjw1231
1784d23da9
fix(workflow): keep the fatal code that ended a failed run
...
A fatal WorkflowError such as AGENT_CAP or ITEM_CAP was rendered to text
inside the PTC guest, so the workflow tool could only report RUN_FAILED.
WorkflowResult and the workflow/end payload now carry errorCode, the
code of the fatal error that ended an error run; the host validates it
at the process boundary and the tool fails with that code. RUN_FAILED
remains only for an error run without one: the script's own exception or
an engine runtime failure. WorkflowError narrows code to
WorkflowErrorCode.
Refs #7869
2026-11-11 13:10:55 +08:00
..
2026-11-03 20:39:03 +08:00
2026-11-05 20:21:45 +08:00
2026-11-06 17:40:24 +08:00
2026-11-05 17:53:22 +08:00
2026-11-11 13:10:55 +08:00
2026-11-09 16:40:21 +08:00
2026-11-06 16:59:29 +08:00
2026-11-05 17:53:22 +08:00
2026-10-23 16:13:38 +08:00
2026-10-23 16:13:38 +08:00
2026-10-23 16:13:38 +08:00
2026-11-06 19:20:28 +08:00
2026-11-06 19:20:28 +08:00
2026-11-06 19:20:28 +08:00
2026-11-06 17:40:24 +08:00
2026-11-06 17:40:24 +08:00
2026-11-06 17:40:24 +08:00
2026-11-09 17:24:34 +08:00
2026-11-09 17:24:34 +08:00
2026-10-26 13:55:47 +08:00
2026-10-26 13:55:47 +08:00
2026-10-26 13:55:47 +08:00
2026-11-09 13:15:10 +08:00
2026-11-09 13:15:10 +08:00
2026-11-09 13:15:10 +08:00
2026-11-09 17:24:34 +08:00
2026-11-09 17:24:34 +08:00
2026-11-05 12:28:50 +08:00
2026-11-05 12:28:50 +08:00
2026-11-05 12:28:50 +08:00
2026-11-09 17:24:34 +08:00
2026-11-09 17:24:34 +08:00
2026-11-11 13:10:55 +08:00
2026-11-11 13:10:55 +08:00
2026-11-11 13:10:55 +08:00
2026-11-11 13:10:55 +08:00
2026-10-29 18:54:29 +08:00
2026-10-29 18:54:29 +08:00
2026-10-29 18:54:29 +08:00
2026-11-03 13:04:26 +08:00
2026-11-03 13:04:26 +08:00
2026-11-03 13:04:26 +08:00
2026-11-05 14:53:17 +08:00
2026-11-05 14:53:17 +08:00
2026-11-05 14:53:17 +08:00
2026-11-03 20:39:03 +08:00
2026-11-03 20:39:03 +08:00
2026-11-03 20:39:03 +08:00
2026-11-03 20:38:25 +08:00
2026-11-03 20:38:25 +08:00
2026-11-03 20:38:25 +08:00
2026-11-05 11:25:51 +08:00
2026-11-05 11:25:51 +08:00
2026-11-05 11:25:51 +08:00