-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Refactor] Make coordinator class more organized #386
Conversation
Codecov Report
@@ Coverage Diff @@
## master #386 +/- ##
============================================
- Coverage 58.63% 58.62% -0.02%
Complexity 1590 1590
============================================
Files 193 193
Lines 10920 10921 +1
Branches 958 958
============================================
- Hits 6403 6402 -1
- Misses 4138 4139 +1
- Partials 379 380 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Waht could I resolve this? I haven't met before. @zuston |
Make it |
|
|
+1. Short name or concrete strategy name will be better. |
If we use short name, this pr will also be imcompatible change. |
Yes. The refactor process will always make incompatible change. I think it could be optimized in later PRs, currently the strategies are bound to package name, it looks unreasonable. We should reach a consensus that this way is no longer supported for new PRs. Do you think so? By the way, I just think more when reviewing this PR. |
I'm ok for that it is bound to package. Other systems have also similar style. |
@smallzhongfeng is this a refactor? If so, please change |
I make it final, but it doesn't work. |
|
|
|
What is the problem? I haven't met it before.@jerqi |
https://blog.csdn.net/mengqingming1/article/details/106427745 |
docs/coordinator-migration-guide.md
Outdated
@@ -0,0 +1,25 @@ | |||
--- | |||
layout: page |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel that it's enough to have an entire document. We don't need to separate it into modules, such as coordinator, server, client.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's ok for me, updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file name is still coordinator-migration-guide.md
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @jerqi @smallzhongfeng Merged. |
What changes were proposed in this pull request?
Split coordinator class into different folders by their correlation.
Why are the changes needed?
To resolve #384
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Origin tests.