Skip to content
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

Merged

Conversation

metlos
Copy link
Contributor

@metlos metlos commented Sep 17, 2019

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

with their true statuses.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
@che-bot che-bot added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/bug Outline of a bug - must adhere to the bug report template. labels Sep 17, 2019
@che-bot
Copy link
Contributor

che-bot commented Sep 17, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

  • build details
  • "che-server" docker image: maxura/che-server:14574

@skabashnyuk
Copy link
Contributor

skabashnyuk commented Sep 17, 2019

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?

@che-bot
Copy link
Contributor

che-bot commented Sep 17, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@che-bot
Copy link
Contributor

che-bot commented Sep 18, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

  • build details
  • "che-server" docker image: maxura/che-server:14574

@che-bot
Copy link
Contributor

che-bot commented Sep 18, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

  • build details
  • "che-server" docker image: maxura/che-server:14574

@che-bot
Copy link
Contributor

che-bot commented Sep 18, 2019

E2E tests of Eclipse Che Multiuser on OCP has been successful:

@che-bot
Copy link
Contributor

che-bot commented Sep 19, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

  • build details
  • "che-server" docker image: maxura/che-server:14574

@che-bot
Copy link
Contributor

che-bot commented Sep 19, 2019

E2E tests of Eclipse Che Multiuser on OCP has been successful:

the activity checker.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
@metlos metlos force-pushed the bug/14536-inconsistency-in-ws-activity branch from 46744c0 to 62e11c8 Compare September 19, 2019 14:16
was slightly wrong.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Sep 19, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:

@che-bot
Copy link
Contributor

che-bot commented Sep 19, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

Copy link
Member

@sleshchenko sleshchenko left a comment

Choose a reason for hiding this comment

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

LGTM

@che-bot
Copy link
Contributor

che-bot commented Sep 19, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Sep 19, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@che-bot
Copy link
Contributor

che-bot commented Sep 19, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

  • build details
  • "che-server" docker image: maxura/che-server:14574

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
workspace activity cleanup job.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Sep 20, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

  • build details
  • "che-server" docker image: maxura/che-server:14574

@che-bot
Copy link
Contributor

che-bot commented Sep 20, 2019

E2E tests of Eclipse Che Multiuser on OCP has been successful:

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Sep 20, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

  • build details
  • "che-server" docker image: maxura/che-server:14574

@metlos
Copy link
Contributor Author

metlos commented Sep 20, 2019

ci-build

@che-bot
Copy link
Contributor

che-bot commented Sep 20, 2019

E2E tests of Eclipse Che Multiuser on OCP has been successful:

@metlos metlos merged commit 159ccc6 into eclipse-che:master Sep 20, 2019
@che-bot che-bot removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Sep 20, 2019
@che-bot che-bot added this to the 7.2.0 milestone Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants