Skip to content

Use java8 variant of apm-agent - #132651

Merged
rjernst merged 3 commits into
elastic:mainfrom
rjernst:apm/agent_dep_fix
Aug 11, 2025
Merged

rjernst merged 3 commits into
elastic:mainfrom
rjernst:apm/agent_dep_fix

Conversation

@rjernst

@rjernst rjernst commented Aug 11, 2025

Copy link
Copy Markdown
Member

This commit changes the apm-agent dependency to the java8 variant. The current dependency has a minimum java7 version, which restricts the dependency upgrades it can do.

This commit changes the apm-agent dependency to the java8 variant. The
current dependency has a minimum java7 version, which restricts the
dependency upgrades it can do.
@rjernst
rjernst requested review from a team as code owners August 11, 2025 14:21
@rjernst rjernst added :Core/Infra/Core Core issues without another label >upgrade auto-backport Automatically create backport pull requests when merged v8.19.2 v9.1.2 v8.18.6 v9.0.6 labels Aug 11, 2025
@elasticsearchmachine elasticsearchmachine added v9.2.0 Team:Core/Infra Meta label for core/infra team labels Aug 11, 2025
@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

Hi @rjernst, I've created a changelog YAML for you.

@ldematte ldematte 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.

LGTM provided CI passes, thanks for taking care of this!

@rjernst
rjernst merged commit c91871f into elastic:main Aug 11, 2025
@rjernst
rjernst deleted the apm/agent_dep_fix branch August 11, 2025 19:07
@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

💔 Backport failed

Status Branch Result
❌ 8.19 Commit could not be cherrypicked due to conflicts
❌ 9.1 Commit could not be cherrypicked due to conflicts
❌ 8.18 Commit could not be cherrypicked due to conflicts
❌ 9.0 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 132651

mosche pushed a commit to mosche/elasticsearch that referenced this pull request Oct 20, 2025
This commit changes the apm-agent dependency to the java8 variant. The
current dependency has a minimum java7 version, which restricts the
dependency upgrades it can do.

(cherry picked from commit c91871f)

# Conflicts:
#	gradle/verification-metadata.xml
#	modules/apm/build.gradle
mosche pushed a commit to mosche/elasticsearch that referenced this pull request Oct 20, 2025
This commit changes the apm-agent dependency to the java8 variant. The
current dependency has a minimum java7 version, which restricts the
dependency upgrades it can do.

(cherry picked from commit c91871f)

# Conflicts:
#	gradle/verification-metadata.xml
#	modules/apm/build.gradle
mosche pushed a commit to mosche/elasticsearch that referenced this pull request Oct 20, 2025
This commit changes the apm-agent dependency to the java8 variant. The
current dependency has a minimum java7 version, which restricts the
dependency upgrades it can do.

(cherry picked from commit c91871f)

# Conflicts:
#	gradle/verification-metadata.xml
#	modules/apm/build.gradle
@mosche

mosche commented Oct 20, 2025

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 9.1
✅ 9.0
✅ 8.19
✅ 8.18

Questions ?

Please refer to the Backport tool documentation

mosche pushed a commit to mosche/elasticsearch that referenced this pull request Oct 20, 2025
This commit changes the apm-agent dependency to the java8 variant. The
current dependency has a minimum java7 version, which restricts the
dependency upgrades it can do.

(cherry picked from commit c91871f)

# Conflicts:
#	gradle/verification-metadata.xml
#	modules/apm/build.gradle
elasticsearchmachine pushed a commit that referenced this pull request Oct 20, 2025
This commit changes the apm-agent dependency to the java8 variant. The
current dependency has a minimum java7 version, which restricts the
dependency upgrades it can do.

(cherry picked from commit c91871f)

# Conflicts:
#	gradle/verification-metadata.xml
#	modules/apm/build.gradle

Co-authored-by: Ryan Ernst <ryan@iernst.net>
mosche added a commit that referenced this pull request Oct 21, 2025
This commit changes the apm-agent dependency to the java8 variant. The
current dependency has a minimum java7 version, which restricts the
dependency upgrades it can do.

(cherry picked from commit c91871f)

# Conflicts:
#	gradle/verification-metadata.xml
#	modules/apm/build.gradle

Co-authored-by: Ryan Ernst <ryan@iernst.net>
kezhenxu94 pushed a commit to tetrateio/elasticsearch that referenced this pull request May 13, 2026
This commit changes the apm-agent dependency to the java8 variant. The
current dependency has a minimum java7 version, which restricts the
dependency upgrades it can do.

(cherry picked from commit c91871f)

# Conflicts:
#	gradle/verification-metadata.xml
#	modules/apm/build.gradle

Co-authored-by: Ryan Ernst <ryan@iernst.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged backport pending :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team >upgrade v8.18.6 v8.19.2 v9.0.6 v9.1.2 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants