-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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 plugin reconciliation for dependency mechanism #5900
Refactor plugin reconciliation for dependency mechanism #5900
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5900 +/- ##
============================================
- Coverage 56.91% 55.97% -0.94%
- Complexity 3319 3501 +182
============================================
Files 587 618 +31
Lines 18968 20914 +1946
Branches 1401 1461 +60
============================================
+ Hits 10795 11707 +912
- Misses 7594 8615 +1021
- Partials 579 592 +13 ☔ View full report in Codecov by Sentry. |
34b5721
to
22f2d09
Compare
application/src/main/java/run/halo/app/core/extension/reconciler/PluginReconciler.java
Show resolved
Hide resolved
application/src/main/java/run/halo/app/core/extension/reconciler/PluginReconciler.java
Show resolved
Hide resolved
Signed-off-by: JohnNiang <johnniang@foxmail.com>
a045d17
to
47a4ce4
Compare
建议为 plugin-state API 加一个前置的依赖检查,如果有依赖没有启动直接报错否则前端会一直 pending 而用户不知道为什么 |
Signed-off-by: JohnNiang <johnniang@foxmail.com>
c16bd9b
to
500e4dd
Compare
Quality Gate passedIssues Measures |
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
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: guqing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind improvement
/area core
/area plugin
What this PR does / why we need it:
This PR wholly refactors plugin reconciliation to implement dependency mechanism.
Currently,
Which issue(s) this PR fixes:
Fixes #5872
Special notes for your reviewer:
Does this PR introduce a user-facing change?