Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bot may downgrade current stack version #1043

Closed
antoineco opened this issue Dec 30, 2024 · 0 comments
Closed

Update bot may downgrade current stack version #1043

antoineco opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
ci Issues related to the automation pipeline: testing, updates, etc.

Comments

@antoineco
Copy link
Collaborator

The update bot recently updated the stack from 8.15 to 8.16, then downgraded it to 8.15 again at a later time1:

  1. f3c81fd
  2. 8e62bd4

This can happen because we pick the latest (GitHub) release by creation date that matches the major semver, then apply it blindly if it differs from the current stack version.

In this particular situation, Elastic created a patch release for 8.15 after the last patch release for 8.16, which led to this downgrade.

Although these situations seem exceptional, we should not only validate that the release satisfies the semver, but also that it is greater than the current stack version.

Footnotes

  1. with another 8.16 patch in between, but that's irrelevant for this issue.

@antoineco antoineco added the ci Issues related to the automation pipeline: testing, updates, etc. label Dec 30, 2024
@antoineco antoineco self-assigned this Dec 30, 2024
This was referenced Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Issues related to the automation pipeline: testing, updates, etc.
Projects
None yet
Development

No branches or pull requests

1 participant