Skip to content

Conversation

@JohnNiang
Copy link
Member

What type of PR is this?

/kind bug
/area core
/area plugin
/milestone 2.22.x

What this PR does / why we need it:

This PR factors plugin management to use SringPluginManager and improve started plugins retrieval to make sure the plugin inside started plugins starts exactly.

We cannot directly override the original getStartedPlugins method due to internal use and modification on start.

Which issue(s) this PR fixes:

Fixes #8164

Special notes for your reviewer

  1. Try to create a plugin and throw an exception in stop method
  2. Try to install and enable the plugin
  3. Try to disable the plugin and see the result

Does this PR introduce a user-facing change?

解决停止插件后可能导致系统无法正常访问的问题

@f2c-ci-robot f2c-ci-robot bot added kind/bug Categorizes issue or PR as related to a bug. release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Jan 6, 2026
@f2c-ci-robot f2c-ci-robot bot added this to the 2.22.x milestone Jan 6, 2026
@f2c-ci-robot f2c-ci-robot bot added area/core Issues or PRs related to the Halo Core area/plugin Issues or PRs related to the Plugin Provider labels Jan 6, 2026
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 6, 2026

Copy link
Member

@ruibaby ruibaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Jan 7, 2026
@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Jan 7, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ruibaby

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 7, 2026
@f2c-ci-robot f2c-ci-robot bot merged commit fd98699 into main Jan 7, 2026
20 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/core Issues or PRs related to the Halo Core area/plugin Issues or PRs related to the Plugin Provider kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Halo becomes unavailable when a plugin cannot be stopped

3 participants