Skip to content

Dev - #257

Merged
xlorne merged 2 commits into
mainfrom
dev
Nov 9, 2026
Merged

Dev#257
xlorne merged 2 commits into
mainfrom
dev

Conversation

@xlorne

@xlorne xlorne commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

退回动作只更新了当前记录,多人审批(或签/并签)同节点的其他待办未被清理:
流程视图仍停留在该节点,发起人重新提交后同流程会出现重复待办。

- BaseAction 新增 autoDoneSiblingTodos,统一自动办结同节点其他待办(限定同一流程实例)
- ReturnAction 复用该方法,并改为先保存本节点状态再生成退回目标节点记录
- RejectAction 改用公共方法,行为保持不变(#235)
- 新增 FlowIssue255AnyAuditReturnTest,覆盖或签退回与并签退回场景

Closes #255
…udit-todo

fix: 退回时自动办结同节点其他待办,避免重复待办 (#255)
@xlorne
xlorne merged commit d72afe0 into main Nov 9, 2026
4 checks passed
@codecov

codecov Bot commented Nov 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.23529% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.49%. Comparing base (2c04863) to head (f64785e).
⚠️ Report is 57 commits behind head on main.

Files with missing lines Patch % Lines
...ain/java/com/codingapi/flow/action/BaseAction.java 84.61% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #257      +/-   ##
============================================
+ Coverage     74.48%   74.49%   +0.01%     
- Complexity     1807     1808       +1     
============================================
  Files           236      236              
  Lines          7474     7485      +11     
  Branches        863      865       +2     
============================================
+ Hits           5567     5576       +9     
- Misses         1486     1487       +1     
- Partials        421      422       +1     

☔ 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