Skip to content

GH-51327: [CI][Dev] Change download minIO URLs for GitHub releases URL - #51326

Open
raulcd wants to merge 3 commits into
apache:mainfrom
raulcd:GH-47908
Open

GH-51327: [CI][Dev] Change download minIO URLs for GitHub releases URL#51326
raulcd wants to merge 3 commits into
apache:mainfrom
raulcd:GH-47908

Conversation

@raulcd

@raulcd raulcd commented Sep 14, 2026

Copy link
Copy Markdown
Member

Rationale for this change

MinIO download URLs return HTTP 410. They have been removed.

There's a longer discussion about finding out a long term solution for the MinIO deprecation here:

What changes are included in this PR?

Use the exact same releases we use but use the GitHub releases download URL temporarily before moving to something else.

Are these changes tested?

Yes via archery and CI

Are there any user-facing changes?

No

AI disclosure

The mechanical changes were done with Claude Opus 5 (1M context)
Everything was reviewed by me (a human).

Copilot AI lite review requested due to automatic review settings September 14, 2026 09:48
@github-actions github-actions Bot added the awaiting committer review Awaiting committer review label Sep 14, 2026

Copilot AI 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.

🟡 Changes recommended

Unresolved CI download, image revision, and s390x asset issues remain.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Updates CI MinIO downloads from retired dl.min.io URLs to pinned GitHub release assets.

Changes:

  • Updates MinIO and mc download URL construction.
  • Updates the Windows test image’s MinIO download URL.
File summaries
File Summary Findings
ci/scripts/install_minio.sh Uses GitHub release assets for MinIO and mc. Critical: Windows C++ CI still uses the retired URL. Moderate: The s390x asset URL is unavailable.
ci/docker/python-wheel-windows-test-vs2022-base.dockerfile Downloads the Windows MinIO binary from GitHub. Moderate: The image revision in .env must be bumped.
Review details

Suppressed comments (1)

ci/docker/python-wheel-windows-test-vs2022-base.dockerfile:54

  • The Dockerfile explicitly requires bumping PYTHON_WHEEL_WINDOWS_TEST_IMAGE_REVISION when it changes, but .env still has the old 2026-09-09 value. Because the Compose image tag is derived from that revision, CI can reuse the previously built image and never apply this new download URL; please bump the test-image revision with this change.
RUN curl -L https://github.com/minio/minio/releases/download/RELEASE.2025-01-20T14-49-07Z/minio.windows-amd64.RELEASE.2025-01-20T14-49-07Z.exe `
  • Files reviewed: 2/2 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread ci/scripts/install_minio.sh
Comment thread ci/scripts/install_minio.sh

@rok rok left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, merge if CI passes!

One question - should we include hardcoded checksum checks?

@github-actions github-actions Bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Sep 14, 2026
Copilot AI review requested due to automatic review settings September 14, 2026 09:59

Copilot AI 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.

🔵 Needs a closer look

The s390x path needs an explicit supported installation path or caller handling instead of silently succeeding.

Review details

Suppressed comments (1)

ci/scripts/install_minio.sh:33

  • Removing s390x here moves a previously handled architecture into the exit 0 path at lines 36-38. The pinned MinIO server release has no linux-s390x asset, so s390x callers now continue without ${prefix}/bin/minio (and potentially mc) and only fail later or silently skip tests. Please either provide a supported s390x installation path or make this unsupported case explicit in its callers instead of silently succeeding.
       [aarch64]=arm64)
  • Files reviewed: 4/4 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@raulcd

raulcd commented Sep 14, 2026

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit wheel-cp314

@github-actions

Copy link
Copy Markdown

Revision: 35c116b

Submitted crossbow builds: ursacomputing/crossbow @ actions-c58570452f

Task Status
wheel-macos-monterey-cp314-cp314-amd64 GitHub Actions
wheel-macos-monterey-cp314-cp314-arm64 GitHub Actions
wheel-macos-monterey-cp314-cp314t-amd64 GitHub Actions
wheel-macos-monterey-cp314-cp314t-arm64 GitHub Actions
wheel-manylinux-2-28-cp314-cp314-amd64 GitHub Actions
wheel-manylinux-2-28-cp314-cp314-arm64 GitHub Actions
wheel-manylinux-2-28-cp314-cp314t-amd64 GitHub Actions
wheel-manylinux-2-28-cp314-cp314t-arm64 GitHub Actions
wheel-musllinux-1-2-cp314-cp314-amd64 GitHub Actions
wheel-musllinux-1-2-cp314-cp314-arm64 GitHub Actions
wheel-musllinux-1-2-cp314-cp314t-amd64 GitHub Actions
wheel-musllinux-1-2-cp314-cp314t-arm64 GitHub Actions
wheel-windows-cp314-cp314-amd64 GitHub Actions
wheel-windows-cp314-cp314t-amd64 GitHub Actions

Copilot AI review requested due to automatic review settings September 14, 2026 10:54

Copilot AI 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.

🟡 Changes recommended

Unresolved checksum verification and s390x handling issues remain.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (1)

ci/scripts/install_minio.sh:33

  • Removing the s390x entry makes this helper silently return success at lines 36–39 without installing either minio or mc on s390x. The script is copied into S3-enabled Linux images (for example, ci/docker/debian-13-cpp.dockerfile:98-99), so this is a CI coverage regression rather than just a URL rename; please retain a supported s390x server source or explicitly fail/disable the MinIO-dependent path.
       [aarch64]=arm64)
  • Files reviewed: 4/4 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread .github/workflows/cpp.yml
Comment thread ci/docker/python-wheel-windows-test-vs2022-base.dockerfile
@raulcd

raulcd commented Sep 14, 2026

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit wheel-cp313

@github-actions

Copy link
Copy Markdown

Revision: fd2d61f

Submitted crossbow builds: ursacomputing/crossbow @ actions-794c2bac07

Task Status
wheel-macos-monterey-cp313-cp313-amd64 GitHub Actions
wheel-macos-monterey-cp313-cp313-arm64 GitHub Actions
wheel-manylinux-2-28-cp313-cp313-amd64 GitHub Actions
wheel-manylinux-2-28-cp313-cp313-arm64 GitHub Actions
wheel-musllinux-1-2-cp313-cp313-amd64 GitHub Actions
wheel-musllinux-1-2-cp313-cp313-arm64 GitHub Actions
wheel-windows-cp313-cp313-amd64 GitHub Actions

@rok rok left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@pitrou

pitrou commented Sep 14, 2026

Copy link
Copy Markdown
Member

@kou Could you take a quick look at the additional shell code? Otherwise I hope we can merge quickly to fix CI.

@raulcd raulcd changed the title GH-47908: [CI][Dev] Change download minIO URLs for GitHub releases URL GH-51327: [CI][Dev] Change download minIO URLs for GitHub releases URL Sep 14, 2026
@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #51327 has been automatically assigned in GitHub to PR creator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge Awaiting merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants