Repository navigation
Conversation
流程记录保存后按实际落库记录逐条推送保存事件,覆盖全部保存路径(IRepositoryHolder.saveRecords/saveRecord → FlowRecordService → FlowRecordSaveService.saveAll)。事件分区键为 processId;结束节点虚拟记录不落库、不推送;Mock 模式标记由 FlowRecordService 传入(MockRepositoryHolder 为 true)。同步更新事件文档与能力文档。 Closes #280
- 新增 FlowForceSyncService:按选中实例把运行时快照引用换绑为最新设计对应的快照, 未选中实例保持原快照,历史快照内容不被改写; - 新增 WorkflowStructureVerifier:逐实例校验节点集合/类型/父子层级/同层顺序, 并校验旧按钮动作必须保留(允许新增),表单字段不校验; - 新增 FlowTodoMigrateService:合并待办按实例拆组并重算合并计数与代表记录, 避免跨实例待办在换绑后错配; - 新增 POST /api/cmd/record/forceSync 与 GET /api/query/record/running; - 新增 FlowRecordForceSyncEvent,按 processId 分区投递。 Closes #281
GET /api/query/record/running 的 current 参数改为1起始(默认1), 控制器内转换为 Spring PageRequest 的0起始页码,避免前端分页组件选第一页时跳过数据。 Refs #281
…save-event feat: 新增流程记录保存事件 FlowRecordSaveEvent (#280)
…orkflow-runtime feat: 运行中流程实例强制同步最新流程设计 (#281)
- FlowForceSyncService 校验操作人 isFlowManager(),非流程管理员抛出 FlowPermissionException,避免绕过前端直接调用接口; - 新增 GET /api/query/workflow/permission/forceSync,供前端控制操作入口显隐; - 补充非流程管理员拒绝同步的单元测试。 Refs #281
…ermission feat: 强制同步限制为流程管理员操作 (#281)
framework 17.3.4 起 ApplicationHandlerUtils 不再把订阅事件类型无法解析的 Handler(lambda / JDK 动态代理)退化为「订阅所有事件」,而是直接跳过并打印 warning。SpringFlowEventPublisherIntegrationTest 中的 lambda 形式 IHandler 因此收不到事件,导致 CI 自 86d1e87(升级 17.3.4)后持续失败。 - 改为具名内部类 RecEventHandler 实现 IHandler<RecEvent> - 同步在注释中说明该约束,避免后续误用 lambda 注册 Handler
fix(ci): 事件集成测试改用具名 Handler,适配 framework 17.3.4
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #286 +/- ##
============================================
- Coverage 74.34% 74.30% -0.04%
- Complexity 1942 2004 +62
============================================
Files 263 270 +7
Lines 7990 8256 +266
Branches 925 981 +56
============================================
+ Hits 5940 6135 +195
- Misses 1584 1630 +46
- Partials 466 491 +25 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
No description provided.