fix: correct per-module versions in licenses.yaml #20737
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 355 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.351
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #20737"
general
weight: 0.35
amaechler
Part of #20732.
Description
Several
licenses.yamlentries list a version their module no longer ships, so the binary LICENSE shows the wrong version for those jars.check-licenses.pydoes not catch this because it matches (groupId, artifactId, version) across all modules: if any module registers the shipped version, the stale entry passes.I found these with the refresh script from #20736, which matches each entry against its own module's dependency report. I then checked every change against the jars in a locally built binary distribution (
-Pdist), including the shaded jar ofdruid-protobuf-extensions.Version updates
| Module | Library | Was | Ships |
| --- | --- | --- | --- |
|
druid-kubernetes-extensions|commons-collections4| 4.4 | 4.6.0 ||
druid-kubernetes-extensions|gson| 2.8.6 | 2.14.0 ||
druid-avro-extensions|gson| 2.3.1 | 2.14.0 ||
druid-protobuf-extensions|gson(shaded) | 2.8.9 | 2.14.0 ||
druid-hdfs-storage|hadoop-client-api| 3.3.6 | 3.5.0 ||
java-core|protobuf-java| 4.36.0 | 4.36.2 |Entries restructured
eventstream:lib/shipseventstream-1.0.1.jar, but the "AWS SDK for Java 2" entry listed it at the SDK version (2.55.6). It now has its ownjava-coreentry at 1.0.1, like the existing one fordruid-s3-extensions.druid-avro-extensions: the extension shipsavro-1.12.2.jaronly. The entry was at 1.11.5 and also listedavro-mapred,avro-ipcandavro-ipc-jetty, which are not bundled, so those libraries and their notices are removed.druid-avro-extensions: there were twokafka-clientsentries (6.2.12-ccs and 5.5.1-ccs), and the extension ships 8.3.2-ccs. One entry is updated and the other removed.java-core: the entry also listednetty-codec-classes-quic, which is not bundled and no POM references, so it is removed. Otherwise the refresh script would flag every Netty bump for a manual edit.Checks
check-licenses.pypasses, and its "unchecked" warnings drop from 158 to 144.generate-binary-license.pyandgenerate-binary-notice.pyrun cleanly. The generated files show the new versions, and the NOTICE no longer carries theavro-maprednotice.Not in this PR: 24 older entries whose libraries now ship only at versions other entries register, for example a second
swagger-annotationsentry at 1.6.11 indruid-kubernetes-extensions, or Guava 32.1.3-jre next to the current Guava entry injava-core.check-licenses.pyreports these as unchecked; removing them is a separate cleanup.<hr>
This PR has: