Repository navigation
fix(deps): upgrade okhttp to 5.5.0 via okhttp-jvm - #35557
Conversation
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved 1 closed / 1 findings🟡 Medium risk · The BOM-wide OkHttp 5.5.0 migration could cause linkage or request failures in SDK and third-party HTTP clients. Upgrades okhttp to 5.5.0 by switching the SDK and java-client to ✅ 1 closed✅ Quality: okhttp 5 / okhttp-jvm migration rule and Collate lockstep not recorded
VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
The operator's TTL-cleanup tests (#35513) start an in-memory Kubernetes API on MockWebServer, pinned at mockwebserver 4.12.0, while #35557 moved okhttp to 5.5.0 through the root okhttp-bom. The explicit pin beat the BOM, so mockwebserver 4 ran against okhttp 5 core and every test that starts the fixture failed with NoClassDefFoundError: okhttp3/internal/Util. The two PRs merged an hour apart on 2026-10-15, and the operator unit-test job is path-filtered, so main stayed red until a PR touched openmetadata-k8s-operator. Drop the version so the BOM holds mockwebserver on 5.5.0 with okhttp-jvm.
… JDKs (open-metadata#36087) * fix(security): drop the emSign roots behind CVE-2026-91403 from image JDKs eMudhra's compromised intermediates (CVE-2026-91403) chain to emSign ECC Root CA - G3, emSign ECC Root CA - C3 and emSign Root CA - C1. Temurin 21.0.13 removes those roots from cacerts, but eclipse-temurin:21-jdk and 21-jre-alpine are still on 21.0.12.1, which trusts the compromised chains. Delete the three roots by SHA-256 from the server images' jlink runtime and from the k8s operator's JRE, and fail the build if any is still trusted. Once the base images ship 21.0.13 the step deletes nothing. * fix(security): record the emSign-root decision and cover the pinned JDKs Review follow-up. The reason the step deletes roots instead of adding the advisory's fingerprints to blocked.certs was only in the PR description: an ECDSA signature re-encoded as (r, n-s) gives an intermediate a new fingerprint that still verifies. Record it as ADR:2026-10-23-image-jdks-distrust-compromised-cas-by-deleting-roots, cite it from each step, and note why the operator keeps java as its entrypoint. docker/olivaw and docker/oss-scanner run Maven on a Temurin 21.0.11 base pinned by digest, so they never pick up 21.0.13 on their own; give them the same step. * fix(deps): let the okhttp BOM manage the operator's mockwebserver The operator's TTL-cleanup tests (open-metadata#35513) start an in-memory Kubernetes API on MockWebServer, pinned at mockwebserver 4.12.0, while open-metadata#35557 moved okhttp to 5.5.0 through the root okhttp-bom. The explicit pin beat the BOM, so mockwebserver 4 ran against okhttp 5 core and every test that starts the fixture failed with NoClassDefFoundError: okhttp3/internal/Util. The two PRs merged an hour apart on 2026-10-15, and the operator unit-test job is path-filtered, so main stayed red until a PR touched openmetadata-k8s-operator. Drop the version so the BOM holds mockwebserver on 5.5.0 with okhttp-jvm.
Describe your changes:
Supersedes #34335. That bump doesn't build: in Maven the okhttp 5
okhttpartifact is an empty jar and the classes live inokhttp-jvm(okhttp README), so the SDK fails withpackage okhttp3 does not exist.okio.Socketthat okhttp 5.5 calls. Which jar loads first decides whether okhttp calls work.okhttp-bom5.5.0 and the SDK and java-client depend onokhttp-jvm, so every module resolves one okhttp-jvm 5.5.0 and okio 3.18.1. Dropped the unused okhttp/okhttp-sse test deps from openmetadata-mcp.okhttp-jvm5.5.0 transitively instead ofokhttp4.12.0.Collate counterpart: https://github.com/open-metadata/openmetadata-collate/pull/7524
Type of change:
Tests:
dependency:treeon every module: one okhttp-jvm 5.5.0, okio 3.18.1, no okhttp 4.users().getByNameandtables().list()work with okhttp loaded from okhttp-jvm-5.5.0.jar, Argo status and base URL validation work, no linkage errors in the log.