← Back to Pull requests

Add Google mirror to mitigate 429 from Maven Central [skip ci] #16748

Closed
unknown closed this pull request without merging on Nov 05, 2026 08:13 UTC
View on GitHub
unknown unknown commented on Nov 05, 2026 06:07 UTC
Author

Fixes #16747.

Description

  • Prefer Google's anonymous Maven Central mirror for public dependencies and plugins, retaining Central fallback. Keep both Scala POMs in sync; snapshot repositories are unchanged.

  • Internal builds continue using Artifactory as the only Maven source through jenkins/settings.xml; the new settings apply only to Databricks builds.

  • Retain maven.wagon.httpconnectionManager.maxBackoffSeconds=30: Maven 3.8.1 waits 5 + 10 + 20 seconds for persistent HTTP 429s per transfer instead of 315 seconds. This is not a total build timeout.
  • Why separate Databricks settings?
    Databricks builds cannot use the internal Artifactory endpoints configured in jenkins/settings.xml. Updating only the project POMs was insufficient: Assembly 3.6.0 loads dependency POMs through Maven's session-level repositories and was still contacting Central directly. The new jenkins/databricks/maven-settings.xml configures public repositories at that session level. An active profile keeps Google first and Central as fallback; a Central mirror would replace Central rather than retain that fallback.

    Validation:

  • Shell syntax, ShellCheck, XML/repository-policy checks, git diff --check, and automated review passed.

  • Maven 3.8.1 / JDK 17 / Assembly 3.6.0: reproduced direct-Central dependency POM resolution with POM-only settings; the fix fetched uncached POMs from Google. Replacing the first repository with an empty local stand-in confirmed Central fallback.

  • Earlier bootstrap checks covered public Scala 2.12/2.13, authenticated internal-only routing, and injected HTTP 429 backoff. Historical CI evidence and transfer rates are partial coverage, not proof of the new Assembly fix.

  • Fresh CI requested for 65d3e12b25, including the settings rationale comment; end-to-end results are pending.
  • Performance testing is not required because this changes only build-time repository resolution, not runtime code or dependency versions.

    AI assistance was used to prepare and validate this change.

    Checklists

    Documentation

  • Updated for new or modified user-facing features or behaviors

  • No user-facing change
  • Testing

  • Added or modified tests to cover new code paths

  • Covered by existing tests

  • (Existing Databricks Maven bootstrap command exercised locally, plus standard and Databricks premerge build coverage.)
  • Not required
  • Performance

  • Tests ran and results are added in the PR description

  • Issue filed with a link in the PR description

  • Not required
  • Diff: 335 lines (+251 / -84) across 4 files Reviewer: wjxiz1992 Review duration: 125m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 335 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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
    Diff Size diff_size
    0.348
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #16748"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 42.2% (MEDIUM) · Higher = larger blast radius
    42.2%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 16.7% · Safe to merge
    16.7%