build(deps): migrate test WireMock to Jetty 12#798
Merged
Conversation
jbeckwith-oai
marked this pull request as ready for review
July 17, 2026 20:27
HAYDEN-OAI
approved these changes
Jul 17, 2026
HAYDEN-OAI
left a comment
There was a problem hiding this comment.
looks good, thanks for keeping the wiremock upgrade test-only and the java 8 publication target intact.
Open
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.
Summary
wiremock-jre82.35.2 / Jetty 9.4 towiremock-jetty123.13.2Why
WireMock 2 pins the end-of-life Jetty 9.4 line. There is no patched Jetty 9.4 release for the request-smuggling advisory, so clearing the remaining Jetty alerts requires moving the test server to WireMock's Jetty 12 integration. WireMock 3 also requires Java 17 and newer Jackson APIs, which previously conflicted with the repository's Java 8 publication target and Jackson 2.14 compatibility runtime.
Impact
This changes test and build configuration only. It does not change published dependencies or public APIs, and the produced SDK JARs still use Java 8 bytecode.
Validation
./scripts/lint./scripts/build --no-daemon --console plain./scripts/test --no-daemon --console plainwith the real local OpenAPI mock server:openai-java-client-okhttp:testtestJacksonCompatibilitypassmajor version 52)