Discussion of the demo: Running VS Code tasks as remote tasks #18060
Labels
area/editor/theia
Issues related to the che-theia IDE of Che
area/plugins
kind/question
Questions that haven't been identified as being feature requests or bugs.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
severity/P2
Has a minor but important impact to the usage or development of the system.
Summary
The issue is for discussion, so I added "question" label.
Yesterday was Che community meeting and there was demo "Running VS Code tasks as remote tasks - PoC".
The video was placed here: https://youtu.be/BUVObxKON3Y
At the moment we have an ability to run
che
tasks as remote tasks, but we don't have such opportunity for other tasks, like:shell
,typescript
,npm
,gradle
, ...For
che
tasks we registerche
task runner +che
task resolver + using remote terminals for output.Finally,
che
task configuration is executed bymachine exec
.On my demo the idea was to apply the same approach for VS Code tasks:
che
andvs code
tasks as wellmachine
execche
for tasks anymore - it could be justshell
task type which present intheia
andvs code
model.I didn't see how this approach could be applied previously due to some difficulties related to management of running tasks process and terminal creation from plugin side (Historically we have task plugin, not extension, please see a description for the issue: #11458).
Within eclipse-che/che-theia#742 I had to move some logic to
plugin-ext
side, as result we got more flexibility for terminals creation management. Recently I played a little with tasks withinHack and Hustle
days and now I see that in general we could apply described above approach (though it would be nice to land #16893 first 🙂)In my draft implementation (please see video https://youtu.be/BUVObxKON3Y ) I faced with mapping problem: how we should match task type to a container for running (for example, which container should be used for running
npm
ortypescript
vs code task). I implemented the simplest way - just ask user to select a container at running a task. Also automatically detection that for running atypescript
task can be used component withtypescript
alias was implemented.But it's still question for me about expected behavior:
Another question - what VS Code tasks and related extensions we are going to support.
For example, I tested my changes for
typescript
andnpm
tasks. Within testing I found thattypescript
is not installed in the container withtypescript
plugin.Also I tried to test tasks from https://open-vsx.org/extension/richardwillis/vscode-gradle extension and found some API incompatibility problems (CustomExecution API), some changes are required on
theia
side to have it running forche
.So it would be nice to have such list of extensions for testing at any implementation.
In the meeting where the demo was shown @l0rd mentioned another approach related to running tasks, so I created this issue not as task which we are going to implement, but as discussion - to share my current thoughts about task system, to get thoughts other people in one place and so on.
The text was updated successfully, but these errors were encountered: