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

Pin to upstream Theia commit as adaptation is required #901

Merged
merged 3 commits into from
Nov 3, 2020

Conversation

azatsarynnyy
Copy link
Member

@azatsarynnyy azatsarynnyy commented Nov 2, 2020

Signed-off-by: Artem Zatsarynnyi azatsary@redhat.com

What does this PR do?

Stabilizes Che Theia build and fixes critical runtime issues by:

Screenshot/screencast of this PR

What issues does this PR fix or reference?

closes eclipse-che/che#18255 and fixes partially eclipse-che/che#18278

How to test this PR?

  1. Use How to test button, provided by @che-bot, to spin-up the Workspace.
  2. Check that the plug-ins are loaded.

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

Happy Path Channel

HAPPY_PATH_CHANNEL=stable

Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Nov 2, 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:901
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:901

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

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

@eclipse-che eclipse-che deleted a comment from che-bot Nov 3, 2020
@benoitf
Copy link
Contributor

benoitf commented Nov 3, 2020

should we change HAPPY_PATH_CHANNEL ?

@eclipse-che eclipse-che deleted a comment from che-bot Nov 3, 2020
@dmytro-ndp
Copy link
Contributor

@benoitf there are no changes in Happy Path tests since 7.21.0 release.

@eclipse-che eclipse-che deleted a comment from che-bot Nov 3, 2020
@che-bot

This comment has been minimized.

Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
@che-bot

This comment has been minimized.

@vinokurig
Copy link
Contributor

Checking out to an earlier commit solves the build failure but plugins fail to load.

…reaking changes

Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
@che-bot

This comment has been minimized.

@azatsarynnyy
Copy link
Member Author

[crw-ci-test]

@che-bot
Copy link
Contributor

che-bot commented Nov 3, 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:901
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:901

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

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

@azatsarynnyy azatsarynnyy marked this pull request as ready for review November 3, 2020 22:40
@azatsarynnyy azatsarynnyy merged commit 5016e74 into master Nov 3, 2020
@azatsarynnyy azatsarynnyy deleted the upstream-pin branch November 3, 2020 22:41
@monaka
Copy link
Member

monaka commented Nov 4, 2020

@azatsarynnyy It disables the patch in eclipse-che/che-workspace-client#42 by this PR.
Che-theia won't work fine in some deployment patterns.

How about this step to fix?

In che-workspace-plugin:

  1. Creates a new branch prepare-v0.1.0 from the master branch.
  2. Reverts Align workspace-client with changes in REST API che-workspace-client#39 in the master branch temporally.

In che-theia:

  1. Uses @eclipse-che/workspace-client:latest again.

@benoitf
Copy link
Contributor

benoitf commented Nov 4, 2020

@monaka this is temporary, there is an ongoing patch on workspace-client library
So it will goes back to latest everywhere

@monaka
Copy link
Member

monaka commented Nov 4, 2020

I see. I'll manage my environment by some workarounds until the code stable.

@azatsarynnyy
Copy link
Member Author

Hi @monaka
Thank you for the suggestions! 👍

Reverts eclipse-che/che-workspace-client#39 in the master branch temporally

I'm not sure it's a good idea as there are other downstream projects are relying on this lib, e.g. Che Dashboard

As @benoitf has already mentioned, we're waiting for a review on eclipse-che/che-workspace-client#44 from the project maintainers. And then we'll decide whether we are merging eclipse-che/che-workspace-client#44 and upgrading Che Theia to the latest one, OR we're applying the workaround proposed in #904

@azatsarynnyy
Copy link
Member Author

@monaka FYI: Che Theia now depends on @eclipse-che/workspace-client:latest #911

vinokurig pushed a commit that referenced this pull request Apr 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Che-Theia editor failed to start
6 participants