Skip to content

[9.6] aggregate version-up PRs - #22572

Merged
lahsivjar merged 26 commits into
9.6from
aggregator/9.6-version-ups
Nov 24, 2026
Merged

lahsivjar merged 26 commits into
9.6from
aggregator/9.6-version-ups

Conversation

@lahsivjar

@lahsivjar lahsivjar commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Motivation/summary

Cherry-pick the open version-up PRs targeting 9.6 onto current 9.6.

#22193 ([updatecli][9.6] Update to elastic/beats) was cherry-picked and then removed. That beats version returns github.com/elastic/beats/v7 types where 9.6 still uses elastic-agent-libs, so lint and tests fail to compile. The code change that drops elastic-agent-libs is #22422 on main and is not on 9.6. #22193 is already red for the same reason.

Source PRs are left open.

Checklist

  • Changelog not updated (dependency version bumps only)
  • Documentation not updated (no user-facing behavior change)

* chore: deps(ironbank): Bump ubi version to 10.3

Made with ❤️️ by updatecli

* chore: deps(ironbank): Bump ubi version to 10.3

Made with ❤️️ by updatecli

---------

Co-authored-by: elastic-observability-automation[bot] <180520183+elastic-observability-automation[bot]@users.noreply.github.com>
(cherry picked from commit 12131a3)
Made with ❤️️ by updatecli

Co-authored-by: elastic-observability-automation[bot] <180520183+elastic-observability-automation[bot]@users.noreply.github.com>
(cherry picked from commit 9fb3eae)
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
@lahsivjar
lahsivjar requested a review from a team as a code owner November 24, 2026 18:21
@lahsivjar lahsivjar added backport-skip Skip notification from the automated backport with mergify dependencies Pull requests that update a dependency file labels Nov 24, 2026
Copilot AI balanced review requested due to automatic review settings November 24, 2026 18:21
@github-actions

Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@mergify

mergify Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues block approval of the Go toolchain, dependency, and Iron Bank base-image updates.

No open issues 🎉

What changed in this PR

This PR consolidates three dependency-update PRs onto 9.6, refreshing APM Server’s Go toolchain, Beats dependencies, and Iron Bank base image.

Changes:

  • Updates Go to 1.26.11 across all four modules.
  • Advances Beats to commit 19336bcc4093, updates related dependencies and checksums, and refreshes license notices.
  • Updates the Iron Bank UBI base image tag from 10.2 to 10.3.
File Description
systemtest/​go.mod Updates the system-test module to Go 1.26.11.
packaging/​ironbank/​hardening_manifest.yaml Aligns the hardening manifest with base image tag 10.3.
packaging/​ironbank/​Dockerfile Updates the Iron Bank base image tag to 10.3.
NOTICE.txt Refreshes dependency versions in standard-build license notices.
NOTICE-fips.txt Refreshes dependency versions in FIPS-build license notices.
integrationservertest/​go.mod Updates the integration-test module to Go 1.26.11.
go.sum Updates checksums for the refreshed dependency graph.
go.mod Updates Go, Beats, and related direct and indirect dependencies.
cmd/​intake-receiver/​go.mod Updates the intake-receiver module to Go 1.26.11.

Review effort: Balanced

The update-beats commits require the elastic-agent-libs removal in #22422,
which is not on 9.6, so the tree does not compile. Go 1.26.11 and ironbank 10.3 stay.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown
Contributor

TL;DR

Buildkite packaging fails in both x86_64 and aarch64 because make apm-server does not compile: there is a beats vs elastic-agent-libs type mismatch across logging/config/paths types. Immediate action: align dependency versions (or corresponding imports) so all touched packages use one compatible type set.

Remediation

  • Re-apply/verify the beats version-up cherry-pick so dependency set is internally consistent (the PR summary references github.com/elastic/beats/v7 ...19336bcc4093; current compile output indicates skew).
  • Validate with make apm-server and then rerun .buildkite/scripts/package.sh snapshot (or rerun the Buildkite package pipeline).
Investigation details

Root Cause

make apm-server fails at compile time in multiple files due to incompatible types from different module paths:

  • internal/beatcmd/beat.go:151-156,176,180,187,194,329
  • internal/beater/beater.go:286,608,651,727,759,765,900-901
  • x-pack/apm-server/sampling/processor.go:92

This is a dependency compatibility issue (not a flaky test/infrastructure timeout): code is compiled against mixed github.com/elastic/beats/v7/pkg/* and github.com/elastic/elastic-agent-libs/* types.

Evidence

  • Build: https://buildkite.com/elastic/apm-server-package/builds/13836

  • Job/step: Package x86_64 and Package aarch64 (snapshot + staging)

  • Key log excerpt:

    • internal/beatcmd/beat.go:151:22: cannot use args.Logger (type *"github.com/elastic/elastic-agent-libs/logp".Logger) as *"github.com/elastic/beats/v7/pkg/logp".Logger
    • internal/beater/beater.go:608:30: cannot use rawConfig (type *"github.com/elastic/elastic-agent-libs/config".C) as *"github.com/elastic/beats/v7/pkg/config".C
    • x-pack/apm-server/sampling/processor.go:92:70: cannot use params.Logger ...
    • Final failure: make: *** [Makefile:113: apm-server] Error 2

Verification

  • Reproduced from Buildkite logs only (local checkout is main, not the PR head SHA), so no local rerun against PR commit.

Follow-up

  • I checked for a matching flaky test issue; none matched this compile-type mismatch pattern, so this should be treated as deterministic dependency skew.

What is this? | From workflow: Observability Agentic Workflow — Status

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

Copilot AI balanced review requested due to automatic review settings November 24, 2026 18:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The advertised Beats sync is missing: go.mod still requires the older version, so the dependency update and associated generated changes must be included or the description corrected.

1 open issue

Review effort: Balanced

Comment thread go.mod
module github.com/elastic/apm-server

go 1.26.10
go 1.26.11
@lahsivjar
lahsivjar merged commit ddf9077 into 9.6 Nov 24, 2026
31 of 32 checks passed
@lahsivjar
lahsivjar deleted the aggregator/9.6-version-ups branch November 24, 2026 18:40
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-skip Skip notification from the automated backport with mergify dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants