Repository navigation
ci: the MSRV job is a required check, under a name that does not carry the version - #540
Merged
Merged
Conversation
…y the version The MSRV job was advisory, so a pull request that needs a newer Rust than `rust-version` could merge past it: Dependabot's earcut 0.4.11 update (#531) failed it and GitHub still called the pull request `UNSTABLE`, not blocked. docs/maintaining.md (#535) says such a pull request is not merged as it is; this makes the ruleset say it. The job's name embedded the version (`build + real files / ubuntu-latest / 1.87`), which the ruleset would have to follow at every MSRV bump, so the matrix entry gets `label: msrv` and the job is named `build + real files / ubuntu-latest / msrv`; the stable and platform jobs keep their names. The check is added to main-protection.json, and to the required checks listed in docs/maintaining.md.
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_1021069c-780f-42b1-8220-9c9fbdb735eb) |
7 tasks done
…diff and the fuzz target, not only built The quick-xml 0.42 migration (#535) showed that Measure's IFC hashes and scorers never reach the PartAtom parser: no reference model has a PartAtom stream. #538 added the rvt-info diff over the six models and the eleven families; this says in the maintainer guide when to use it, and to dispatch fuzz.yml on the branch for the PartAtom reader, so the next update to quick-xml, flate2, encoding_rs or cfb is measured the way that one was.
DrunkOnJava
enabled auto-merge (squash)
September 30, 2026 16:54
DrunkOnJava
added a commit
that referenced
this pull request
Sep 30, 2026
…ad once returned a non-gzip body (#542) ## 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-latest` job failed in "Build wheel via maturin" ([job 109992040259](https://github.com/DrunkOnJava/rvt-rs/actions/runs/36745942918/job/109992040259)): ``` gzip: stdin: not in gzip format tar: Child died with signal 13 curl: (23) Failed writing body (0 != 1364) Error: The process '/usr/bin/docker' failed with exit code 2 ``` `PyO3/maturin-action` installs 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 has `continue-on-error: true`, and a second step with the identical inputs runs only when the first one's outcome was `failure`. 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.yml` is 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; `actionlint` and a YAML parse are clean. - [x] The job builds the wheel on this pull request's run ([run 36746505696](https://github.com/DrunkOnJava/rvt-rs/actions/runs/36746505696)): `Build wheel via maturin` succeeds, `Build wheel via maturin (retry)` is skipped, and the install, the wheel smoke on Revit files and the upload succeed - [x] Not established: the retry path itself has not run. It fires only when the first attempt fails, and this change's wiring (`continue-on-error` on the first step, `if: steps.maturin.outcome == 'failure'` on the second, where `outcome` is the result before `continue-on-error` is applied) is the documented GitHub Actions behaviour, not something this pull request forced to happen ## Audit-honesty checklist - [x] What this does not cover: the same download in `publish.yml`, and any other transient failure of the wheel job (the install of the wheel, the smoke) which still fails the job - [x] No emojis, private paths or PII ## Legal and contribution hygiene - [x] Apache-2.0 - [x] No Autodesk content - [x] No fixtures ## Breaking changes None. ## Related issues Found on #540.
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
Makes the MSRV job a required check, under a name that does not carry the version, so a pull request that needs a newer Rust than
rust-versioncannot merge, and an MSRV bump does not mean editing the ruleset.Motivation
The MSRV job builds on the release
rust-versionnames and runs the real-file checks that need no corpus. It has been advisory, so auto-merge andgh pr mergewent past it: Dependabot's earcut 0.4.11 update (#531) failed it (earcut 0.4.11 needs Rust 1.87 on a 1.85 MSRV) and GitHub still called the pull requestUNSTABLE, not blocked.docs/maintaining.md(#535) says such a pull request is not merged as it is; this makes the ruleset say it instead of leaving it to the maintainer's attention. The check's name embedded the version (build + real files / ubuntu-latest / 1.87), which the ruleset would have to follow at every bump; it is nowbuild + real files / ubuntu-latest / msrv.Changes
.github/workflows/ci.yml: the matrix entry for the MSRV getslabel: msrv, and the job name uses${{ matrix.label || matrix.rust }}, so the stable jobs keep their names and the MSRV job isbuild + real files / ubuntu-latest / msrv..github/rulesets/main-protection.json:build + real files / ubuntu-latest / msrvis a required status check. It is applied to the live ruleset with the API after this merges and after the pull requests already in flight have landed or been brought up to date, since one whose workflow predates this change never reports the check and would wait on it forever.docs/maintaining.md: the required checks, the MSRV section, and a paragraph on how an update to a parser dependency is measured (thervt-infodiff from ci(measure): rvt-info reads every model and family, and the compare job diffs it, so the PartAtom parser is measured #538, andfuzz.ymldispatched on the branch for the PartAtom reader), which is how build(deps): raise the MSRV to 1.87 and take quick-xml 0.42 and earcut 0.4.11 #535 was measured.CHANGELOG.md.Testing
No product code changes;
actionlintand a YAML parse are clean.build + real files / ubuntu-latest / msrvreports on this pull request and passes (job 109994622314); the stable, macOS and Windows jobs keep their names and pass toogh api -X PUT repos/DrunkOnJava/rvt-rs/rulesets/15270879 --input .github/rulesets/main-protection.json), andpython3 tools/maintainer/audit.pysays the live rulesets match the fileAudit-honesty checklist
main, and is blocked until then; the maintainer updates themwith_corpus: false), so it is a compile and contract check on the oldest supported Rust, not a real-file measurement; the stable job on Linux is where the corpus is readLegal and contribution hygiene
Breaking changes
None for users. A contributor's pull request must pass the MSRV job to merge.
Related issues
Follows #535.