-
Notifications
You must be signed in to change notification settings - Fork 57
Make all factories from eclipse.org website (Che 6) ephemerals #1236
Comments
ephemeral switch should be only once the following features would be released and available on prod: |
@ibuziuk Is there a way to split this task so that I can verify some of the stacks? |
@amisevsk we could probably turn this to epic and add every single factory verification as a sub-task |
@amisevsk another option is spit it into changes required for stacks and factories |
I created an issue to add to the warnings for ephemeral workspaces: eclipse-che/che#12960 We also need to think thought the impact on workspaces and factories. My opinion: Default for workspaces: ephemeral |
I'm not sure to understand the logic behind "default for factories", if we go with ephemoral when users are creating workspaces. IMO, in term of experience, it would be more comprehensive if we make everything ephemoral by default - but we make it easy to turn on the persistent storage on any workspaces. |
If I have a running workspace and I turn on persistent storage, how is this handled? |
next time when you start the workspace PVC would be used |
so if I had changes, they are lost. correct? |
In the real world 95% of developer use cases will involve an expectation that information is persisted between workspace runs. Defaulting to ephemeral is dangerous because it means that 95% of the time a user will need to make a conscious choice to add PVC. If you want to align the two then I'd argue we should have both newly created workspaces and factories default to PVC. We can use ephemeral for all our samples and examples though. |
correct.
@ashumilova could you please comment on that and summarize what warnings are already in place and what is missing from your perspective
ok, so let's try to choose one option: A. only factories from https://www.eclipse.org/che/getting-started/cloud/ are ephemeral C. by default everything is non-ephemeral |
To add, the reason we were aiming for ephemeral workspaces in the past is because of Gluster's slowness. Trying to use a Gluster-backed PVC means that |
we have this message on workspace start we have this message in status bar in IDE: what is left this enhancement I think: |
@ashumilova is there anything similar for GWT based IDE? The scope of this issue is mainly Che 6 / GWT IDE based |
ah, no-no-no - nothing in GWT one. Should be separate issue for IDE1. |
IDE1 team is aware eclipse-che/che#12960 (comment) |
@ashumilova thanks for clarifications - smth. to discuss during SoS. At the moment the expectations from che.openshift.io are not really clear for short / mid-term cc: @l0rd @slemeur |
@Katka92 @ScrewTSW all 12 factories have been updated to be ephemeral - https://www.eclipse.org/che/getting-started/cloud/
|
@ibuziuk Questions regarding to testing:
|
yes, I believe this might be expected since command are put into the section based on the "type" attribute e.g.:
In any case, this is fairly minor thingy - the most important features are content assist, syntax colouring, navigation, which need to be tested meticulously.
cc: @ashumilova @bmicklea @slemeur^
yes, could you provide info what currently happens when the ephemeral workspace is reopened? I suppose all changes should be vanished and it should look like just like you opoened it for the first time |
Thank you for your answer, I'll continue with testing and provide sum up after that. |
I was wondering why "run" command does not have "run" type, but I agree this is minor issue. Thanks for explanation. |
Anytime you start an ephemeral workspace you should see the warning. Good
catch on the workspace quick starter on the left navigation and the URL.
Those should show the warning too.
You should also see the warning again when restarting the workspace.
--
Brad Micklea // Group Lead, Developer Tools & Program // 416.707.0792
|
@Katka92, I have checked and in the left menu it works only by using "Run" button, you are right - when using direct workspace link or factory - no message is shown, we need to fix that, but perhaps it will be not a dashboard popup, but a message in workspace loader or on factory loading page |
@ibuziuk When I click the link to create factory, it opens new window and when IDE is loaded, it opens some file and run the code. Is there some logic in opening that file? Like once it is a class, but e.g. for vaadin it is a README file. Just wondering if we should verify something here too. |
That behavior is defined in the factory that gets run. You can find more
info on factory post-load options in the Che docs.
--
Brad Micklea // Group Lead, Developer Tools & Program // 416.707.0792
|
@bmicklea Thank you for your answer. My question was more about like if that setting is ok. I would expect this behaviour united - like it always opens README or it always opens code. But it is more like detail. |
@ashumilova Just an idea - what about having a line saying something like |
@Katka92 we have small one in status bar, but you mean something like warning bar at the top, right? |
@ashumilova I see, there is a small misunderstanding. These factories from page https://www.eclipse.org/che/getting-started/cloud/ creates Che 6 workspaces. And there is no info about ephemeral state. I like the notice in status bar as it is in Che 7. |
it was introduced recently in GWT IDE as well - eclipse-che/che#12975 |
Ah, nice, I didn't know, thank you for pointing me there. I think this is good step. But yeah I agree that it can be overlooked. |
@ibuziuk Sum up from QA testing: Creating workspace via link
If you consider one of these as a relevant thing to fix, please let me know, I'll create an issue with detailed info. Re-running workspace |
@Katka92 could you please test if debugging facilities are working as expected? |
@ibuziuk I'll take a look tomorrow or on Friday. |
Sum up of current state of debug test so you can follow it.
Steps for reproduction Node.js Steps for reproduction Java + Gradle
Run the command. You can see |
Closing since all factories on https://www.eclipse.org/che/getting-started/cloud/ are ephemeral. Separate issues related to those factories have been reported and added to the |
@ibuziuk Debug is not working on Node.js factory, issue is here eclipse-che/che#13130 |
Spring REST Guide - https://che.openshift.io/f?id=factory9ppesf180lud4qdh
Vert.x verticle - https://che.openshift.io/f?id=factory3q5u5r3l7vim1u7g
Angular 2 - https://che.openshift.io/f?id=factory3db802wkfbg8wox5
C++ - https://che.openshift.io/f?id=factoryewgsxx4ti1iwpp56
Java + Gradle - https://che.openshift.io/f?id=factorydxms3luqlij4g39w
Java + Maven - https://che.openshift.io/f?id=factory7al1zzoy209qytj1
Node.js - https://che.openshift.io/f?id=factory1wd0vvy2z63veu08
PHP - https://che.openshift.io/f?id=factory8wsgnw5wrtquffer
Spring - https://che.openshift.io/f?id=factorymtyoro1y0qt8tq2j
Spring Boot - https://che.openshift.io/f?id=factorypedk0ijio2y27tzf
Vaadin - https://che.openshift.io/f?id=factory15l904ynu8vbd3dr
Wildfly - https://che.openshift.io/f?id=factoryuhcji9p0z72f43gc
KNOWN ISSUES
:The text was updated successfully, but these errors were encountered: