Skip to content

Retry transient MSYS2 package download failures - #9002

Closed
danmar with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-build-mingw-windows-2025
Closed

danmar with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-build-mingw-windows-2025

Conversation

Copilot AI commented Nov 7, 2026 •

Copy link
Copy Markdown

The build_mingw job failed during MSYS2 setup when a package mirror returned HTTP 500. Make package installation resilient to transient mirror errors.

  • Change: Install packages in a dedicated step and retry up to three times, waiting 10 seconds between attempts. Preserve the existing package list and pacman flags.
for attempt in 1 2 3; do
  if pacman --noconfirm -S --needed --overwrite '*' ...; then
    exit 0
  fi
  # Wait 10 seconds before the next attempt
done

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build_mingw (windows-2025) Retry transient MSYS2 package download failures Nov 7, 2026
Copilot AI requested a review from danmar November 7, 2026 18:35
@danmar danmar closed this Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants