Skip to content

Restore the Google Cloud mirror for CI resolution - #12700

Merged
slachiewicz merged 1 commit into
apache:masterfrom
slachiewicz:ci-restore-central-mirror
Aug 7, 2026
Merged

Restore the Google Cloud mirror for CI resolution#12700
slachiewicz merged 1 commit into
apache:masterfrom
slachiewicz:ci-restore-central-mirror

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Reverts b47bcec, which commented out the mimir.session.mirrors line in .github/ci-mimir-session.properties.

Why it was commented out

The Google Cloud mirror of Central lags a fresh release. apache-maven-4.0.0-rc-6 was still a 404 there days after Central served it, which broke CI during the rc-6 rollout.

Why restore it now

The mirror has caught up — both of these are 200 today:

URL status
https://maven-central.storage-download.googleapis.com/maven2/.../apache-maven-4.0.0-rc-6.pom 200
https://repo1.maven.org/maven2/.../apache-maven-4.0.0-rc-6.pom 200

The mirror is cheaper for CI than hitting Central directly on every job, and the lag is a release-day problem rather than a steady-state one — so the mirror is the better default between releases.

Caveat worth knowing

This does re-expose CI to the same 404 window when the next RC drops. If that happens, commenting the line out again is a one-line change.

A matching PR for maven-4.0.x follows, since that branch carries the same commit (c05b25d).

Reverts b47bcec.

That commit commented the mirror out because the Google Cloud mirror of
Central lagged a fresh release: apache-maven-4.0.0-rc-6 was still a 404
there days after Central served it. The mirror has since caught up, and
resolving through it is measurably cheaper for CI than hitting Central
directly on every job.

The lag is a release-day concern, not a steady-state one, so the mirror
is the better default between releases.
@slachiewicz slachiewicz added the build Pull requests that change the build process label Aug 7, 2026

@gnodet gnodet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean restoration of the Google Cloud mirror for CI. The mirror URL (https://maven-central.storage-download.googleapis.com/maven2/) is unchanged from the original addition by Tamas Cservenak in PR #11622, and this is a straightforward revert of the temporary disabling in commit b47bcec during the rc-6 sync lag.

The PR body honestly documents the accepted trade-off (mirror may lag on future RC drops, easily revertible). No security concerns — this is Google's well-known read-only CDN mirror of Maven Central.

Minor: the file still lacks a trailing newline (pre-existing since the original addition, not introduced here).

This review was generated by an AI agent and may contain inaccuracies. Please verify all suggestions before applying.

Claude Code on behalf of gnodet

@slachiewicz
slachiewicz merged commit 8324271 into apache:master Aug 7, 2026
41 of 42 checks passed
@slachiewicz
slachiewicz deleted the ci-restore-central-mirror branch August 7, 2026 23:34
@github-actions github-actions Bot added this to the 4.1.0 milestone Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Pull requests that change the build process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants