Skip to content

feat: 增加循环子画布节点 --story=135418928 - #847

Merged
luofann merged 40 commits into
TencentBlueKing:masterfrom
Mianhuatang8:merge_subcanvs_to_master
Aug 3, 2026
Merged

feat: 增加循环子画布节点 --story=135418928#847
luofann merged 40 commits into
TencentBlueKing:masterfrom
Mianhuatang8:merge_subcanvs_to_master

Conversation

@Mianhuatang8

Copy link
Copy Markdown
Collaborator

No description provided.

# Reviewed, transaction id: 82268
# Reviewed, transaction id: 82269
# Reviewed, transaction id: 82306
# Reviewed, transaction id: 82543
# Reviewed, transaction id: 82627
# Reviewed, transaction id: 82633
# Reviewed, transaction id: 82833
# Reviewed, transaction id: 83007
# Reviewed, transaction id: 83008
# Reviewed, transaction id: 83099
# Reviewed, transaction id: 83100
# Reviewed, transaction id: 83145
# Reviewed, transaction id: 83213
# Reviewed, transaction id: 83215
# Reviewed, transaction id: 83230
# Reviewed, transaction id: 83231
# Reviewed, transaction id: 83282
# Reviewed, transaction id: 83324
# Reviewed, transaction id: 83341
@codecov-commenter

codecov-commenter commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.10%. Comparing base (63b6bb1) to head (239648a).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #847   +/-   ##
=======================================
  Coverage   83.10%   83.10%           
=======================================
  Files         307      307           
  Lines       18167    18167           
=======================================
  Hits        15098    15098           
  Misses       3069     3069           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Code Review Summary

概述

本 PR 实现了前端画布的循环节点(SubCanvas / Loop Group Node)功能,涉及大量画布交互逻辑、节点嵌入/管理、复制粘贴时的 ID 重映射、校验规则扩展等。整体设计合理,功能完整度高。以下是一些需要关注的问题。

发现的问题

# 严重度 文件 问题
1 🔴 Critical validatePipeline.js:572 残留的无效表达式语句(dead code)
2 🔴 Critical validatePipeline.js:294 SubCanvas NODE_RULE.allowed_out 包含不可达类型 'start'
3 🟡 Important 多文件 魔法数字 415/158 在 5+ 文件中重复,应提取为共享常量
4 🟡 Important shortcutPanel.vue / index.vue innerToOuterTypeMap 在两处完全重复定义
5 🟡 Important index.vue:2188-2192 forEach 回调体缩进错误(1 空格)
6 🟡 Important loop.vue:292-303 resize 溢出检测的坐标参考系可能不一致

Automated review by CI bot

Comment thread frontend/src/utils/validatePipeline.js Outdated
Comment thread frontend/src/utils/validatePipeline.js Outdated
Comment thread frontend/src/components/canvas/ProcessCanvas/index.vue Outdated
# Reviewed, transaction id: 83772

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Code Review Summary (Incremental)

之前报告的问题状态

# 状态 说明
1 ✅ 已解决 validatePipeline.js 中的无效表达式语句已删除
2 ✅ 已解决 SubCanvas allowed_out 中的不可达类型 'start' 已移除
3 ⚠️ 未修复 魔法数字 415/158 仍分散在 6+ 文件中
4 ⚠️ 未修复 innerToOuterTypeMap 仍在两处重复定义
5 需复核 缩进问题(请确认是否已修正)
6 ⚠️ 未修复 resize 坐标参考系不一致(实际影响较小)

新发现的问题

本次增量提交中未发现新的 Critical 级别问题。整体代码质量良好,循环子画布的嵌套 pipelineTree 管理、embedding 逻辑、校验规则扩展等实现完整。


Automated incremental review

@luofann
luofann merged commit f37a97d into TencentBlueKing:master Aug 3, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants