Repository navigation
build: Java 21 toolchain and ubuntu-24.04 CI - #374
Merged
Merged
Conversation
Use org.hypertrace.java-convention 0.4.0 (JDK 21 toolchain, release 11) so Jetty 12+ dependencies and hypertrace/java:21 images work in CI. Move workflows from ubuntu-22.04 (default JDK 11) to ubuntu-24.04. APPSEC-1213
Align dependency locks with hypertrace-bom resolution (jackson 2.21.7, netty 4.1.138, jetty 12.x, micrometer 1.15.12, postgresql 42.7.13) so Trivy image scan passes on the shipped config-service image. APPSEC-1213
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #374 +/- ##
============================================
+ Coverage 75.64% 76.09% +0.44%
- Complexity 458 625 +167
============================================
Files 65 65
Lines 3039 3070 +31
Branches 149 158 +9
============================================
+ Hits 2299 2336 +37
+ Misses 647 644 -3
+ Partials 93 90 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
ravisingal
approved these changes
Oct 7, 2026
skjindal93
approved these changes
Oct 7, 2026
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.
Why
Lock refresh PRs (e.g. #373) have been failing since May because CI runs on
ubuntu-22.04with no JDK setup (default JDK 11). Jetty 12 requires Java 17+ at runtime. The docker plugin would still emithypertrace/java:11without the convention plugin, which would crash on startup with current BOM lines. Stale locks onmainalso left the shipped image with Trivy HIGH/CRITICAL findings (jackson, netty, jetty 11, micrometer, postgresql).What
org.hypertrace.java-convention0.4.0 (JDK 21 toolchain,--release11) and remove manual Java 11 compatibility settings.ubuntu-22.04toubuntu-24.04.hypertrace/java:21via the convention plugin (verified locally withgenerateJavaApplicationDockerfile).gradle.lockfileentries (same resolution as lock PR Update gradle locks (Automated) #373): jackson 2.21.7, netty 4.1.138, jetty 12.x, micrometer 1.15.12, postgresql 42.7.13.Verified locally on JDK 21:
./gradlew buildand:config-service:integrationTest(Docker/colima) after lock refresh.Jira: APPSEC-1213
Made with Cursor