Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Jul 2, 2025

What does this PR do?

This PR ensures the inclusion of the 8.19 LTS branch in the list of snapshot branches used for upgrade testing in CI. Previously, only a limited number of recent release branches (e.g., 9.x, 7.17) were included. However, since 8.19 is designated as an LTS branch and will be supported for an extended period, this change adds it explicitly - similar to the existing logic for 7.17.

The implementation includes:

  • Dynamically appending 8.19 to the list of snapshot branches if the current agent version is greater than 8.19.
  • Updating testdata/.upgrade-test-agent-versions.yml to reflect the latest 7.17 snapshot version (7.17.30-SNAPSHOT).

Why is it important?

This change ensures that upgrade tests against the 8.19 LTS branch are consistently included in CI pipelines, especially when building agent versions from 9.x onward. It guarantees test coverage against supported upgrade paths and aligns with the long-term support strategy.

Checklist

  • I have read and understood the pull request guidelines of this project.
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

None. This change only affects internal test version selection logic for CI environments.

How to test this PR locally

mage integration:updateVersions

Related issues

N/A


This is an automatic backport of pull request #8761 done by Mergify.

…ons (#8761)

* ci: always include 8.19 LTS release branch in snapshots of test versions

* update .upgrade-test-agent-versions.yml

(cherry picked from commit e629b9e)
@mergify mergify bot requested a review from a team as a code owner July 2, 2025 09:13
@mergify mergify bot added the backport label Jul 2, 2025
@mergify mergify bot requested review from blakerouse and michalpristas and removed request for a team July 2, 2025 09:13
@github-actions github-actions bot added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team skip-changelog labels Jul 2, 2025
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@elastic-sonarqube
Copy link

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @pkoutsovasilis

@pkoutsovasilis pkoutsovasilis merged commit 4e49dee into 9.1 Jul 2, 2025
19 checks passed
@pkoutsovasilis pkoutsovasilis deleted the mergify/bp/9.1/pr-8761 branch July 2, 2025 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants