Skip to content

Dev - #220

Merged
xlorne merged 2 commits into
mainfrom
dev
Aug 24, 2026
Merged

Dev#220
xlorne merged 2 commits into
mainfrom
dev

Conversation

@xlorne

@xlorne xlorne commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

No description provided.

xlorne and others added 2 commits August 24, 2026 17:54
- 子流程节点策略新增 resettable 能力开关(默认关闭,兼容历史配置)
- 新增独立接口 /api/cmd/record/subProcess/reset:按选中实例流程id定位已完成的聚合组,
  旧组标记已取代保留审计,新组由继承实例与重建实例组成,子流程从头重走一次
- 锁定合并节点规则:重置仅允许在锚点之后首个业务记录节点(条件分支取实际命中分支、
  并行/包容分支锁定第一个分支)的待办上发起;详情数据新增 resetSubProcess 标识
- 新增 FlowSubProcessResetEvent 重置事件(新旧聚合组快照与实例映射),
  重置时清除流程循环触发标记避免抄送等节点重走被误判为循环
- 数据结构纯增量兼容:聚合组 superseded、实例 inherited/sourceProcessId、
  实体可空列,存量数据按默认值读取
- 前端升级至 0.2.5:审批模块接入重置接口与上下文能力、详情标识类型

282 个后端测试全部通过,前端构建与测试通过。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@xlorne
xlorne merged commit db9403c into main Aug 24, 2026
4 checks passed
@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 82.30453% with 43 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.05%. Comparing base (8863fe5) to head (3921c09).
⚠️ Report is 37 commits behind head on main.

Files with missing lines Patch % Lines
.../flow/service/impl/FlowSubProcessResetService.java 81.45% 11 Missing and 17 partials ⚠️
.../flow/pojo/request/FlowSubProcessResetRequest.java 50.00% 3 Missing and 3 partials ⚠️
...gapi/flow/api/controller/FlowRecordController.java 0.00% 5 Missing ⚠️
...n/java/com/codingapi/flow/session/FlowSession.java 0.00% 3 Missing ⚠️
...dingapi/flow/strategy/node/SubProcessStrategy.java 91.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #220      +/-   ##
============================================
+ Coverage     73.59%   74.05%   +0.45%     
- Complexity     1662     1726      +64     
============================================
  Files           233      235       +2     
  Lines          7041     7277     +236     
  Branches        782      815      +33     
============================================
+ Hits           5182     5389     +207     
- Misses         1470     1476       +6     
- Partials        389      412      +23     

☔ 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.

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.

1 participant