Skip to content

Synchronize workflow scheduled settings using cluster events (#48422)#48501

Merged
pedroigor merged 3 commits intokeycloak:release/26.6from
sguilhen:backport-48422-26.6
Apr 27, 2026
Merged

Synchronize workflow scheduled settings using cluster events (#48422)#48501
pedroigor merged 3 commits intokeycloak:release/26.6from
sguilhen:backport-48422-26.6

Conversation

@sguilhen
Copy link
Copy Markdown
Contributor

  • Synchronize workflow scheduled settings using cluster events

Closes #48185

(cherry picked from commit 33651e4)

@sguilhen sguilhen requested review from a team as code owners April 27, 2026 12:34
@sguilhen sguilhen force-pushed the backport-48422-26.6 branch from 08f6e92 to ed7ec51 Compare April 27, 2026 12:36
Signed-off-by: Stefan Guilhen <[email protected]>

(cherry picked from commit 33651e4)
assertCompatibility(CompatibilityResult.ExitCode.RECREATE, compatibilityProvider.isCompatible(Map.of(VERSION_KEY, "999.998.999-Final", "new cluster event", "WorkflowScheduleClusterEvent")));
assertCompatibility(CompatibilityResult.ExitCode.RECREATE, compatibilityProvider.isCompatible(Map.of(VERSION_KEY, "998.999.999-Final", "new cluster event", "WorkflowScheduleClusterEvent")));
assertCompatibility(CompatibilityResult.ExitCode.RECREATE, compatibilityProvider.isCompatible(Map.of(VERSION_KEY, "999.998.998-Final", "new cluster event", "WorkflowScheduleClusterEvent")));
assertCompatibility(CompatibilityResult.ExitCode.RECREATE, compatibilityProvider.isCompatible(Map.of(VERSION_KEY, "998.999.998-Final", "new cluster event", "WorkflowScheduleClusterEvent")));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we need a test case to represent when we upgrade from 26.6.1 to 26.6.2, i.e. the "new cluster event" K and Value are missing:

assertCompatibility(CompatibilityResult.ExitCode.RECREATE, compatibilityProvider.isCompatible(Map.of(VERSION_KEY, "999.999.999-Final")));

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@ryanemerson I thought that was implicitly covered in testRollingUpgradeRefusedWithOtherMetadataNotEquals, but I can add something targetting the versions

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done, added the assertion as you've suggested.

…ation

Signed-off-by: Stefan Guilhen <[email protected]>

(cherry picked from commit 33651e4)
@sguilhen sguilhen force-pushed the backport-48422-26.6 branch from 5e498ea to be648c2 Compare April 27, 2026 18:10
@sguilhen sguilhen requested a review from ryanemerson April 27, 2026 18:11
@pedroigor pedroigor merged commit 18496cb into keycloak:release/26.6 Apr 27, 2026
131 of 133 checks passed
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.

4 participants