Repository navigation
ci(toolchain): pin Rust 1.99.0 in rust-toolchain.toml; CI reads it (ADR-0039) - #181
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]>
…DR-0039) rust-toolchain.toml moves from channel = "stable" to "1.99.0", the release CI already runs. The build, openssh-interop and audit jobs read `channel` from that file and pass it to dtolnay/rust-toolchain instead of asking for `stable`; the step fails unless the value is an exact MAJOR.MINOR.PATCH, which also keeps the action input to digits and dots. cargo deny needs no change: cargo-deny-action already installs the toolchain the file names. Dependabot gains a rust-toolchain entry so each release arrives as one bump PR, where new lints are fixed before merge. docs/infrastructure.md no longer says the file tracks current stable. 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. |
… of ADR-0010 ADR-0039 flips to Accepted and names #181 as its implementation. ADR-0010's Status records that its channel = "stable" part is superseded by ADR-0039; the components list and every other bullet stand. Status-only edit per ADR-0015, worded like ADR-0020's record of ADR-0034. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b545d9141a
ℹ️ 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 |
… revision The Context paraphrased README lines 43–45 as pairing an explicit `toolchain` input with "a SHA or @master ref"; those lines name only the @master revision. The SHA rule comes from lines 102–108. Wording fix before acceptance; no change to the decision. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
|
APIError: Upstream request failed: Insufficient account funds |
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! 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". |
|
Maintainer decision (2026-10-12): keep the Dependabot |
#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]>
|
APIError: Upstream request failed: Insufficient account funds |
PR Review: ci(toolchain): pin Rust 1.99.0 in rust-toolchain.toml; CI reads it (ADR-0039) (#181)Decision: 🟢 Approved Previous issues
Executive summaryThis PR pins the Rust toolchain to No new findings from this iteration. |
Summary
Implements ADR-0039 (proposed in #180), stacked on that PR's branch.
rust-toolchain.tomlchannel = "stable"becomes"1.99.0", the release CI already runs (rustc 1.99.0 (b940084d7 2026-09-28)). The header comment now names ADR-0039 and the bump rule.componentsandprofileare unchanged..github/workflows/ci.yml(build×2),interop.yml(openssh-interop),audit.yml(audit)channelfromrust-toolchain.tomland fails unless it is an exactMAJOR.MINOR.PATCH.dtolnay/rust-toolchaingetstoolchain: ${{ steps.toolchain.outputs.channel }}instead ofstable. No workflow names a Rust version..github/dependabot.ymlpackage-ecosystem: rust-toolchainentry, on the same weekly schedule, labels and commit prefix as thecargoentry. Each release then arrives as one bump PR.docs/infrastructure.mdAcceptedand names this PR. It also gets one wording fix before acceptance: the Context now cites only what dtolnay's README lines 43–45 say, the@masterrevision. ADR-0010 gets a Status-only edit (ADR-0015), worded like ADR-0020's record of ADR-0034: itschannel = "stable"part is superseded, and every other bullet stands.deny.ymlis unchanged on purpose.cargo-deny-actionrunsrustup show || rustup toolchain installin the manifest directory (entrypoint.shline 41 at the pinned3c63498), so it already installs what the file names. The current main run logs "overridden by '/github/workspace/rust-toolchain.toml'".Why a step reads the file instead of three copies of the literal:
dtolnay/rust-toolchainat7e38f4brequirestoolchainas an input (action.ymllines 9–11) and cannot read the file. Dependabot'srust-toolchainecosystem updates only the file, so workflow literals would fall behind on every bump. The regex check also limits the value that reaches the action'srun:interpolation to digits and dots.Verification
1.99.0-aarch64-apple-darwin (overridden by '…/rust-toolchain.toml')):cargo fmt --all --check: clean.cargo clippy --workspace --all-targets -- -D warnings: clean.cargo test --workspace: 34 + 105 + 35 passed.cargo build --workspace --release: OK.actionlint(with shellcheck) onci.yml,audit.yml,interop.yml: clean.1.99.0andchannel="1.100.1" # c.stable,1.99,nightly-2026-10-01, a commented-out line, a duplicatedchannel, and1.99.0; echo x.rust-toolchain). GitHub validatesdependabot.ymlonly on the default branch, so the entry is confirmed after merge, when the Dependabot run for the new ecosystem shows in Insights → Dependency graph → Dependabot.build×2,cargo deny,openssh-interop,commit-lint) is the end-to-end check that every job installs and runs 1.99.0.MSRV is untouched (
rust-version = "1.92",clippy.tomlmsrv). No MSRV job is added; ADR-0039 lists one as a possible follow-up.Merge order
Proposed, docs only).main(GitHub does it automatically when docs(adr): ADR-0039 — pin the Rust toolchain to an exact release (Proposed) #180's branch is deleted). Then replay only this PR's own commits ontomainwithrebase --signoff --onto origin/main <#180's final head>(today54723b4), so the squash-merged ADR commit is not applied twice, and merge after CI is green again.The acceptance date in ADR-0039 is set to 2026-10-12, today. If this PR merges on another day, that date changes in the same PR.
Refs #109
https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW