SOLR-18119: Generate changes HTML only for releases #5180
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 554 lines diff across 6 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.378
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5180"
general
weight: 0.35
nick-boss-tech
🤖 AI text below 🤖 (posted on behalf of Nick Shanin)
Jenkins
*The
Solr-Smoketest-snapshot jobs need a new step beforeassembleRelease, or they fail after this merges.smokeTestRelease.py,testChanges). These jobs runassembleReleasedirectly, so they must first runpython3 -u dev-tools/scripts/changes2html.py CHANGELOG.md --output-dir solr/documentation/build/site/changes.What happens today
The documentation build generates Changes.html through a Gradle task that silently skips when python3 is missing.
What this change does
Changes.html is generated during release preparation by the release tooling, using the Python renderer moved out of the Gradle build.
assembleReleaseno longer checks for the generated files. The release smoke tester already requires the Changes.html link on every run, and the release wizard runs it before the vote, so a release without the file is caught there.checkneeds python3 are removed.Proof
Verified at head 89c8e184 on 2026-10-19, except where noted.
Follow-up at head f5bc3791 (2026-10-23): the three moved stylesheets no longer carry the license header the move added; per the review note that dev-tools is not released, each file is now byte-identical to its original under gradle/documentation/changes-to-html. No functional change; the verification below is unaffected.
tidyleaves no changes,:ratpasses, and the distribution project configures.:solr:solr-ref-guide:checkSiteLinkspasses with the new ignore and fails without it. The single-slash patternchanges/Changes\.htmlstill fails, because two pages link withchanges//Changes.html.smokeTestRelease.py.Limits
This changes release packaging and removes Changes.html from local documentation output.*
assembleReleaserun without the generated file now succeeds and produces a release without Changes.html. Only the smoke tester catches that.Changelog
One fragment, type
other: the release tooling generates Changes.html, and local builds no longer render it.---
AI-generated description. Nick Shanin directed the work and takes responsibility for this contribution.*