-
Notifications
You must be signed in to change notification settings - Fork 34
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
Fix lastActivity not being initialized properly #354
Conversation
sgraband
commented
Sep 27, 2024
- Improve and document debugging of operator and service
- Minor improvement: Local testing values should only pull IfNotPresent
- Fix lastActivity not being initialized properly
- We need to set it after the resource has been created.
- Therefore it is now handled by the operator not the service.
- Add warning in case resources are edited before being applied to the cluster.
- Only check HANDLED sessions from the activity tracking.
- Other resources should be cleaned up differently.
I would assume that this is the most common use case.
We need to set it after the resource has been created. Therefore it is now handled by the operator not the service. Add warning in case resources are edited before being applied to the cluster. Only check HANDLED sessions from the activity tracking. Other resources should be cleaned up differently.
@lucas-koehler Could you review this? |
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.
Hi @sgraband the code changes and the updated documentation look good to me ✨ I added two small non-blocking remarks inline
....operator/src/main/java/org/eclipse/theia/cloud/operator/plugins/MonitorActivityTracker.java
Outdated
Show resolved
Hide resolved
Thanks for the comments/suggestions @lucas-koehler. I added both of them. Could you take another quick look? |
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.
Thanks for the updates. LGTM ❇️