ci: make musl toolchain/zlib downloads resilient to musl.cc outages#148
Merged
rahlk merged 1 commit intoJun 8, 2026
Conversation
The musllinux legs failed with 'Failed to connect to musl.cc port 443: Connection timed out'. musl.cc is chronically flaky. Download the musl toolchain from a GitHub-hosted mirror (musl-cc/musl.cc) first, falling back to musl.cc; do the same for zlib (madler/zlib release, then zlib.net, then zlib.net/fossils). Add curl --retry with a connect timeout. Avoids --retry-all-errors since the manylinux_2_28 container's curl 7.61 predates it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
c298f5f
into
146-package-codeanalyzer-java-as-a-pypi-distribution-with-pypi-releaseyml
This was referenced Jun 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #147 (which merged before this commit landed).
Why
The
musllinux-x86_64/musllinux-aarch64legs of the first release run failed at Set up musl toolchain:musl.ccis chronically unreliable.What
setup-musl.shnow downloads via afetch()helper that tries mirrors in order withcurl --retry:musl-cc/musl.ccGitHub release (reliable from CI) →musl.cc. The mirror is byte-for-byte the same-native.tgzlayout, so--strip-components=1, theCCname, and PATH are unchanged.madler/zlibGitHub release →zlib.net→zlib.net/fossils.Avoids
--retry-all-errorson purpose: themanylinux_2_28container ships curl 7.61, which predates that flag.These legs remain
experimental: true/continue-on-error— a flaky upstream shouldn't block a PyPI release.🤖 Generated with Claude Code