← Back to Pull requests

Automate Java and Lucene Maven releases #2863

Open
unknown opened this pull request with 277 lines diff across 3 files
View on GitHub
unknown unknown commented on Oct 15, 2026 00:52 UTC
Author

Publish Java and Lucene artifacts automatically from release tags so the release no longer needs a separate manual Maven deployment. Lucene publication waits for its matching Java dependency to reach PUBLISHED.

Gather artifacts from the same workflow run, preserve the native CUDA classifiers, and select common Java JARs from the highest CUDA version. Publish every versioned Lucene module, the parent POM, and the legacy relocation POM as a complete set. Reject missing assembly JARs, mismatched versions, invalid relocation targets, and conflicting native classifiers before upload. Keep Javadoc and sources JARs as Maven attachments.

Branch and nightly runs keep workflow-wide cancellation. Release tag runs get their own workflow concurrency groups, so a competing run cannot cancel an active publication. The C++, Java, Lucene, and Maven gather jobs allow cancellation when another job in the same group starts. The gather group includes the Maven module so the Java and Lucene gathers can run together. Canceling the shared C++ build also stops downstream jobs that need its output.

The shared publisher serializes jobs for the same repository and artifact with in-progress cancellation disabled. This lets Sonatype upload and promotion finish and gives the workflow a chance to retain the deployment receipt on failure. Lucene still waits for Java to reach PUBLISHED.

Maven assembly tests run in PR checks and pre-commit. A scoped Ruff configuration enables bugbear and security checks for the release tooling without changing unrelated Python lint policy. Action dependencies use verified stable release pins.

Java and Lucene website documentation is part of the existing cuVS Fern docs. This caller does not request a separate docs deployment or depend on the closed docs-automation PRs.

This targets release/26.12 and calls the shared publisher on that branch. Merge rapidsai/shared-workflows#660 first, confirm signing credentials and Sonatype namespace access, then retire the legacy manual publisher at cutover.

Validation: all 12 Maven assembly tests and scoped pre-commit checks passed. Full GPU build output and production Maven Central publication still require release-environment validation.

Diff: 277 lines (+207 / -70) across 3 files Reviewer: imotov Review duration: 68703m
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.47) × (1 − Review Confidence (0.41)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.47 · 277 lines diff across 3 files
0.47
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
0.02
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
40%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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
Shallow Review Depth shallow_review_depth
0.344
Diff Size diff_size
0.337
Real PR Conversation Timeline
1 comments
"Review active on #2863"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 40.9% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 46.6% (MEDIUM) · Higher = larger blast radius
46.6%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 40.9% · Lower = rushed or shallow review
40.9%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 27.5% · Safe to merge
27.5%
Repository