Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

15540 user level tasks #739

Merged
merged 2 commits into from
Jun 22, 2020
Merged

Conversation

tsmaeder
Copy link
Contributor

@tsmaeder tsmaeder commented May 6, 2020

What does this PR do?

This PR fixes:

The approach is to not replicate tasks to tasks.json but instead contributing them to the "tasks" key of the user preferences.

Update: switched to replicating the tasks, but to the user level.

@tsmaeder
Copy link
Contributor Author

crw-ci-test

@che-bot
Copy link
Contributor

che-bot commented May 12, 2020

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:739
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:739

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

@RomanNikitenko
Copy link
Member

RomanNikitenko commented May 13, 2020

@tsmaeder
I would like to test your changes, so I need to build the corresponding images, but I found that your fork and branch is outdated
outdated

Could you align your branch with master?

@eclipse-che eclipse-che deleted a comment from che-bot May 13, 2020
@eclipse-che eclipse-che deleted a comment from che-bot May 13, 2020
@eclipse-che eclipse-che deleted a comment from che-bot May 13, 2020
@eclipse-che eclipse-che deleted a comment from che-bot May 13, 2020
@eclipse-che eclipse-che deleted a comment from che-bot May 13, 2020
@che-bot
Copy link
Contributor

che-bot commented May 13, 2020

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:739
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:739

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

@eclipse-che eclipse-che deleted a comment from che-bot May 13, 2020
@eclipse-che eclipse-che deleted a comment from che-bot May 13, 2020
@eclipse-che eclipse-che deleted a comment from che-bot May 13, 2020
@che-bot
Copy link
Contributor

che-bot commented May 14, 2020

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:739
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:739

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

@che-bot
Copy link
Contributor

che-bot commented May 14, 2020

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:739
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:739

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

@tsmaeder
Copy link
Contributor Author

tsmaeder commented Jun 3, 2020

@RomanNikitenko so what do we need for you to give me a +1 on this PR?

@RomanNikitenko
Copy link
Member

RomanNikitenko commented Jun 4, 2020

@RomanNikitenko so what do we need for you to give me a +1 on this PR?

@tsmaeder
The goal of my comments here is: detect and provide you info about regressions using my knowledge about task system.

I reviewed and tested your last changes in upstream, so I think 2 problems from this comment should be fixed now.
I could check it for che tasks on che-theia side, but the corresponding images are outdated at the moment, so I don't have ability to test it again.

I didn't reject your changes, so you can merge this PR any time when you feel it's good enough.

@tsmaeder
Copy link
Contributor Author

tsmaeder commented Jun 4, 2020

At least 1 approving review is required by reviewers with write access

@RomanNikitenko

@RomanNikitenko
Copy link
Member

@tsmaeder
As I mentioned above the corresponding images are outdated at the moment, so I don't have ability to test it again.

Can you confirm that the following problems were fixed for che tasks:

  • Che tasks are not displayed in the list for Configure Tasks action
  • Task system doesn't remember user's choice Never scan the task output

I guess with these changes we still have the following problems:

  • Running a che task from Workspace panel is not working
  • Resolving variables for che tasks is not working at editing a configuration (user has open tasks.json file)

The first problem is quite critical from my point of view.
Can we fix at least Running a che task from Workspace panel within current PR?
Did you investigate the problem?

@tsmaeder
Copy link
Contributor Author

tsmaeder commented Jun 4, 2020

crw-ci-test

@che-bot
Copy link
Contributor

che-bot commented Jun 4, 2020

✅ E2E Happy path tests succeed 🎉

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:739
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:739

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

@tsmaeder
Copy link
Contributor Author

@RomanNikitenko

Running a che task from Workspace panel is not working

I had a (simple) fix for that one, but I guess when my Che on CRC stopped working, I must not have had pushed the fix, so it's lost now. I guess I'll have to redo it, then.

@tsmaeder
Copy link
Contributor Author

* Che tasks are not displayed in the list for Configure Tasks action
* Task system doesn't remember user's choice Never scan the task output

These two are fixed with the latest upstream.

@nickboldt
Copy link
Contributor

crw-ci-test

@che-bot
Copy link
Contributor

che-bot commented Jun 11, 2020

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:739
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:739

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

Signed-off-by: Thomas Mäder <tmader@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Jun 16, 2020

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:739
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:739

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

@che-bot
Copy link
Contributor

che-bot commented Jun 16, 2020

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:739
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:739

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

Signed-off-by: Thomas Mäder <tmader@redhat.com>
@tsmaeder
Copy link
Contributor Author

@RomanNikitenko finally managed to fix the problem with executing from the "My Workspace" view. If you would be so kind to review that last commit?

@che-bot
Copy link
Contributor

che-bot commented Jun 16, 2020

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:739
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:739

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

@tsmaeder
Copy link
Contributor Author

crw-ci-test

@che-bot
Copy link
Contributor

che-bot commented Jun 17, 2020

✅ E2E Happy path tests succeed 🎉

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:739
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:739

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

@RomanNikitenko RomanNikitenko self-requested a review June 17, 2020 15:29
Copy link
Member

@RomanNikitenko RomanNikitenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested after update and can confirm that Running a che task from Workspace panel was fixed within last commit - thanks!

I think the problem
Resolving variables for che tasks is not working at editing a configuration (user has open tasks.json file)
can be fixed in a separate PR.

@RomanNikitenko
Copy link
Member

btw: it makes sense to provide some changes to the doc https://www.eclipse.org/che/docs/che-7/defining-custom-commands-for-che-theia/ to inform user that che tasks configurations from the devfile are exported to user level tasks.json file (instead of /workspace/.theia directory)

@tsmaeder tsmaeder merged commit fb23426 into eclipse-che:master Jun 22, 2020
@l0rd l0rd added the new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes label Jul 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/enhancement New feature or request new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes status/code-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants