Skip to content

[ci] mark jdk28 as experimental to prevent failures from polluting the build - #4639

Merged
SylvainJuge merged 3 commits into
elastic:mainfrom
SylvainJuge:mark-jdk28-as-experimental
Dec 1, 2026
Merged

SylvainJuge merged 3 commits into
elastic:mainfrom
SylvainJuge:mark-jdk28-as-experimental

Conversation

@SylvainJuge

@SylvainJuge SylvainJuge commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

we currently see lots of failures related to jdk 28 which isn't released yet.

Until it's ready, we should avoid breaking the build to prevent noise in nightly builds, for example with https://github.com/elastic/apm-agent-java/actions/runs/45766710387/job/139729247438

@github-actions

Copy link
Copy Markdown

🤖 GitHub comments

Just comment with:

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

@SylvainJuge SylvainJuge changed the title mark jdk28 as experimental to prevent failures from polluting the build [ci] mark jdk28 as experimental to prevent failures from polluting the build Nov 30, 2026
@SylvainJuge
SylvainJuge marked this pull request as ready for review November 30, 2026 13:40
@SylvainJuge
SylvainJuge requested review from a team as code owners November 30, 2026 13:40
Copilot AI balanced review requested due to automatic review settings November 30, 2026 13:40
@mergify

mergify Bot commented Nov 30, 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

There are no active review issues for the change making JDK 28 early-access checks non-blocking.

No open issues 🎉

What changed in this PR

Makes JDK 28 early-access compatibility checks non-blocking so their failures do not fail the overall workflow or add noise to nightly builds.

Changes:

  • Marks the 28-ea matrix entry as experimental.
  • Allows experimental matrix jobs to fail while preserving failure handling for other JDK versions.
File Description
.github/​workflows/​main.yml Adds conditional job-level continue-on-error and marks JDK 28 as experimental.

Review effort: Balanced

@SylvainJuge SylvainJuge added the ci:jdk-compatibility Enables JDK compatibility tests in build pipeline label Nov 30, 2026
jackshirazi
jackshirazi previously approved these changes Nov 30, 2026
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 30, 2026 16:18

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 workflow’s -DargLine override removes the JaCoCo agent needed to prevent retransformation failures while leaving modules with explicit Surefire argLine settings without the workaround.

1 open issue

Review effort: Balanced

Comment thread .github/workflows/main.yml Resolved
@SylvainJuge

SylvainJuge commented Dec 1, 2026 •

Copy link
Copy Markdown
Member Author

After investigating a bit further, this seems related to the objenesis library, and this fix might help for the next release (3.7) easymock/objenesis#562 / easymock/objenesis#555. However, this is not released yet.

Copilot AI balanced review requested due to automatic review settings December 1, 2026 14:23

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

The JDK 28 CI compatibility changes have no active review issues.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@SylvainJuge
SylvainJuge merged commit d19eb4a into elastic:main Dec 1, 2026
24 checks passed
@SylvainJuge
SylvainJuge deleted the mark-jdk28-as-experimental branch December 1, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-java ci:jdk-compatibility Enables JDK compatibility tests in build pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants