-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Plugin broker should only make necessary changes to plugins #13452
Comments
If the gist here is "don't delete every time, only delete if we have new stuff" then +1. Question. There's a "my lang server has died" workaround which is to simply refresh the browser (cough: #13427 /cough) ... how would changing this behaviour impact the ability to force a workspace refresh via F5 ? Would we need a mechanism to force delete, if we're no longer deleting everything every time? |
@nickboldt The deletion happens only once, before workspace startup. My goal with this issue is to have the plugin broker resolve workspace state at startup, by e.g.
The only roadblock currently is that the plugin broker doesn't know or care which plugins are already installed, it just wipes the directory blindly. Implementing this could be as simple as just storing some As for a running workspace, nothing changes (refreshing the workspace behaves identically) |
+1 for this solution as it'd be one less container I have to migrate to UBI8 and productize. ;) and then one less to support (CVE fixes, CEE questions, docs, etc.) |
Setting need-triage and milestone 7.1 so we can discuss when/if this can be done. |
Moving to 7.2.0 for now, this issue is going to be discussed during the pre-planning for the next sprint |
Closing. in favour of plugin broker refactoring - #14494 |
Description
Currently, the plugin broker functions as follows:
/plugins
directory) --che-plugin-init-broker
This means that every time a workspace is started without being modified, we do a lot of unnecessary work. This is especially a problem when preparing some plugins can take significant time. For a non-ephemeral workspace, if it hasn't been modified, the broker only needs to process the relevant configuration and return it to the server.
This issue will get worse as more plugins are added to workspaces.
Reproduction Steps
Start any Che 7 workspace with plugins installed:
The text was updated successfully, but these errors were encountered: