chore: pin nightly version to avoid flaky build errors#186
chore: pin nightly version to avoid flaky build errors#186
Conversation
2d2ab73 to
b850a0a
Compare
.github/workflows/ci.yml
Outdated
| - uses: dtolnay/rust-toolchain@master | ||
| with: | ||
| toolchain: nightly | ||
| toolchain: nightly-2026-02-01 |
There was a problem hiding this comment.
Using latest nightly is a double-edged sword - we get earlier validation for newest toolchain, so we can fix issues as they arise, but we also get upstream breakages like recent, since it's ultimately most-unstable toolchain you can get. It's even more painful when it happens for unrelated PRs.
Thus I agree - using nightly aligned with target toolchain is better. I wonder though how should be relate workspace's toolchain to MSRV, does it make sense to use different versions for them (e.g. #181)
There was a problem hiding this comment.
so we can fix issues as they arise, but we also get upstream breakages like recent, since it's ultimately most-unstable toolchain you can get. It's even more painful when it happens for unrelated PRs.
Yeah, I think this statement is captures the key sentiment for pinning. Pinning gives us stability and lets us choose when we want to deal with breakages. On the other hand, using nightly could mean unrelated failures in critical times (ie if we ever have an urgent patch).
So, I think pinning is the correct move and the only question in my mind is whether we should pin nightly to match MSRV. I'm leaning towards aligning them
There was a problem hiding this comment.
Ok -- pinned to nightly as of the date of the 1.84.1 release
2d085c1 to
55f4415
Compare
55f4415 to
44db4c5
Compare
It seems the latest version of nightly broke miri. Pinning our nightly version for the miri suite to a known working version to avoid inconsistent builds.