Skip to content

Add rolling-updates feature flag and compatibility framework - #7

Open
ShashankFC wants to merge 1 commit into
feature-rolling-updates-baselinefrom
feature-rolling-updates-implementation
Open

Add rolling-updates feature flag and compatibility framework#7
ShashankFC wants to merge 1 commit into
feature-rolling-updates-baselinefrom
feature-rolling-updates-implementation

Conversation

@ShashankFC

@ShashankFC ShashankFC commented Jan 22, 2026

Copy link
Copy Markdown

Test 4nnn## Summary by CodeRabbitnn* New Featuresn * Introduced Rolling Updates as a new preview feature for server maintenance operations.nn* Documentationn * Added configuration instructions for enabling Rolling Updates in operator and server environments.n * Added caution notices indicating the Rolling Updates feature must be enabled for upgrade operations to proceed.nn✏️ Tip: You can customize this high-level summary in your review settings.nnn---nReplicated from ai-code-review-evaluation/keycloak-coderabbit#4


Note

Medium Risk
Changes CLI behavior and exit codes for upgrade-automation flows and requires an explicit preview feature flag; misconfiguration could break existing scripts/tests expecting prior exit codes or default behavior.

Overview
Introduces a new preview feature flag rolling-updates (Profile.Feature.ROLLING_UPDATES) and makes rolling-update/upgrade tooling explicitly gated behind it.

The update-compatibility CLI subcommands (metadata/check) now error and exit with a dedicated code when the feature is disabled, with updated exit codes to align with picocli conventions. Operator docs, server docs, build examples, and integration tests are updated to enable/pass --features=rolling-updates by default and warn that commands/operator behavior will fail without it.

Written by Cursor Bugbot for commit 0f91e67. Configure here.

Closes #36840

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
@ShashankFC

Copy link
Copy Markdown
Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

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