-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Makes sure the workspace activity checker reconciles the workspaces with their true statuses. #14574
Makes sure the workspace activity checker reconciles the workspaces with their true statuses. #14574
Conversation
with their true statuses. Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
I have some doubts that getting all records with activities in a single query is a good thing. Can we do that with paging? or can we change it to the records that have mismatched status with runtime table? |
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
E2E tests of Eclipse Che Multiuser on OCP has been successful:
|
...n/java/org/eclipse/che/workspace/infrastructure/kubernetes/model/KubernetesRuntimeState.java
Outdated
Show resolved
Hide resolved
...-workspace/src/main/java/org/eclipse/che/api/workspace/server/spi/RuntimeInfrastructure.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/eclipse/che/workspace/infrastructure/openshift/OpenShiftInfrastructure.java
Outdated
Show resolved
Hide resolved
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
E2E tests of Eclipse Che Multiuser on OCP has been successful:
|
the activity checker. Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
46744c0
to
62e11c8
Compare
was slightly wrong. Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
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
...-activity/src/main/java/org/eclipse/che/api/workspace/activity/WorkspaceActivityChecker.java
Show resolved
Hide resolved
...-activity/src/main/java/org/eclipse/che/api/workspace/activity/WorkspaceActivityChecker.java
Show resolved
Hide resolved
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
...-activity/src/main/java/org/eclipse/che/api/workspace/activity/WorkspaceActivityChecker.java
Show resolved
Hide resolved
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
workspace activity cleanup job. Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
E2E tests of Eclipse Che Multiuser on OCP has been successful:
|
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
ci-build |
E2E tests of Eclipse Che Multiuser on OCP has been successful:
|
What does this PR do?
Because it seems like under heavy load we either loose or don't register workspace state transitions in the workspace activity checker, this PR makes sure that we go through all the current activity records and reconcile them with the actual workspace status as registered by the workspace runtimes.
What issues does this PR fix or reference?
#14536