Skip to content

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

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

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

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

What was wrong

dtolnay/rust-toolchain@v1 declares toolchain as required with no default (only branches like @stable supply one). Six steps here set none, so each fails with 'toolchain' is a required input.

Changes

Add toolchain: stable to the six dtolnay/rust-toolchain@v1 steps in zig-ffi.yml (3), stress-test.yml (1) and release.yml (2). Existing targets:/components: kept.

Testing

YAML parses; standards' check-lock-sync.sh reports no new failures.


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: f428baaf-7de3-4856-b53e-acaaf4d444d7
📥 Commits

Reviewing files that changed from the base of the PR and between 8121beb and c99054e.

📒 Files selected for processing: 3
  • .github/workflows/release.yml
  • .github/workflows/stress-test.yml
  • .github/workflows/zig-ffi.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.

📜 Recent review details
🔇 Additional comments: 3
.github/workflows/release.yml: 1

68-68: LGTM!

Also applies to: 221-222

.github/workflows/stress-test.yml: 1

21-22: LGTM!

.github/workflows/zig-ffi.yml: 1

51-51: LGTM!

Also applies to: 101-102, 131-132

📝 Summary

Summary by CodeRabbit

  • Chores
    • Release, stress-test and FFI workflows now explicitly use the stable Rust toolchain.

The release, stress-test, and Zig FFI workflows now explicitly select the stable Rust toolchain in their Rust setup steps.

Changes: Stable Rust toolchain selection

Layer / File(s) Summary
Select stable Rust in workflow jobs
.github/workflows/release.yml, .github/workflows/stress-test.yml, .github/workflows/zig-ffi.yml
The release build and publish jobs, stress-test job, and Zig FFI build, test, and Deno binding test jobs now explicitly select the stable Rust toolchain.

Priority: ⬇️ Low

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

Change: Bug fix

Merge Risk: ⚪ Minimal · up to c9905

The workflow changes select stable while preserving the inspected target and component setup. No material merge blocker is established.

### Architecture Summary

Architecture risk: 🔵 Low · up to c9905

The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.

Changed systems: None identified.

Architecture concerns
No architecture-level concerns identified.

Review details

Before / after behavior

  • observed — Modified behavior in .github/workflows/release.yml: The build job now explicitly selects the stable Rust toolchain.
  • observed — Modified behavior in .github/workflows/release.yml: The publish-crates job now explicitly selects the stable Rust toolchain.
  • observed — Modified behavior in .github/workflows/stress-test.yml: The Rust toolchain installation step now sets toolchain to stable; previously, it had no explicit toolchain setting.
  • observed — Modified behavior in .github/workflows/zig-ffi.yml: The FFI build job now selects the stable Rust toolchain.
Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: adding a valid toolchain input to the Rust toolchain setup in CI.
Description check Passed The description is directly related to the changes. It explains the missing required input, identifies all six workflow steps, and records the reported testing.
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. (3 skipped: 3 unsupported.)

  • 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:20
@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:22:15.406273Z c99054e 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.

@hyperpolymath
hyperpolymath enabled auto-merge (squash) October 19, 2026 17:21
@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 ba87c76 into main Oct 20, 2026
18 of 41 checks passed
@hyperpolymath
hyperpolymath deleted the ci/rust-toolchain-input branch October 20, 2026 13:07
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