Skip to content

Retry MSYS2 setup once on mirror timeouts - #224

Merged
danoli3 merged 1 commit into
masterfrom
ci/msys2-setup-retry
Oct 27, 2026
Merged

danoli3 merged 1 commit into
masterfrom
ci/msys2-setup-retry

Conversation

@danoli3

@danoli3 danoli3 commented Oct 27, 2026

Copy link
Copy Markdown
Owner

MSYS2 jobs sometimes fail before building anything, because mirror.msys2.org stalls while setup-msys2 syncs the package databases. Example from #221's CI:

error: failed retrieving file 'msys.db.sig' from mirror.msys2.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed to synchronize all databases (download library error)

Each of the three msys2/setup-msys2@v2 steps (windows-msys2 and Windows MinGW32 in cmake.yml, and the MSYS2 bundled-codecs job) now has continue-on-error: true and an identical retry step gated on steps.msys2.outcome == 'failure'. If the retry fails as well, the job still fails, so a persistent MSYS2 outage stays visible.

mirror.msys2.org can stall while pacman syncs the package databases
("failed retrieving file 'msys.db.sig' ... Operation too slow"),
failing the whole job before any FreeImage code is built. Each
setup-msys2 step now continues on error and is repeated once when it
failed. A second failure still fails the job.
@danoli3
danoli3 merged commit 2ed4e95 into master Oct 27, 2026
55 of 72 checks passed
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.

1 participant