biedongbin opened a new pull request, #8188: URL: https://github.com/apache/incubator-seata/pull/8188
## Summary - Saga annotation mode 支持 action status 上报(success/failed),补偿方法可通过 `BusinessActionContext.getActionStatus()` 读取正向执行状态做决策 - Saga annotation rollback 流程添加 `TccHook` 切面(before/after),支持在回滚前后注入自定义逻辑(如 fence 清理、防悬挂) - `BusinessActionContext` 新增 `getActionStatus()`/`setActionStatus()` 方法 - `ActionInterceptorHandler` 新增 `ENABLE_ACTION_STATUS_REPORT` 配置开关,控制正向执行结束后是否自动上报 action status ## Context closes #7840 ## Test plan - [x] `BusinessActionContextTest` 覆盖 7 个 action status 测试 + 6 个 tracked context 测试,共 13 个测试用例通过 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
