Skip to content

chore(deps): bump wasmtime + wasmtime-wasi to 47.0.2 together - #451

Merged
InstaZDLL merged 1 commit into
mainfrom
chore/wasmtime-47
Jul 27, 2026
Merged

chore(deps): bump wasmtime + wasmtime-wasi to 47.0.2 together#451
InstaZDLL merged 1 commit into
mainfrom
chore/wasmtime-47

Conversation

@InstaZDLL

@InstaZDLL InstaZDLL commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Supersedes #447 and #448 — closes both.

Why they had to be combined

wasmtime and wasmtime-wasi share a version line. Dependabot opened one PR each, and neither can land alone: with one crate on 47 and the other on 46, wasmtime::component::ResourceTable and wasmtime_wasi::ResourceTable are two different types and the plugin host stops compiling. Both PRs failed CI on exactly that, plus a Linker<_> mismatch from the same split:

error[E0308]: expected `wasmtime_wasi::ResourceTable`, found `wasmtime::component::ResourceTable`
error[E0308]: expected `&mut Linker<_>`, found `&mut Linker<HostCtx>`

Merging either one would have broken main.

What this does

Bumps both to 47.0.2 in one commit, branched from a clean main rather than from either Dependabot branch — those carry their own stale lockfiles and would have re-downgraded unrelated crates.

No source change was needed: 46 → 47 is API-compatible across the surface the plugin host actually uses.

Verification

  • cargo check --workspace --all-targets — clean
  • cargo test --workspace — 357 passed, 0 failed, including plugin_web_radio, which really instantiates a WASM component through the new runtime rather than just compiling against it

(Exit codes checked directly, not inferred from piped output.)

Summary by CodeRabbit

  • Améliorations
    • Mise à jour des composants d’exécution WebAssembly afin d’améliorer la compatibilité et la stabilité de l’application.

Dependabot opened these as two PRs (#447, #448), and neither can land on
its own: the crates share a version line, so bumping one leaves
`wasmtime::component::ResourceTable` and `wasmtime_wasi::ResourceTable`
as two distinct types and the plugin host stops compiling. Both CI runs
failed on exactly that, plus a `Linker<_>` mismatch from the same split.

Bumped together from a clean main (not from either Dependabot branch,
which would drag along their stale lockfiles). No source change was
needed — 46 -> 47 is API-compatible for the surface the plugin host uses.

Verified: `cargo check --workspace --all-targets` and
`cargo test --workspace` (357 tests, incl. the web-radio plugin
integration test that actually instantiates a component) both clean.

Closes #447
Closes #448

Claude-Session: https://claude.ai/code/session_0153GyoLLYHdHHmqqBHqoXYN
@InstaZDLL InstaZDLL added scope: backend Rust/Tauri backend (src-tauri/) scope: deps Dependencies type: chore Maintenance size: l 200-500 lines labels Jul 27, 2026
@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: bd13fa07-825a-4459-9b20-0f8b7e5f60b8

📥 Commits

Reviewing files that changed from the base of the PR and between 5ad7003 and 116dc09.

⛔ Files ignored due to path filters (1)
  • src-tauri/Cargo.lock is excluded by !**/*.lock, !src-tauri/Cargo.lock
📒 Files selected for processing (1)
  • src-tauri/crates/core/Cargo.toml

📝 Walkthrough

Walkthrough

Les dépendances optionnelles wasmtime et wasmtime-wasi de waveflow-core passent de la version 46 à 47, en conservant leurs options de fonctionnalités et leur caractère optionnel.

Changes

Mise à niveau des dépendances Wasmtime

Layer / File(s) Summary
Versions des dépendances WebAssembly
src-tauri/crates/core/Cargo.toml
Les dépendances optionnelles wasmtime et wasmtime-wasi sont mises à jour de la version 46 à 47 sans modification de default-features ni de leur configuration optionnelle.

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

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed Le titre est précis, conforme au format Conventional Commits et reflète bien la mise à niveau conjointe de wasmtime et wasmtime-wasi.
Description check ✅ Passed La description couvre le pourquoi, la modification et la validation, mais ne suit pas le modèle du dépôt avec les sections et listes demandées.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/wasmtime-47

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

@InstaZDLL
InstaZDLL merged commit dd722be into main Jul 27, 2026
14 checks passed
@InstaZDLL
InstaZDLL deleted the chore/wasmtime-47 branch July 27, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: backend Rust/Tauri backend (src-tauri/) scope: deps Dependencies size: l 200-500 lines type: chore Maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant