Skip to content

fix(ci): disable rust-cache bin caching to fix macOS cargo resolution#288

Merged
skevetter merged 1 commit into
mainfrom
223a-sr-mgr-tauri-ci-fix
May 14, 2026
Merged

fix(ci): disable rust-cache bin caching to fix macOS cargo resolution#288
skevetter merged 1 commit into
mainfrom
223a-sr-mgr-tauri-ci-fix

Conversation

@skevetter

Copy link
Copy Markdown
Contributor

Summary

  • Disables binary caching (cache-bin: false) in swatinem/rust-cache for both pr-ci.yml and release.yml desktop build jobs
  • Fixes deterministic CI failure where cargo resolves to Homebrew's broken rustup-init shim on macOS runners (image 20260511.0048+), causing cargo metadata to fail with Usage: rustup-init[EXE] [OPTIONS]
  • Root cause: rust-cache restores cached /opt/homebrew/bin/cargo (a rustup-init shim) which shadows ~/.cargo/bin/cargo (the real binary from dtolnay/rust-toolchain)

Upstream refs: actions/runner-images#14097, actions/runner-images#14099, Swatinem/rust-cache#341

New macOS runner images (20260511.0048+) ship a broken Homebrew
rustup-init shim at /opt/homebrew/bin/cargo. When swatinem/rust-cache
restores cached binaries, it can restore this shim over the real cargo
binary installed by dtolnay/rust-toolchain, causing 'cargo metadata'
to fail with 'Usage: rustup-init[EXE] [OPTIONS]'.

Setting cache-bin: false prevents rust-cache from caching or restoring
the cargo/rustc binaries, letting the toolchain action's binaries
take precedence.

Ref: actions/runner-images#14097, actions/runner-images#14099,
     Swatinem/rust-cache#341
@netlify

netlify Bot commented May 14, 2026

Copy link
Copy Markdown

Deploy Preview for devsydev ready!

Name Link
🔨 Latest commit 81b3fb3
🔍 Latest deploy log https://app.netlify.com/projects/devsydev/deploys/6a06156f0db0570008bf68ee
😎 Deploy Preview https://deploy-preview-288--devsydev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented May 14, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@skevetter has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 7 minutes and 58 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: af47be6e-6a12-4c4c-a973-7c7dadaef7e6

📥 Commits

Reviewing files that changed from the base of the PR and between ab8d905 and 81b3fb3.

📒 Files selected for processing (2)
  • .github/workflows/pr-ci.yml
  • .github/workflows/release.yml

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 and usage tips.

@skevetter
skevetter merged commit bf7762d into main May 14, 2026
57 checks passed
@skevetter
skevetter deleted the 223a-sr-mgr-tauri-ci-fix branch May 14, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant