Repository navigation
[9.5] (backport #15924) [ci] Prevent Agent version leaking when triggering serverless Beats tests - #15972
Merged
Conversation
mergify
Bot
requested review from
macdewee and
samuelvl
and removed request for
a team
August 3, 2026 19:24
ebeahan
previously approved these changes
Aug 3, 2026
ebeahan
enabled auto-merge (squash)
August 3, 2026 19:37
This comment has been minimized.
This comment has been minimized.
The script was always cloning beats main, so the beats build version would diverge from what the integration runner expects on maintenance branches (9.4, 9.5) where beats main has moved ahead. Use the Buildkite-provided branch name directly: the PR base branch when running in PR context, otherwise the current branch. Branch names are kept in sync between elastic-agent and beats. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The script was always cloning beats main, so the beats build version would diverge from what the integration runner expects on maintenance branches (9.4, 9.5) where beats main has moved ahead. Use the Buildkite-provided branch name directly: the PR base branch when running in PR context, otherwise the current branch. Branch names are kept in sync between elastic-agent and beats. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
swiatekm
previously approved these changes
Aug 6, 2026
swiatekm
self-requested a review
August 7, 2026 17:48
swiatekm
approved these changes
Aug 7, 2026
swiatekm
disabled auto-merge
August 7, 2026 17:48
swiatekm
enabled auto-merge (squash)
August 7, 2026 17:48
💚 Build Succeeded
History
cc @ebeahan |
Member
|
@copilot take my commits from this branch and add them to the other backports of the original PR. Then, open a PR against main containing those changes. |
This was referenced Aug 13, 2026
Merged
Merged
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.
On a version bump PRs like #15426,
version/version.gois changed to the next patch (p) while Beats main is still the previous patch (p- 1 ).Based on the Elastic Agent version,
BEAT_VERSIONsets top. That leaks into the Beatsmage packagecall, producingfilebeat-p-SNAPSHOT, but the runner still expects(p -1)-SNAPSHOTfrom the Beats checkout.This is an automatic backport of pull request #15924 done by Mergify.