Add rolling-updates feature flag and compatibility framework - #7
Open
ShashankFC wants to merge 1 commit into
Open
Add rolling-updates feature flag and compatibility framework#7ShashankFC wants to merge 1 commit into
ShashankFC wants to merge 1 commit into
Conversation
Closes #36840 Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
Author
|
bugbot run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-compatibilityCLI 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-updatesby default and warn that commands/operator behavior will fail without it.Written by Cursor Bugbot for commit 0f91e67. Configure here.