Skip to content

Fix lastActivity not being initialized properly#354

Merged
sgraband merged 4 commits intomainfrom
fixLastActivity
Oct 1, 2024
Merged

Fix lastActivity not being initialized properly#354
sgraband merged 4 commits intomainfrom
fixLastActivity

Conversation

@sgraband
Copy link
Contributor

  • 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.
@sgraband
Copy link
Contributor Author

@lucas-koehler Could you review this?

Copy link
Contributor

@lucas-koehler lucas-koehler left a 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

@sgraband
Copy link
Contributor Author

sgraband commented Oct 1, 2024

Thanks for the comments/suggestions @lucas-koehler. I added both of them. Could you take another quick look?

Copy link
Contributor

@lucas-koehler lucas-koehler left a 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 ❇️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants