Repository navigation
ci(wheel): one retry of the maturin build, since its installer download once returned a non-gzip body - #542
Merged
Merged
Conversation
…ad once returned a non-gzip body The Python wheel job on #540 failed in "Build wheel via maturin" on a change that touched no code: maturin-action installs maturin inside the manylinux container with a download from GitHub releases, and that answered with a page that was not a gzip ("gzip: stdin: not in gzip format", "tar: Child died with signal 13", "curl: (23) Failed writing body"). Over the last 200 CI runs the job's only other failure was a genuine one, the quick-xml 0.42 compile error on Dependabot's branch, so the flake is rare, but a red check that a rerun clears is a defect in the job, not a result. The build step now has `continue-on-error`, and a second step with the identical inputs runs only if the first failed. A transient download failure is absorbed by the retry; a build that really fails fails both times and fails the job, so genuine failures still block. The wheel job is not a required check; the release workflow (publish.yml) is left as it is, since a failed release job is recovered by re-running it.
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_532545d7-e9a1-44ed-8ea3-07abfadb9177) |
DrunkOnJava
enabled auto-merge (squash)
September 30, 2026 16:53
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.
Summary
The CI Python wheel job now retries its maturin build once. A transient failure to install maturin inside the manylinux container fails the job on a change that touched no code; a build that really fails still fails it. Nothing in the crate changes.
Motivation
On #540, which changed a check name, a ruleset file and docs, the
Python wheel / ubuntu-latestjob failed in "Build wheel via maturin" (job 109992040259):PyO3/maturin-actioninstalls maturin inside the manylinux2014 container from a download off GitHub releases, and that download answered with something that was not a gzip. Over the last 200 CI runs the wheel job had one other failure, a genuine one (the quick-xml 0.42 compile error on Dependabot's branch), so this is rare, but a red check that a rerun clears is a defect in the job, not a result. The wheel job is not a required check, which is why it did not block #540; the maintainer still cannot tell a flake from a failure without reading the log.Changes
.github/workflows/ci.yml: the build step hascontinue-on-error: true, and a second step with the identical inputs runs only when the first one's outcome wasfailure. A download that fails once is absorbed; a build that fails fails both attempts, and the second one fails the job. The steps after it (install, smoke, upload) are unchanged.publish.ymlis left as it is: a failed release job is recovered by re-running it, and the release wheels are the ones a change to this should be most careful about.Testing
No product code changes;
actionlintand a YAML parse are clean.Build wheel via maturinsucceeds,Build wheel via maturin (retry)is skipped, and the install, the wheel smoke on Revit files and the upload succeedcontinue-on-erroron the first step,if: steps.maturin.outcome == 'failure'on the second, whereoutcomeis the result beforecontinue-on-erroris applied) is the documented GitHub Actions behaviour, not something this pull request forced to happenAudit-honesty checklist
publish.yml, and any other transient failure of the wheel job (the install of the wheel, the smoke) which still fails the jobLegal and contribution hygiene
Breaking changes
None.
Related issues
Found on #540.