You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "wangliang181230 (via GitHub)" <gi...@apache.org> on 2024/03/08 02:23:01 UTC
[PR] optimize: Splitting dependencies for common, client, and server [incubator-seata]
wangliang181230 opened a new pull request, #6398:
URL: https://github.com/apache/incubator-seata/pull/6398
<!-- Please make sure you have read and understood the contributing guidelines -->
- [ ] I have registered the PR [changes](../changes).
### Ⅰ. Describe what this PR did
1. optimize: Splitting dependencies for common, client, and server, and simplify the dependency of the modules `server`, `console`, and `test-mock-server`
优化:拆分通用、客户端、服务端的依赖,并简化server、console、mock-server的依赖配置。
2. 调整依赖关系,通过parent的方式引用 `dependencies*` 中定义的依赖。
3. bugfix: 修复一个测试用例在macos环境中执行失败的问题;
4. upgrade github actions: `actions/checkout@v4.1.1`、`actions/setup-java@v4.1.0`, the warnning from actions page:

5. 优化部分单元测试,提升成功率。
6. 添加一些日志信息。
See the logs of the workflow `test.yml`: https://github.com/wangliang181230/seata/actions/runs/8197694551
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" below in the next line, for example, fixes #97. -->
### Ⅲ. Why don't you add test cases (unit test/integration test)?
### Ⅳ. Describe how to verify it
### Ⅴ. Special notes for reviews
--
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: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org
Re: [PR] optimize: Splitting dependencies for common, client, and server [incubator-seata]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #6398:
URL: https://github.com/apache/incubator-seata/pull/6398#issuecomment-1984939218
## [Codecov](https://app.codecov.io/gh/apache/incubator-seata/pull/6398?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
Attention: Patch coverage is `54.54545%` with `10 lines` in your changes are missing coverage. Please review.
> Project coverage is 50.44%. Comparing base [(`1076e2b`)](https://app.codecov.io/gh/apache/incubator-seata/commit/1076e2b3c07e01b88cc5b99dc45f68e168356587?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to head [(`4726501`)](https://app.codecov.io/gh/apache/incubator-seata/pull/6398?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
> :exclamation: Current head 4726501 differs from pull request most recent head 998c753. Consider uploading reports for the commit 998c753 to get more accurate results
<details><summary>Additional details and impacted files</summary>
[](https://app.codecov.io/gh/apache/incubator-seata/pull/6398?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
```diff
@@ Coverage Diff @@
## 2.x #6398 +/- ##
============================================
- Coverage 50.79% 50.44% -0.35%
+ Complexity 5282 5253 -29
============================================
Files 942 942
Lines 33266 33276 +10
Branches 4034 4035 +1
============================================
- Hits 16896 16785 -111
- Misses 14696 14867 +171
+ Partials 1674 1624 -50
```
| [Files](https://app.codecov.io/gh/apache/incubator-seata/pull/6398?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [...org/apache/seata/config/AbstractConfiguration.java](https://app.codecov.io/gh/apache/incubator-seata/pull/6398?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29uZmlnL3NlYXRhLWNvbmZpZy1jb3JlL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zZWF0YS9jb25maWcvQWJzdHJhY3RDb25maWd1cmF0aW9uLmphdmE=) | `69.44% <100.00%> (+3.81%)` | :arrow_up: |
| [.../org/apache/seata/config/ConfigurationFactory.java](https://app.codecov.io/gh/apache/incubator-seata/pull/6398?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29uZmlnL3NlYXRhLWNvbmZpZy1jb3JlL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zZWF0YS9jb25maWcvQ29uZmlndXJhdGlvbkZhY3RvcnkuamF2YQ==) | `58.75% <0.00%> (-1.25%)` | :arrow_down: |
| [...g/plugin/DefaultCoreDoGlobalCommitInterceptor.java](https://app.codecov.io/gh/apache/incubator-seata/pull/6398?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZXh0L2FwbS1zZWF0YS1za3l3YWxraW5nLXBsdWdpbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2VhdGEvYXBtL3NreXdhbGtpbmcvcGx1Z2luL0RlZmF1bHRDb3JlRG9HbG9iYWxDb21taXRJbnRlcmNlcHRvci5qYXZh) | `0.00% <0.00%> (ø)` | |
| [...plugin/NettyRemotingClientSendSyncInterceptor.java](https://app.codecov.io/gh/apache/incubator-seata/pull/6398?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZXh0L2FwbS1zZWF0YS1za3l3YWxraW5nLXBsdWdpbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2VhdGEvYXBtL3NreXdhbGtpbmcvcGx1Z2luL05ldHR5UmVtb3RpbmdDbGllbnRTZW5kU3luY0ludGVyY2VwdG9yLmphdmE=) | `0.00% <0.00%> (ø)` | |
| [...ng/plugin/RemotingProcessorProcessInterceptor.java](https://app.codecov.io/gh/apache/incubator-seata/pull/6398?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZXh0L2FwbS1zZWF0YS1za3l3YWxraW5nLXBsdWdpbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2VhdGEvYXBtL3NreXdhbGtpbmcvcGx1Z2luL1JlbW90aW5nUHJvY2Vzc29yUHJvY2Vzc0ludGVyY2VwdG9yLmphdmE=) | `0.00% <0.00%> (ø)` | |
| [...che/seata/core/rpc/netty/NettyServerBootstrap.java](https://app.codecov.io/gh/apache/incubator-seata/pull/6398?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2VhdGEvY29yZS9ycGMvbmV0dHkvTmV0dHlTZXJ2ZXJCb290c3RyYXAuamF2YQ==) | `50.00% <50.00%> (-12.50%)` | :arrow_down: |
... and [48 files with indirect coverage changes](https://app.codecov.io/gh/apache/incubator-seata/pull/6398/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
</details>
--
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: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org