Skip to content

chore(cua-driver-rs): bake 0.3.4 into install scripts - #1770

Merged
f-trycua merged 1 commit into
mainfrom
chore/bake-cua-driver-rs-0.3.4
May 30, 2026
Merged

chore(cua-driver-rs): bake 0.3.4 into install scripts#1770
f-trycua merged 1 commit into
mainfrom
chore/bake-cua-driver-rs-0.3.4

Conversation

@f-trycua

@f-trycua f-trycua commented May 30, 2026

Copy link
Copy Markdown
Collaborator

Problem

cua-driver-rs-v0.3.4 published with all platform assets, but the default curl … | install.sh still downloads 0.3.3.

Cause: the CD "Bake version into install scripts (commit + push)" step in cd-rust-cua-driver.yml failed for 0.3.4 — it aborts with "Your local changes would be overwritten by checkout" because the working tree is already dirty from the earlier in-tree bake step. It fails deterministically (also failed on re-run). So main's CUA_DRIVER_RS_BAKED_VERSION was never advanced past 0.3.3.

Fix

Manually bake 0.3.4 into both installer pointers:

  • _install-rust.sh: CUA_DRIVER_RS_BAKED_VERSION="0.3.4"
  • install.ps1: $Script:CuaDriverRsBakedVersion = "0.3.4"

Follow-up (separate)

The CD bake step needs fixing so the in-tree edit + commit/push double-edit no longer aborts the checkout — otherwise every future release will leave the baked pointer one version behind.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated default CUA Driver Rust version from 0.3.3 to 0.3.4 in installation scripts.

Review Change Stack

The 0.3.4 release published all platform assets, but the CD "bake version
into install scripts (commit + push)" step failed (it aborts on a dirty
working tree left by the earlier in-tree bake step), so main's installer
still pointed at 0.3.3. As a result `curl … | install.sh` downloaded the
stale 0.3.3 tarball.

Manually bake 0.3.4 into both installer pointers so the default install
fetches the current release. Follow-up: fix the CD bake step so the
double-edit no longer aborts the checkout.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@f-trycua
f-trycua merged commit ced44ab into main May 30, 2026
2 checks passed
@vercel

vercel Bot commented May 30, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Ignored Ignored May 30, 2026 5:15am

Request Review

@f-trycua
f-trycua deleted the chore/bake-cua-driver-rs-0.3.4 branch May 30, 2026 05:15
@coderabbitai

coderabbitai Bot commented May 30, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a1e562a8-d962-4825-b41e-d12638544543

📥 Commits

Reviewing files that changed from the base of the PR and between 37c4fb1 and c7db409.

📒 Files selected for processing (2)
  • libs/cua-driver/scripts/_install-rust.sh
  • libs/cua-driver/scripts/install.ps1

📝 Walkthrough

Walkthrough

Both Bash and PowerShell installer scripts synchronize their fallback Rust driver release version from 0.3.3 to 0.3.4, updating the default tag selected when no explicit version is provided via environment variable or command-line argument.

Changes

Rust driver version update

Layer / File(s) Summary
Default Rust driver version bump to 0.3.4
libs/cua-driver/scripts/_install-rust.sh, libs/cua-driver/scripts/install.ps1
Both CUA_DRIVER_RS_BAKED_VERSION (Bash) and $Script:CuaDriverRsBakedVersion (PowerShell) are updated from 0.3.3 to 0.3.4, keeping the default fallback version synchronized across Unix and Windows installers.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • trycua/cua#1557: Directly connected through the introduction of _install-rust.sh and the installer version-baking logic that this PR updates.
  • trycua/cua#1556: Touches the same Windows installer baked version logic in libs/cua-driver/scripts/install.ps1.

Poem

🐰 A version bump hops through the scripts,
From point three-three to point three-four,
Both Bash and PowerShell scripts grip
The same release tag evermore. 🚀

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bake-cua-driver-rs-0.3.4

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.

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.

1 participant