Skip to content

ci: give dtolnay/rust-toolchain a valid toolchain input - #413

Merged
hyperpolymath merged 1 commit into
mainfrom
ci/rust-toolchain-input
Oct 19, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
ci/rust-toolchain-input

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

What was wrong

rust-ci.yml and status-gate.yml each carried an injected with: toolchain: v1 above the real with: toolchain: stable. The duplicate key makes GitHub reject the whole workflow file, and v1 isn't a toolchain.

Changes

Drop the injected block in both files; the real toolchain: stable stays.

Testing

cargo check, fmt, clippy -D warnings and test pass locally on stable. YAML parses.


Generated by Claude Code

dtolnay/rust-toolchain at @v1 (and at its master-branch commits)
declares `toolchain` as required with no default; only the
toolchain-named branches such as @stable supply one. Steps here either:

- set no `toolchain:` at all, so the action fails with "'toolchain' is a
  required input";
- set an invalid value (v1, master, or a note), which rustup cannot
  install; or
- carry a second `with:` key injected above the real one by an earlier
  bulk edit. A duplicate key makes GitHub reject the whole workflow file.

Each affected step now has exactly one `with:` with a valid toolchain:
an injected toolchain-only `with:` block is dropped, an invalid value
becomes `stable`, and a step with none gets `toolchain: stable`. An
existing valid value ('1.97.0', ${{ env.RUST_VERSION }}, stable) is
kept as is.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0132Cdz3iwk2QGKv2sUhhsye
@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: db9b2457-07bd-48c4-bda2-86dbd843f17d
📥 Commits

Reviewing files that changed from the base of the PR and between ce300fd and 96031ff.

📒 Files selected for processing: 2
  • .github/workflows/rust-ci.yml
  • .github/workflows/status-gate.yml
💤 Files with no reviewable changes: 2
  • .github/workflows/rust-ci.yml
  • .github/workflows/status-gate.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Summary

Summary by CodeRabbit

  • Chores
    • Updated the Rust toolchain selection in the continuous integration workflows to use the stable toolchain. This applies to both the no-default-features checks and the status-gate workflow.

Both Rust CI workflows now select the stable Rust toolchain instead of v1.

Changes: Rust CI toolchain

Layer / File(s) Summary
Select the stable toolchain
.github/workflows/rust-ci.yml, .github/workflows/status-gate.yml
Both workflows now select the stable Rust toolchain instead of v1.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 96031

This CI-only change makes the Rust workflows select the stable toolchain instead of an invalid value. No actionable merge-blocking risk remains.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly identifies the CI change: providing a valid toolchain input to dtolnay/rust-toolchain. It is concise and directly related to the main changes.
Description check Passed The description explains the invalid duplicate toolchain inputs, the removal in both workflow files, and the reported validation results. It is directly related to the changeset.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

CI annotation context is incomplete: annotation collection unavailable or limited

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@hyperpolymath
hyperpolymath marked this pull request as ready for review October 19, 2026 17:23
@hyperpolymath
hyperpolymath enabled auto-merge (squash) October 19, 2026 17:23
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T17:24:29.565798Z 96031ff Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Add Carrot credits or activate Agent usage billing to use Autofix

@hyperpolymath
hyperpolymath merged commit 88afb95 into main Oct 19, 2026
17 of 39 checks passed
@hyperpolymath
hyperpolymath deleted the ci/rust-toolchain-input branch October 19, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants