At the moment che tasks related logic is placed in task plugin.
I would like to discuss withing this issue if we still should keep it as plugin or we should consider moving this logic to extension.
Theia has the corresponding plugin API to manage tasks related system. But one of the problems is:
che tasks are remote tasks, they are run in separate containersremote terminals to display output for themvs code tasks in separate containersAlso from time to time we have to provide che specific API or move some logic on plugin-ext side.
I believe it would be more simple and more reliable to manage che tasks related logic from extension side.
Move che tasks related logic from plugin to extension
@benoitf @l0rd @scela @azatsarynnyy @ericwill
please let me know your opinion
Are there any downsides to moving this to the extension side? Running tasks in separate containers is definitely something we are interested in supporting, so the work is valuable from that POV alone.
AFAIK one of our goals is ability to run vs code tasks in separate containers
That would be very cool, indeed
I don't have an opinion. What I do think though is that Roman knows this
area well so if he says so there must be good reasons.
On Tue, May 12, 2020 at 10:45 AM RomanNikitenko notifications@github.com
wrote:
@benoitf https://github.com/benoitf @l0rd https://github.com/l0rd
@scela https://github.com/scela @azatsarynnyy
https://github.com/azatsarynnyy @ericwill https://github.com/ericwill
please let me know your opinion—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/eclipse/che/issues/16893#issuecomment-627202425, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGKON55HATBYKS6OLXJZBTRRED77ANCNFSM4M6T2QPQ
.
--
Sopot Cela
Software Engineering Manager
https://red.ht/sig
Are there any downsides to moving this to the extension side?
That's a good question @ericwill
And the short answer is - there are absolutely no downsides. On the contrary - it provides a lot of benefits in our case.
Note, I'm not comparing Theia Plug-ins and Extensions in general but I'm talking specifically in the context of the functionality of supporting Che Commands in Che Theia.
Now, I'd like to give a more detailed answer for a better understanding of the reasons and motivations behind that.
Currently, Che Task Plugin doesn't benefit from any of Theia Plug-ins advantages. Let's look at them:
In addition to the mentioned above, ^^ what we'd gain more, having Che Commands support in Che Theia through Theia Extension?
Thanks for the very detailed answer! :+1: from me
Most helpful comment
That's a good question @ericwill
And the short answer is - there are absolutely no downsides. On the contrary - it provides a lot of benefits in our case.
Note, I'm not comparing Theia Plug-ins and Extensions in general but I'm talking specifically in the context of the functionality of supporting Che Commands in Che Theia.
Now, I'd like to give a more detailed answer for a better understanding of the reasons and motivations behind that.
Currently, Che Task Plugin doesn't benefit from any of Theia Plug-ins advantages. Let's look at them:
VS Code compatible Theia Task Plug-in API doesn't provide all the required capabilities, e. g. running the commands remotely or adding custom macros. That's why we also have _Che Theia Plug-in API_ which provides all the accompanying functionality.
And another part is in Extension, plugin-ext;
In addition to the mentioned above, ^^ what we'd gain more, having Che Commands support in Che Theia through Theia Extension?