fix(loop): 修复子工作流循环节点层级丢失 - #158
Open
openjiuwen-sync-bot[bot] wants to merge 1 commit into
Open
Conversation
新版工作流引擎将循环体节点的 parentNodeId 表示为 “子工作流节点.循环节点”,事件转换层又在检测到 loopNodeId 时 清空 parentNodeId,导致循环体节点被前端错误展示在父工作流根级。 - 从父节点路径中移除末尾循环节点,恢复所属子工作流节点 ID - 将 loopIndex 从 0-based 转换为兼容旧版契约的 1-based - 在 node_started 和 node_finished 事件中保留 loopNodeId、loopIndex - 保持 parentInvokeId 使用引擎原始值,避免生成自引用调用关系 - 补充循环层级转换和事件元数据映射的回归测试
|
|
openjiuwenai
force-pushed
the
sync/pr-1752
branch
from
July 30, 2026 07:59
40134f8 to
5f9344b
Compare
|
head_sha:
|
|
head_sha:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Paired: GitHub #158 ↔ GitCode !1752
fix(loop): 修复子工作流循环节点调用链层级丢失
新版工作流引擎将循环体节点的 parentNodeId 表示为
“子工作流节点.循环节点”,事件转换层又在检测到 loopNodeId 时
清空 parentNodeId,导致循环体节点被前端错误展示在父工作流根级。