Skip to content

Conversation

@gianlucam76
Copy link
Member

@gianlucam76 gianlucam76 commented Jan 1, 2026

When deleting stale EventReports, always pass the EventSource. Removing EventReports for a given cluster without passing the EventSource name causes all EventReports to be removed, which particularly affect EventReports with CloudEvents which are then lost for good.

This PR fixes that.

This PR also improves the hash evaluation making stabler and so causing less un-necessary reconciliations.

(bug) When EventTrigger hash changes, resets the EventReport status

This allows, EventTrigger to re-update ClusterProfiles.
ClusterProfiles are otherwise only updated when EventReport changes.

This PR also makes sure that when event-manager restarts, the very first
time all EventReports are re-processed.
After that, an EventReport instance is reprocessed only if:

  • EventReport changes, which is detected during eventReport collection
  • EventTrigger hash changes (which triggers event-manager to reset the
    EventReport status)

When deleting stale EventReports, always pass the EventSource.
Removing EventReports for a given cluster without passing the EventSource
name causes all EventReports to be removed, which particularly affect
EventReports with CloudEvents which are then lost for good.

This PR fixes that.

This PR also improves the hash evaluation making stabler and so causing
less un-necessary reconciliations.

(bug) When EventTrigger hash changes, resets the EventReport status

This allows, EventTrigger to re-update ClusterProfiles.
ClusterProfiles are otherwise only updated when EventReport changes.

This PR also makes sure that when event-manager restarts, the very first
time all EventReports are re-processed.
After that, an EventReport instance is reprocessed only if:
- EventReport changes, which is detected during eventReport collection
- EventTrigger hash changes (which triggers event-manager to reset the
EventReport status)
@gianlucam76 gianlucam76 force-pushed the cloudevents-agentless branch from ab82b81 to 1e03908 Compare January 2, 2026 09:45
@gianlucam76 gianlucam76 merged commit 5098f48 into projectsveltos:main Jan 2, 2026
20 of 24 checks passed
@gianlucam76 gianlucam76 deleted the cloudevents-agentless branch January 2, 2026 12:01
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.

1 participant