[Backport] CA-423202: Xapi can incorrectly expect livepatches for EOL base versions#6994
Merged
minglumlu merged 2 commits intoxapi-project:26.1-lcmfrom Apr 9, 2026
Conversation
(cherry-pick from commit 2f8c908) A new live patch update may drop live patch support for a component running with an old version. This means the old version is EOL in sense of live patching support. Previously, the logic collected all live patches that shared the same base build ID for the running component and treated them as cumulatively applicable. With this change, if the base build ID is marked EOL in the latest relevant update (for the same live patching component), the component is considered not live‑patchable. Signed-off-by: Ming Lu <ming.lu@cloud.com>
(cherry-pick from commit 47e9788) Signed-off-by: Ming Lu <ming.lu@cloud.com>
robhoes
approved these changes
Apr 8, 2026
changlei-li
approved these changes
Apr 9, 2026
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.
This is to back port commits merged in #6989
A new live patch update may drop live patch support for a component
running with an old version. This means the old version is EOL in sense
of live patching support.
Previously, the logic collected all live patches that shared the same
base build ID for the running component and treated them as cumulatively
applicable.
With this change, if the base build ID is marked EOL in the latest
relevant update (for the same live patching component), the component is
considered not live‑patchable