Closed benoitf closed 3 years ago
Merging #1248 (8a87c0c) into main (c299f59) will decrease coverage by
0.10%
. The diff coverage is25.23%
.
@@ Coverage Diff @@
## main #1248 +/- ##
==========================================
- Coverage 32.78% 32.67% -0.11%
==========================================
Files 290 296 +6
Lines 9885 9872 -13
Branches 1457 1327 -130
==========================================
- Hits 3241 3226 -15
- Misses 6641 6642 +1
- Partials 3 4 +1
Impacted Files | Coverage Δ | |
---|---|---|
...theia-about/src/browser/about-che-theia-dialog.tsx | 0.00% <0.00%> (ø) |
|
...credentials/src/browser/che-credentials-service.ts | 0.00% <0.00%> (ø) |
|
...entials/src/browser/credentials-frontend-module.ts | 0.00% <0.00%> (ø) |
|
...eia-credentials/src/common/credentials-protocol.ts | 0.00% <0.00%> (ø) |
|
...eia-credentials/src/node/che-credentials-server.ts | 0.00% <0.00%> (ø) |
|
...s/src/node/che-theia-credentials-backend-module.ts | 0.00% <0.00%> (ø) |
|
...rowser/src/browser/che-mini-browser-environment.ts | 0.00% <0.00%> (ø) |
|
...ia-plugin-remote/src/node/hosted-plugin-service.ts | 0.00% <0.00%> (ø) |
|
...in-remote/src/node/plugin-remote-backend-module.ts | 0.00% <0.00%> (ø) |
|
...theia-plugin-remote/src/node/plugin-remote-init.ts | 0.00% <0.00%> (ø) |
|
... and 213 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 123ca86...8a87c0c. Read the comment docs.
:white_check_mark: E2E Happy path tests succeed :tada:
- [Jenkins job](https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/blue/organizations/jenkins/Che%2Fe2e%2Fminikube%2Fpr-check%2Fche-theia-pr-check/detail/che-theia-pr-check/564) - [test report](https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/Che/job/e2e/job/minikube/job/pr-check/job/che-theia-pr-check/564/artifact/che/tests/e2e/report/) - [logs and configs](https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/Che/job/e2e/job/minikube/job/pr-check/job/che-theia-pr-check/564/artifact/logs-and-configs/) - [Happy path tests DevFile](https://raw.githubusercontent.com/chepullreq4/pr-check-files/master/che-theia/pr-1248/happy-path-workspace.yaml) - images: | name | link| |---|---| | che-theia | quay.io/crw_pr/che-theia:1248| | che-theia-endpoint-runtime-binary | quay.io/crw_pr/che-theia-endpoint-runtime-binary:1248| **Test product**: - tested with Eclipse Che on K8S (minikube v1.22.0) - [E2E test scenario](https://github.com/eclipse/che/blob/main/tests/e2e/tests/e2e_happy_path/HappyPath.spec.ts) - [E2E test pipeline source code](https://gitlab.cee.redhat.com/codeready-workspaces/crw-jenkins/-/blob/master/jobs/Che/e2e/minikube/pr-check/che-theia-pr-check.jenkinsfile)
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 QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe
[crw-ci-test --rebuild]
:white_check_mark: E2E Happy path tests succeed :tada:
- [Jenkins job](https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/blue/organizations/jenkins/Che%2Fe2e%2Fminikube%2Fpr-check%2Fche-theia-pr-check/detail/che-theia-pr-check/567) - [test report](https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/Che/job/e2e/job/minikube/job/pr-check/job/che-theia-pr-check/567/artifact/che/tests/e2e/report/) - [logs and configs](https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/Che/job/e2e/job/minikube/job/pr-check/job/che-theia-pr-check/567/artifact/logs-and-configs/) - [Happy path tests DevFile](https://raw.githubusercontent.com/chepullreq4/pr-check-files/master/che-theia/pr-1248/happy-path-workspace.yaml) - images: | name | link| |---|---| | che-theia | quay.io/crw_pr/che-theia:1248| | che-theia-endpoint-runtime-binary | quay.io/crw_pr/che-theia-endpoint-runtime-binary:1248| **Test product**: - tested with Eclipse Che on K8S (minikube v1.22.0) - [E2E test scenario](https://github.com/eclipse/che/blob/main/tests/e2e/tests/e2e_happy_path/HappyPath.spec.ts) - [E2E test pipeline source code](https://gitlab.cee.redhat.com/codeready-workspaces/crw-jenkins/-/blob/master/jobs/Che/e2e/minikube/pr-check/che-theia-pr-check.jenkinsfile)
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 QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe
What does this PR do?
At the beginning, theia component was part of the devWorkspace and then we had access to the atttributes from the DevWorkspace object Now, it's part of the devWorkspaceTemplate object
Switch to the flattened devfile instead so nothing to query externally Also, in order to reduce sed usage, use jq/yq instead as there was also a bug on empty list
Added some unit tests as well
Screenshot/screencast of this PR
What issues does this PR fix or reference?
https://github.com/eclipse/che/issues/20718
How to test this PR?
Start the workspace from the issue Eslint should not be there (check output widget inside theia or command palette) if you check the logs of the init container you might as well see tons of errors
Open a terminal and drop anything located inside /plugins folder
Edit the DevWorkspaceTemplate object
Search for the
remote-runtime
componentand replace the default image by
quay.io/fbenoit/che-theia-endpoint-runtime-binary:20211104c
restart the workspace eslint should be there
Also you might check the log trace of the init-container and see something like
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.
Happy Path Channel
HAPPY_PATH_CHANNEL=next
Change-Id: Ic8b417484596f8440a157e0d24cd7bbf4da9c40c Signed-off-by: Florent Benoit fbenoit@redhat.com