Repository navigation
docs(adr): ADR-0039 — pin the Rust toolchain to an exact release (Proposed) - #180
Conversation
…posed) Rust 1.99.0 (2026-10-01) added clippy::assert_is_empty, and CI ran the floating stable channel with -D warnings, so the required build checks failed on every PR from 2026-10-05 until #173. ADR-0039 supersedes the channel = "stable" part of ADR-0010: rust-toolchain.toml pins 1.99.0, every CI job reads the version from that file, and a bump is one reviewed PR, opened by Dependabot's rust-toolchain ecosystem. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 54723b415d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
APIError: Upstream request failed: Insufficient account funds |
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
APIError: Upstream request failed: Insufficient account funds |
PR Review: docs(adr): ADR-0039 — pin the Rust toolchain to an exact release (Proposed) (#180)Decision: 🟢 Approved Executive summaryADR-0039 records the decision to pin the Rust toolchain to an exact No issues found. Checked for bugs and CLAUDE.md compliance. |
#180 squash-merged ADR-0039 as Proposed. This branch carries the same file plus its acceptance with #181 and the corrected README citation, so the add/add conflict resolves to this branch's version. Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
Brings in ADR-0039 (#180); no conflicts. Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
Summary
Adds ADR-0039 (Proposed): pin the Rust toolchain to an exact stable release in
rust-toolchain.toml, make that file the only place a Rust version is named, and move it through a reviewed bump PR.Why now:
rust-toolchain.tomltrackschannel = "stable"(ADR-0010 line 41), and the three CI jobs that install Rust askdtolnay/rust-toolchainforstable. Rust 1.99.0 reached stable on 2026-10-01 with the newclippy::assert_is_empty.buildruns Clippy with-D warnings, so every PR run failed from 2026-10-05 (run 37271047382) to 2026-10-11 (run 38111812201): six runs on #170, #171 and the docs-only #172.build (…)is a required check (ADR-0031), so nothing could merge until #173 fixed the four assertions.Decision in one screen
channel = "1.99.0", the release CI runs today (rustc 1.99.0 (b940084d7 2026-09-28)).build×2,openssh-interop,audit) readschannelfromrust-toolchain.tomland passes it todtolnay/rust-toolchain. The step fails unless the value is an exactMAJOR.MINOR.PATCH.cargo denyalready installs what the file names (cargo-deny-actionentrypoint.shline 41), so it needs no change.channeland fixes the new lints, with CI green on the new version. Dependabot'srust-toolchainecosystem opens it each week a release lands.rust-version,clippy.toml), resolver, edition, components. No MSRV CI job is added; the ADR lists it as a possible follow-up.Facts verified while drafting
dtolnay/rust-toolchainat the pinned7e38f4bcannot read the file:toolchainis a required input (action.ymllines 9–11), and there is no other way to select a version. Its@1.99.0refs sit outside master's history, so the README's SHA-pin rule (lines 102–108) rules them out.package-ecosystem: rust-toolchainsince 2025-08-19 (GitHub changelog, options reference). What is true is that this repository's.github/dependabot.ymlconfigures onlycargoandgithub-actions. The ADR adds that entry and keeps the merge a reviewed decision. Alternative 5 records the manual-only option if the lead prefers it.Why an ADR and not an RFC: there is no new dependency, action or host, and no user-visible default changes. The ADR supersedes one ADR bullet, the same lane ADR-0034 used for ADR-0020. It is stated in the ADR.
Merge order
Proposed).rust-toolchain.tomlpin, the workflow and Dependabot changes, the flip of ADR-0039 toAccepted, and the Status-only edit of ADR-0010 (ADR-0015). The ADR-0010 edit goes there, not here, because it takes effect when the pin does. After this PR merges, replay only ci(toolchain): pin Rust 1.99.0 in rust-toolchain.toml; CI reads it (ADR-0039) #181's own commits ontomain(rebase --signoff --onto origin/main <this PR's final head>). ci(toolchain): pin Rust 1.99.0 in rust-toolchain.toml; CI reads it (ADR-0039) #181's body has the details.Refs #109
https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW