-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove redundant loader #142
Conversation
❌ E2E dashboard-next tests failed ❗ See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)
|
This comment has been minimized.
This comment has been minimized.
Docker image build succeeded: docker.io/maxura/che-server:che-dashboard-pull-142 |
[dashboard-next-ci-test] |
❌ E2E dashboard-next tests failed ❗ See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)
|
[dashboard-next-ci-test] |
✅ E2E dashboard-next tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)
|
This comment has been minimized.
This comment has been minimized.
Docker image build succeeded: docker.io/maxura/che-server:che-dashboard-pull-142 |
✅ E2E dashboard-next tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just have a few minor comments. I tried on che.openshift.io and everything is working perfectly but when I tried locally with my own che instance I got:
Refused to frame 'https://keycloak-eclipse-che.apps-crc.testing/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".
when the workspace is trying to open. If I click away and then re-open the workspace it works though.
Also, I'm not sure if it's related to this PR but the workspace logs no longer reset after a workspace has been stopped then restarted again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
✅ E2E dashboard-next tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)
|
7109c78
to
74cf80a
Compare
This comment has been minimized.
This comment has been minimized.
Docker image build succeeded: docker.io/maxura/che-server:che-dashboard-pull-142 |
Code coverage diff between base branch:master and head branch: redundant-loader-2
|
Docker image build succeeded: docker.io/maxura/che-server:che-dashboard-pull-142 |
✅ E2E dashboard-next tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)
|
You need to completely close your browser and try it again. I hope it will help.
I see the same with current master branch, so I filed an issue. |
added detection of working environment as well Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
c2c4640
to
28e3c65
Compare
Code coverage diff between base branch:master and head branch: redundant-loader-2
|
Docker image build succeeded: docker.io/maxura/che-server:che-dashboard-pull-142 |
❌ E2E dashboard-next tests failed ❗ See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)
|
[dashboard-next-ci-test] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not review code carefully but docker.io/maxura/che-server:che-dashboard-pull-142
seems to work as expected.
I even tried IntelijEditor
intelij-java-web-vertx.devfile.yaml
apiVersion: 1.0.0
metadata:
name: intelij-java-web-vertx
projects:
- name: vertx-http-example
source:
location: 'https://github.com/openshift-vertx-examples/vertx-http-example.git'
type: git
branch: master
components:
- id: che-incubator/intellij-community/latest
type: cheEditor
- mountSources: true
endpoints:
- name: 8080-tcp
port: 8080
- attributes:
public: 'false'
name: debug
port: 5005
memoryLimit: 512Mi
type: dockerimage
volumes:
- name: m2
containerPath: /home/user/.m2
alias: maven
image: 'quay.io/eclipse/che-java8-maven:nightly'
env:
- value: ''
name: MAVEN_CONFIG
- value: '-XX:MaxRAMPercentage=50.0 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xms20m -Djava.security.egd=file:/dev/./urandom -Duser.home=/home/user'
name: JAVA_OPTS
- value: $(JAVA_OPTS)
name: MAVEN_OPTS
commands:
- name: maven build
actions:
- workdir: '${CHE_PROJECTS_ROOT}/vertx-http-example'
type: exec
command: 'mvn -Duser.home=${HOME} clean install'
component: maven
- name: run app
actions:
- workdir: '${CHE_PROJECTS_ROOT}/vertx-http-example'
type: exec
command: |
JDBC_URL=jdbc:h2:/tmp/db \
java -jar -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 \
./target/*.jar
component: maven
- name: stop app
actions:
- type: exec
command: echo 'Stopping the application...' && kill $(pidof java) && echo 'The application has been successfully stopped'
component: maven
- name: Debug remote java application
actions:
- referenceContent: |
{
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Debug (Attach) - Remote",
"request": "attach",
"hostName": "localhost",
"port": 5005
}]
}
type: vscode-launch
[dashboard-next-ci-test] |
What does this PR do?
This PR removes redundant loader that hides the IDE iframe while IDE is loading.
What issues does this PR fix or reference?
eclipse-che/che#18734