-
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
Plugins can't communicate properly if they are located in different sidecars #19686
Comments
@benoitf Any ideas? |
can you share the source for the plugins? |
The plugin which has API: https://github.com/vinokurig/master-extension |
@vinokurig I notice the slave extension has not a dependency to the master extension (it shouldn't be a problem because I think we fixed that usecase but can you try it) then, maybe we're not handling correctly this kind of exported function check the logger displaying what are the proxified APIs Debug the call method: and 'blocking promise': https://github.com/eclipse-che/che-theia/blob/9460c2ca4d7ddac1c7809158e7e49106b74084d1/extensions/eclipse-che-theia-plugin-remote/src/node/plugin-remote-node-impl.ts#L152 |
@vinokurig you mentioned this problem being due to a bug in the deasync package. Do you have a link and could you explain what the problem is? |
Ihor mentioned this issue in the PR: abbr/deasync#140 |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Describe the bug
If two plugins are located in different sidecars and one plugin has exposed API with function, the other plugin freezes when it calls the function. If the plugins are located in one sidecar, everything is OK.
Che version
Steps to reproduce
Start a workspace from this devfile:
Test Command
from the command palette.This devfile represents two sidecars with two plugins. One plugin has exposed function
onFunction: () => void
, and another plugin calls this function.Expected behavior
A notification must appear after execution of the plugin API.
This works if the plugins are located in a common sidecar:
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
chectl version
commandEnvironment
Eclipse Che Logs
Additional context
The text was updated successfully, but these errors were encountered: