Skip to content

[Backport] CA-423202: Xapi can incorrectly expect livepatches for EOL base versions#6994

Merged
minglumlu merged 2 commits intoxapi-project:26.1-lcmfrom
minglumlu:private/mingl/26.1-lcm/CA-423202
Apr 9, 2026
Merged

[Backport] CA-423202: Xapi can incorrectly expect livepatches for EOL base versions#6994
minglumlu merged 2 commits intoxapi-project:26.1-lcmfrom
minglumlu:private/mingl/26.1-lcm/CA-423202

Conversation

@minglumlu
Copy link
Copy Markdown
Member

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

(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>
@minglumlu minglumlu added this pull request to the merge queue Apr 9, 2026
Merged via the queue into xapi-project:26.1-lcm with commit 8e4b39a Apr 9, 2026
14 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.

3 participants