Skip to content

fix(deps): revert @tauri-apps npm minors to the crate-aligned set that built v3.6.0 - #289

Merged
equationalapplications merged 1 commit into
mainfrom
fix/tauri-npm-minor-alignment
Oct 18, 2026
Merged

equationalapplications merged 1 commit into
mainfrom
fix/tauri-npm-minor-alignment

Conversation

@equationalapplications

Copy link
Copy Markdown
Owner

Problem

Both tag builds since Dependabot #281 merged (2026-10-18 03:15Z) fail at tauri build:

Found version mismatched Tauri packages...
tauri (v2.11.1) : @tauri-apps/api (v2.12.0)
tauri-plugin-dialog (v2.7.1) : @tauri-apps/plugin-dialog (v2.8.0)
tauri-plugin-shell (v2.3.5) : @tauri-apps/plugin-shell (v2.4.0)
tauri-plugin-notification (v2.4.0) : @tauri-apps/plugin-notification (v2.5.0)
  • v3.7.0 build (run 39142261007): failure, zero assets
  • v3.8.0 build (run 39169196832): failure, zero assets — the v3.8.0 release page has no .deb; the installed dpkg is still 3.6.0.

The @tauri-apps/cli 2.12 bump introduced the strict npm↔crate minor-alignment check; the Rust crates were not bumped to match.

Fix

Revert the six @tauri-apps/* entries (incl. plugin-opener and cli) to exactly the values of the last green tag build (v3.6.0, run 39078950717), and regenerate the lockfile with pnpm install --lockfile-only.

Why the revert is safe

  • git diff --stat v3.6.0 v3.8.0 -- src/ is empty — the frontend is byte-identical to what v3.6.0 shipped, so it uses none of the new-minor APIs.
  • The Rust side is untouched (tauri and friends unchanged in Cargo.lock between v3.6.0 and v3.8.0).
  • After the revert every flagged pair re-aligns on the minor: api 2.11.1↔tauri 2.11.1, dialog 2.7.3↔2.7.1, shell 2.3.6↔2.3.5, notification 2.4.0↔2.4.0.
  • A coordinated Rust-side bump can ride a later Dependabot round once both sides move together (the npm-only group bump is what landed us here).

Verification

  • pnpm install --lockfile-only clean; lockfile diff confined to the six reverted entries.
  • CI: the tag build's exact failure point is the startup mismatch check, which now sees aligned minors.

…t built v3.6.0

Dependabot PR #281 bumped the @tauri-apps npm side one minor past the Rust
crates (api 2.12.0 vs tauri crate 2.11.1, plugin-dialog 2.8.0 vs 2.7.1,
plugin-shell 2.4.0 vs 2.3.5, plugin-notification 2.5.0 vs 2.4.0) and moved
the CLI to 2.12.0, whose new version-mismatch check fails 'tauri build' at
startup. Both tag builds since then died there — v3.7.0 (run 39142261007)
and v3.8.0 (run 39169196832) shipped ZERO release assets, so the v3.8.0
release page has no .deb and the installed dpkg is still 3.6.0.

The frontend src/ is byte-identical between v3.6.0 and v3.8.0 (verified:
git diff --stat v3.6.0 v3.8.0 -- src/ is empty), so the app needs none of
the new minors. This restores exactly the dependency state of the last
green tag build (v3.6.0, run 39078950717); the lockfile diff is confined
to the six @tauri-apps entries. A coordinated Rust-side bump can ride a
later Dependabot round once both sides move together.
@coderabbitai

coderabbitai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: c5af0cef-dde7-4130-a713-0e2602936064
📥 Commits

Reviewing files that changed from the base of the PR and between 280fd6b and 7aaef71.

⛔ Files ignored due to path filters: 1
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing: 1
  • package.json

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

📝 Summary

Summary by CodeRabbit

  • Chores
    • Updated the versions of several Tauri runtime packages and the Tauri CLI.

The Tauri API, dialog, notification, opener, and shell plugin versions changed to earlier versions. The Tauri CLI version also changed to an earlier version.

Changes: Tauri version pins

Layer / File(s) Summary
Update Tauri version pins
package.json
The Tauri API and four plugin versions changed to earlier versions. The Tauri CLI version also changed to an earlier version.

Priority: ➖ Normal

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

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 7aaef

The dependency pins appear aligned with the Rust versions, so no identified issue prevents merging after normal build checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly identifies the dependency revert and the reason for it: restoring the crate-aligned @tauri-apps minor versions.
Description check Passed The description directly explains the Tauri build failures, the dependency mismatch, the six-package revert, and the reported verification results.
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. (1 skipped: 1 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit checks the version list,
Six pins hop back, each neatly placed.
The package leaves no crumb amiss,
Then bounds away at its own pace.
Soft paws tap out a tidy trace.

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

@aws-cloud-agent-pr-review

Copy link
Copy Markdown

ℹ️ No reviewable code changes in this PR

Last run: 2026-10-18 22:17 UTC

@equationalapplications
equationalapplications merged commit 01dcda3 into main Oct 18, 2026
8 checks passed
@equationalapplications
equationalapplications deleted the fix/tauri-npm-minor-alignment branch October 18, 2026 22:19
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 3.8.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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