-
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
Support telemetry for Red Hat VS Code extensions in Eclipse Che #19361
Comments
@fbricon is the expectation that the |
Is there anything special in the commons extensions that would prevent us from just running it as a built-in extension in the theia back-end? Extensions API can be invoked remotely. |
I believe not a single VS Code extension out there is expected to work properly when multiple instances are running concurrently. I don't even know how it'll behave or how we'd mitigate issues. Having a single extension across the whole installation is definitely the safest |
Do you know if there are any concerns about it not running in the same container as an extension? Otherwise we can enable this trivially by making it a che-theia built-in, as Thomas has suggested. |
AFAIK It can't be part of che-theia built-in for Che, it's not a mandatory extension at all just a Red Hat specific extension (built-in plug-in is what is default on VS Code), . |
Do you have an alternative proposal? New Red Hat plugins (like vscode-xml) are failing to launch if vscode-commons is not installed. Soon this will be the case for all Red Hat plugins. Do we have some way to detect that a workspace has plugins with |
@benoitf good point: requiring red hat stuff for an Eclipse project is bad form. What's the state of inter-che-plugin dependencies these days? |
I don't mind investigating alternatives, but I also don't object to adding it as a built-in if there are no possible alternatives. Not having this plugin installed is blocking us from upgrading other extensions. |
For what its worth, it seems that installing vscode-commons by itself doesn't really do anything as far as a user is concerned. It is only activated by the extensions which depend on it. |
related to eclipse-che/che#19361 Change-Id: I068a10c6f0b006948fcacd2fd92750a5ef586be7 Signed-off-by: Florent Benoit <[email protected]>
* feat(redhat.commons): Add VS Code commons extension related to eclipse-che/che#19361 Change-Id: I068a10c6f0b006948fcacd2fd92750a5ef586be7 Signed-off-by: Florent Benoit <[email protected]> * Update vsix link to built-from-sources version Signed-off-by: Eric Williams <[email protected]> Co-authored-by: Eric Williams <[email protected]>
…dle new extensions requiring this one And only one instance of vscode-commons can run at once related to eclipse-che#19361 Change-Id: I69154dd97b837214c04fdd3e9e42d89a03c542d3 Signed-off-by: Florent Benoit <[email protected]>
…dle new extensions requiring this one And only one instance of vscode-commons can run at once related to #19361 Change-Id: I69154dd97b837214c04fdd3e9e42d89a03c542d3 Signed-off-by: Florent Benoit <[email protected]>
@ericwill closing because the PR has been merged. Feel free to reopen if needed. |
I've tried to start the lates
|
@benoitf could you please check it? |
Release notes: https://issues.redhat.com/browse/CRW-1818 |
I suppose we should wait until the |
Openshift connector has removed the dependency to vscode-commons I think that if we include commons extension in the openshift connector, it will collide with the plugin added by default by che-server (so should be removed first) |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Is your task related to a problem? Please describe.
In order to enable telemetry support in Che, we need to add the vscode-commons vsix to all Che plugins in the plugin registry.
Describe the solution you'd like
Since all plugins in the registry should have this vsix in their
extensions
list, it's something we can add at build time. Perhaps something like:defaultExtensions.json
in the root of the plugin registry. This file will contain a list of vsix files that should be present in all Che plugin registry entriesdefaultExtensions.json
to theextensions
field of every generatedmeta.yaml
fileDescribe alternatives you've considered
Manual addition of the vscode-commons vsix file to all Che plugin entries in
che-theia-plugins.yaml
Additional context
The text was updated successfully, but these errors were encountered: