Repository navigation
feat: 流程事件统一走 FlowEventPublisher,保证提交后投递与按流程串行 - #276
Merged
Merged
Conversation
- 新增 IFlowEventPublisher SPI 与 FlowEventPublisher 门面;IFlowEvent 增加 eventKey() 分区键(默认 processId) - 引擎内全部事件推送点由 EventPusher 收敛到 FlowEventPublisher,未注册实现时自动回退,行为不变 - starter 新增 SpringFlowEventPublisher:事务 afterCommit 投递(回滚不投递)、按 eventKey 分区单线程串行、 同步执行 handler 以获得确定顺序、单 handler 异常不影响后续事件 - 新增配置 codingapi.flow.event.ordered(默认开启) - 补充发布门面与发布器单元测试,更新事件集成文档与 AGENTS.md Closes #274
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev #276 +/- ##
============================================
- Coverage 74.76% 74.32% -0.45%
- Complexity 1895 1939 +44
============================================
Files 238 262 +24
Lines 7717 7989 +272
Branches 903 925 +22
============================================
+ Hits 5770 5938 +168
- Misses 1502 1586 +84
- Partials 445 465 +20 ☔ 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.
Closes #274