Skip to content

Conversation

@huitseeker
Copy link
Contributor

@huitseeker huitseeker commented Jan 6, 2026

Previously, the MSRV check ran on every pull request and push to next. This was expensive (in CI runner disk space, and cache) because cargo-msrv downloads additional Rust toolchains to verify compatibility.

Now the MSRV check only runs:

  • On push to main/next (in release-plz-dry-run.yml)
  • When publishing a release (in release-plz.yml)

This makes PR CI faster and less memory-dependent. Any MSRV issues will still be caught before publication, and can be fixed locally using the scripts/check-msrv.sh script.

Changes:

  • Delete .github/workflows/msrv.yml
  • Add MSRV check steps to release-plz-dry-run.yml
  • Add MSRV check steps to release-plz.yml

@huitseeker huitseeker added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Jan 6, 2026
@huitseeker huitseeker marked this pull request as ready for review January 6, 2026 13:37
@mmagician
Copy link
Contributor

The changes to move the job to release time look ok, but let's address the current issues msrv tool is facing before merging:

Checking miden-tx-batch-prover (path+file:///home/runner/work/miden-base/miden-base/crates/miden-tx-batch-prover#0.13.0) in /home/runner/work/miden-base/miden-base/crates/miden-tx-batch-prover
   Current MSRV: 1.90
ERROR: MSRV check failed for miden-tx-batch-prover
Searching for correct MSRV for miden-tx-batch-prover...
   Could not determine correct MSRV automatically

Could you look into that please?

@huitseeker
Copy link
Contributor Author

huitseeker commented Jan 6, 2026

@mmagician The current issues are very probably the runner running out of space, as you can probably check by running the script (scripts/check-msrv.sh) locally.

@huitseeker
Copy link
Contributor Author

Closing to make sure this does not endanger release workflow.

@huitseeker huitseeker closed this Jan 6, 2026
@huitseeker
Copy link
Contributor Author

Re-opening in light of #2234.

@huitseeker huitseeker reopened this Jan 7, 2026
@huitseeker huitseeker force-pushed the huitseeker/ci-msrv-to-release branch 2 times, most recently from 5109735 to 990278b Compare January 8, 2026 11:18
huitseeker added a commit to 0xMiden/miden-node that referenced this pull request Jan 13, 2026
The MSRV check now only runs on push to main/next (in publish-dry-run.yml)
and when publishing a release (in publish-main.yml), rather than on every PR.

This makes PR CI faster and less resource-intensive. Any MSRV issues will
still be caught before publication, and can be fixed locally using
scripts/check-msrv.sh.

Changes:
- Delete .github/workflows/msrv.yml
- Add cleanup-runner action for freeing disk space
- Add MSRV check steps to publish-dry-run.yml
- Add MSRV check steps to publish-main.yml

See also:
- 0xMiden/miden-base#2233
- 0xMiden/miden-vm#2468
- 0xMiden/miden-vm#2460
Copy link
Contributor

@mmagician mmagician left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mmagician
Copy link
Contributor

@huitseeker could you see about the following merge requirement we have on miden-base (I actually thought this was org specific?): "Commits must have verified signatures."

Mirko-von-Leipzig pushed a commit to 0xMiden/miden-node that referenced this pull request Jan 13, 2026
The MSRV check now only runs on push to main/next (in publish-dry-run.yml)
and when publishing a release (in publish-main.yml), rather than on every PR.

This makes PR CI faster and less resource-intensive. Any MSRV issues will
still be caught before publication, and can be fixed locally using
scripts/check-msrv.sh.

Changes:
- Delete .github/workflows/msrv.yml
- Add cleanup-runner action for freeing disk space
- Add MSRV check steps to publish-dry-run.yml
- Add MSRV check steps to publish-main.yml

See also:
- 0xMiden/miden-base#2233
- 0xMiden/miden-vm#2468
- 0xMiden/miden-vm#2460
Previously, the Minimum Supported Rust Version (MSRV) check ran on every
pull request and push to next. This was expensive because cargo-msrv
downloads additional Rust toolchains to verify compatibility.

Now the MSRV check only runs:
- On push to main/next (in release-plz-dry-run.yml)
- When publishing a release (in release-plz.yml)

This makes PR CI faster and uses less memory. Any MSRV issues will still
be caught before publication, and can be fixed locally using the
scripts/check-msrv.sh script.

Changes:
- Delete .github/workflows/msrv.yml
- Add MSRV check steps to release-plz-dry-run.yml
- Add MSRV check steps to release-plz.yml
@huitseeker huitseeker force-pushed the huitseeker/ci-msrv-to-release branch from 990278b to 2458576 Compare January 13, 2026 19:26
@huitseeker huitseeker merged commit bd8c4f6 into next Jan 13, 2026
17 checks passed
@huitseeker huitseeker deleted the huitseeker/ci-msrv-to-release branch January 13, 2026 20:09
afa7789 pushed a commit to afa7789/miden-base that referenced this pull request Jan 15, 2026
Previously, the Minimum Supported Rust Version (MSRV) check ran on every
pull request and push to next. This was expensive because cargo-msrv
downloads additional Rust toolchains to verify compatibility.

Now the MSRV check only runs:
- On push to main/next (in release-plz-dry-run.yml)
- When publishing a release (in release-plz.yml)

This makes PR CI faster and uses less memory. Any MSRV issues will still
be caught before publication, and can be fixed locally using the
scripts/check-msrv.sh script.

Changes:
- Delete .github/workflows/msrv.yml
- Add MSRV check steps to release-plz-dry-run.yml
- Add MSRV check steps to release-plz.yml
afa7789 pushed a commit to afa7789/miden-base that referenced this pull request Jan 15, 2026
Previously, the Minimum Supported Rust Version (MSRV) check ran on every
pull request and push to next. This was expensive because cargo-msrv
downloads additional Rust toolchains to verify compatibility.

Now the MSRV check only runs:
- On push to main/next (in release-plz-dry-run.yml)
- When publishing a release (in release-plz.yml)

This makes PR CI faster and uses less memory. Any MSRV issues will still
be caught before publication, and can be fixed locally using the
scripts/check-msrv.sh script.

Changes:
- Delete .github/workflows/msrv.yml
- Add MSRV check steps to release-plz-dry-run.yml
- Add MSRV check steps to release-plz.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants