@mldong/jeeflow 1.8.42 → 1.8.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/facade.js +13 -2
- package/package.json +1 -1
package/dist/facade.js
CHANGED
|
@@ -927,7 +927,13 @@ export class JeeflowFacade {
|
|
|
927
927
|
nodeProgress = await this.buildNodeProgress(flow, his);
|
|
928
928
|
await this.collectPath(flow, 'start', active, history, edges, new Set(), inst.variables ?? {}, his);
|
|
929
929
|
}
|
|
930
|
-
catch {
|
|
930
|
+
catch (e) {
|
|
931
|
+
// issues/162(口径=保留降级面+落一条可诊断日志,形状照 jeeflow-go v1.8.43 那枚):
|
|
932
|
+
// 坏定义只降级模型补全腿(边集/节点补全/nodeProgress 留空,实例与任务行不受影响、
|
|
933
|
+
// 对外仍 code=0),但不再一声不吭地吞掉——这条静默通道先后藏住过 156(php)与
|
|
934
|
+
// 160(python)两个真分叉。日志三件齐(实例号/定义号/原因),缺一件等于没落。
|
|
935
|
+
console.error(`[jeeflow] WARN highLight 模型补全腿解码失败,边集/节点补全/nodeProgress 已降级(实例与任务行不受影响): instanceId=${instanceId}, defineId=${inst.defineId}, err=${e}`);
|
|
936
|
+
}
|
|
931
937
|
}
|
|
932
938
|
return { activeNodeNames: active, historyNodeNames: history, historyEdgeNames: edges, nodeProgress };
|
|
933
939
|
}
|
|
@@ -1090,7 +1096,12 @@ export class JeeflowFacade {
|
|
|
1090
1096
|
}
|
|
1091
1097
|
async updateCCStatus(args) {
|
|
1092
1098
|
const instanceId = toId(args.processInstanceId);
|
|
1093
|
-
|
|
1099
|
+
// issues/142 B 批(spec 06 §2.11 写点表第四行「operator 入参归一后再比」漏收口)+ issues/172:
|
|
1100
|
+
// 逐字对齐 java `normalizeActor(operatorArg(args))`——`operatorArg` 只判空不落 trim
|
|
1101
|
+
// (`s.trim() !== '' ? s : 'user1'` 交出的仍是原串,`" 8601 "` 原样过关),门面这一层
|
|
1102
|
+
// 再补 `spi.normalizeActorValue`(trim;哨兵 `"0"` 是非空串照收),然后才交仓储做第二道兜底。
|
|
1103
|
+
// 两仓第二层归一(memory.ts / jdbc/shared.ts)会把缺的这一层掩住,故门面腿单点 spy 钉它。
|
|
1104
|
+
const operator = normalizeActorValue(operatorArg(args));
|
|
1094
1105
|
await this.repo.updateCcStatus(instanceId, operator);
|
|
1095
1106
|
}
|
|
1096
1107
|
// ccList 我的抄送分页(v1.3.0):operator 作为抄送人过滤
|