Repository navigation
chore(ci): pin the CI toolchain to 1.97.0 instead of floating stable - #1749
Merged
Merged
Conversation
Floating on dtolnay/rust-toolchain@stable meant the 1.97.0 release (2026-07-07) landed in CI overnight and turned every open PR red on code none of them touched — new clippy lints plus a debug-frame-size change that SIGABRT'd the BQL parser tests (#1745 has the full story; it cost a working day across 15 PRs). All 36 floating `toolchain: stable` sites are now pinned to 1.97.0 with a comment pointing at the incident; bump the pin deliberately, running the local dual-toolchain check first (rustup stable + nix 1.96 MSRV). Nightly and MSRV pins are untouched. Co-Authored-By: Claude Fable 5 <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Pins the GitHub Actions “stable” Rust toolchain used across CI workflows to Rust 1.97.0 to prevent unexpected breakages from a floating stable toolchain (per the incident described in #1745), while leaving nightly/MSRV pins unchanged.
Changes:
- Replaced
toolchain: stablewithtoolchain: 1.97.0across CI workflows that previously floated stable. - Added an inline comment at each pin site to document why stable is pinned and to encourage deliberate bumps.
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/wasm.yml | Pins the Rust toolchain used for WASM tests/builds to 1.97.0. |
| .github/workflows/tla.yml | Pins the Rust toolchain used for TLA-related checks to 1.97.0. |
| .github/workflows/tla-escalated.yml | Pins the Rust toolchain for escalated TLA corpora generation to 1.97.0. |
| .github/workflows/supply-chain.yml | Pins the Rust toolchain used for cargo-vet/SBOM generation to 1.97.0. |
| .github/workflows/release-test.yml | Pins the Rust toolchain used in release test workflow to 1.97.0. |
| .github/workflows/release-publish.yml | Pins the Rust toolchain used for publish + wasm packaging steps to 1.97.0. |
| .github/workflows/release-build.yml | Pins the Rust toolchain used for release builds and matrix targets to 1.97.0. |
| .github/workflows/quality.yml | Pins the Rust toolchain used for quality checks/coverage tooling to 1.97.0. |
| .github/workflows/profile.yml | Pins the Rust toolchain used for profiling jobs to 1.97.0. |
| .github/workflows/parser-baselines.yml | Pins the Rust toolchain used for parser baseline jobs to 1.97.0. |
| .github/workflows/mutation.yml | Pins the Rust toolchain used for mutation testing to 1.97.0. |
| .github/workflows/kani.yml | Pins the Rust toolchain used for Kani workflow setup steps to 1.97.0. |
| .github/workflows/downstream.yml | Pins the Rust toolchain used for downstream builds to 1.97.0. |
| .github/workflows/compat.yml | Pins the Rust toolchain used for compatibility workflows to 1.97.0. |
| .github/workflows/ci.yml | Pins the Rust toolchain used across main CI jobs (fmt, doctests, build, etc.) to 1.97.0. |
| .github/workflows/cargo-vet-auto.yml | Pins the Rust toolchain used for automated cargo-vet runs to 1.97.0. |
| .github/workflows/bench.yml | Pins the Rust toolchain used for benchmark runs to 1.97.0. |
| .github/workflows/bench-pr.yml | Pins the Rust toolchain used for PR benchmark workflow to 1.97.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
✅ Compatibility Test Results
What's tested
Full results available in workflow artifacts |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
robcohen
added a commit
that referenced
this pull request
Jul 10, 2026
…1751) The #1749 workflow pin collided with rust-toolchain.toml's channel = "stable": rustup's file-based override BEATS the toolchain dtolnay installs targets for, so cargo ran under the auto-installed "stable" toolchain while wasm32-wasip2 std was added only to the "1.97.0" install — Component Parity failed on #1750 with "can't find crate for `std`". Invisible on #1749's own CI because workflow-only changes skip the component jobs (should_build gate). rust-toolchain.toml now pins the same version, with LOCKSTEP notes in both places so a future bump moves them together. Verified locally: the file override resolves to 1.97.0 and the wasip2 component builds. Co-authored-by: Claude Fable 5 <[email protected]>
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.
Floating
@stablelet Rust 1.97.0 land in CI overnight and redden every open PR on untouched code (new lints + the BQL parse-stack SIGABRT — #1745 has the story; it cost a working day across 15 PRs). All 36 floatingtoolchain: stablesites are pinned to 1.97.0 — the version everything on main is verified against — with an inline comment pointing at the incident so future bumps are deliberate. Nightly and MSRV pins untouched.Trade-off acknowledged: pinning means staleness until someone bumps; the incident showed surprise breakage is the worse failure mode for this repo's 15-PR-wide review cadence.
🤖 Generated with Claude Code