Skip to content

fix(release): keep client/src-tauri/Cargo.lock in sync on version bumps#6574

Merged
matthewevans merged 1 commit into
mainfrom
ship/release-sync-tauri-lockfile
Jul 23, 2026
Merged

fix(release): keep client/src-tauri/Cargo.lock in sync on version bumps#6574
matthewevans merged 1 commit into
mainfrom
ship/release-sync-tauri-lockfile

Conversation

@matthewevans

Copy link
Copy Markdown
Member

client/src-tauri is its own cargo workspace with its own Cargo.lock, so
the existing pre-release-replacement that bumps its Cargo.toml left the
lock pinning the previous version. The Tauri CI job builds with
cargo check --locked, which then refuses to update the lock and fails;
because tauri-check is a needs: of the required "Rust (fmt, clippy,
test, coverage-gate)" aggregator, that reds main and every merge-group
ref built on the release commit. v0.35.2 shipped exactly that way and
deadlocked the merge queue (fix landed in #6568).

Verified with cargo release 0.36.0 --workspace in dry-run: the new
replacement rewrites only the phase-tauri package's version line.

The newline is kept inside a capture group rather than in the
replacement string: the regex crate expands only ${1}-style references
in a replacement, so a literal \n there would be inserted verbatim and
splice the two lines together.

client/src-tauri is its own cargo workspace with its own Cargo.lock, so
the existing pre-release-replacement that bumps its Cargo.toml left the
lock pinning the previous version. The Tauri CI job builds with
`cargo check --locked`, which then refuses to update the lock and fails;
because tauri-check is a `needs:` of the required "Rust (fmt, clippy,
test, coverage-gate)" aggregator, that reds main and every merge-group
ref built on the release commit. v0.35.2 shipped exactly that way and
deadlocked the merge queue (fix landed in #6568).

Verified with `cargo release 0.36.0 --workspace` in dry-run: the new
replacement rewrites only the phase-tauri package's version line.

The newline is kept inside a capture group rather than in the
replacement string: the regex crate expands only ${1}-style references
in a replacement, so a literal \n there would be inserted verbatim and
splice the two lines together.
@matthewevans
matthewevans enabled auto-merge July 23, 2026 23:00
@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@matthewevans, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 13 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: da115ae8-9801-46e2-8d09-dfa82a34ba65

📥 Commits

Reviewing files that changed from the base of the PR and between cb7d5a2 and 858a525.

📒 Files selected for processing (1)
  • Cargo.toml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ship/release-sync-tauri-lockfile

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

@matthewevans
matthewevans disabled auto-merge July 23, 2026 23:03
@matthewevans
matthewevans merged commit 6a3d080 into main Jul 23, 2026
13 checks passed
@matthewevans
matthewevans deleted the ship/release-sync-tauri-lockfile branch July 23, 2026 23:03
jsdevninja pushed a commit to jsdevninja/phase that referenced this pull request Jul 24, 2026
…ps (phase-rs#6574)

client/src-tauri is its own cargo workspace with its own Cargo.lock, so
the existing pre-release-replacement that bumps its Cargo.toml left the
lock pinning the previous version. The Tauri CI job builds with
`cargo check --locked`, which then refuses to update the lock and fails;
because tauri-check is a `needs:` of the required "Rust (fmt, clippy,
test, coverage-gate)" aggregator, that reds main and every merge-group
ref built on the release commit. v0.35.2 shipped exactly that way and
deadlocked the merge queue (fix landed in phase-rs#6568).

Verified with `cargo release 0.36.0 --workspace` in dry-run: the new
replacement rewrites only the phase-tauri package's version line.

The newline is kept inside a capture group rather than in the
replacement string: the regex crate expands only ${1}-style references
in a replacement, so a literal \n there would be inserted verbatim and
splice the two lines together.

Co-authored-by: matthewevans <matthewevans@users.noreply.github.com>
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