Fix problem between hueyqueue and plugins#366
Merged
Conversation
…te plugin status handling
Member
|
I uninstalled a plugin and it completely wiped every single component Also i did the installation of deepseek after the uninstall, and it still removed every single component, and when i tried to use deepseek: |
cristian-tamblay
requested changes
Nov 4, 2025
Member
cristian-tamblay
left a comment
There was a problem hiding this comment.
This is breaking the component registry
cristian-tamblay
approved these changes
Nov 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new job class for synchronizing plugin components and integrates it into the plugin management endpoints. The main goal is to ensure that the
ComponentRegistrystays in sync with the actual installed plugins whenever plugins are updated, registered, unregistered, or upgraded. The changes improve the reliability and consistency of plugin component management in the backend.Plugin component synchronization:
SyncComponentsJobclass inDashAI/back/job/sync_components_job.py, which checks for discrepancies between installed plugins and registered components, and updates theComponentRegistryaccordingly.API endpoint integration:
update_pluginandupgrade_pluginendpoints inDashAI/back/api/api_v1/endpoints/plugins.pyto inject ajob_queuedependency and enqueue theSyncComponentsJobwhenever plugin components are registered or unregistered. This ensures the registry is automatically synchronized after plugin changes. [1] [2] [3] [4] [5]