fix(cua-driver-rs): use darwin-universal-binary in install.sh (fixes 403 on macOS) - #1516
fix(cua-driver-rs): use darwin-universal-binary in install.sh (fixes 403 on macOS)#1516ddupont808 wants to merge 1 commit into
Conversation
The macOS install was downloading `cua-driver-rs-{v}-darwin-{arch}-binary.tar.gz`
which does not exist in the release — the CD workflow only produces a single
`darwin-universal-binary` tarball (arm64 + x86_64 lipo'd) for macOS, not
per-arch bare binaries. Attempting to download the missing per-arch tarball
returned a 4xx from GitHub's CDN (reported by users as a 403).
Fix: detect macOS via `LABEL` prefix and always use `darwin-universal-binary`
regardless of the host arch. Linux per-arch bare binaries continue to work
unchanged.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR updates the CUA driver installer script to select macOS tarballs differently. Instead of using architecture-specific tarball names for all platforms, it now routes all Darwin builds to a single ChangesmacOS Installer Tarball Handling
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|
Closing — this fixes a cua-driver-rs install script bug, not the cua-driver install issue. Will track separately. |
Summary
cua-driver-rs/scripts/install.shwas trying to downloadcua-driver-rs-{v}-darwin-{arch}-binary.tar.gz(e.g.darwin-arm64-binary,darwin-x86_64-binary) which don't exist in any releasedarwin-universal-binary(arm64 + x86_64 lipo'd together)Fix
Added a
casebranch in the download section: macOS always fetchesdarwin-universal-binary; Linux continues to use per-arch bare binaries as before.Verification
Test plan
bash libs/cua-driver-rs/scripts/install.sh🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes