-
Notifications
You must be signed in to change notification settings - Fork 111
Replace deasyncPromise with async #1112
Conversation
Signed-off-by: Igor Vinokur <[email protected]>
@@ -208,7 +207,7 @@ export class PluginRemoteNodeImpl implements PluginRemoteNode { | |||
} | |||
|
|||
// remote call for this method | |||
return deasyncPromise(remoteBrowser.$callMethod(hostId, pluginId, callId, proxyDefinition.name, ...args)); | |||
return remoteBrowser.$callMethod(hostId, pluginId, callId, proxyDefinition.name, ...args); |
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.
AFAIK it's not a proper fix as it'll break all other extensions that expect to have synchronous response on some calls.
Removing deasync is removing an expected feature
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.
It's removing some feature of #645
I think that for example vscode-yaml and kubernetes plug-in will no longer work as separate sidecars
Codecov Report
@@ Coverage Diff @@
## master #1112 +/- ##
==========================================
+ Coverage 29.45% 32.23% +2.78%
==========================================
Files 277 281 +4
Lines 9336 9545 +209
Branches 1380 1433 +53
==========================================
+ Hits 2750 3077 +327
+ Misses 6487 6372 -115
+ Partials 99 96 -3
Continue to review full report at Codecov.
|
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che on K8S (minikube v1.1.1)
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
Since the |
Signed-off-by: Igor Vinokur [email protected]
What does this PR do?
Replace
deasyncPromise
withasync
logic because of the issue with thedeasync
package.Screenshot/screencast of this PR
What issues does this PR fix or reference?
fixes eclipse-che/che#19686
How to test this PR?
See eclipse-che/che#19686
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.
Happy Path Channel
HAPPY_PATH_CHANNEL=stable