Skip to content

fix: pin wasmtime 36.0.6 to match AOT compiler#47

Merged
simongdavies merged 1 commit intomainfrom
fix/pin-wasmtime-36.0.6
Apr 15, 2026
Merged

fix: pin wasmtime 36.0.6 to match AOT compiler#47
simongdavies merged 1 commit intomainfrom
fix/pin-wasmtime-36.0.6

Conversation

@simongdavies
Copy link
Copy Markdown
Member

Problem

The dependabot bump to wasmtime 36.0.7 (commit 7a88a5e, PR #35) caused a version mismatch between the runtime and the AOT compiler:

  • Runtime (hyperlight-wasm-runtime): built from the workspace Cargo.lock → wasmtime 36.0.7
  • AOT compiler (hyperlight-wasm-aot): installed via cargo install --git --rev with its own Cargo.lock → wasmtime 36.0.6

Guest .aot files compiled with 36.0.6 cannot be loaded by a 36.0.7 runtime, causing all WASM sandbox and Python SDK CI jobs to fail with:

Module was compiled with incompatible Wasmtime version '36.0.7'

Fix

  1. Pin wasmtime back to 36.0.6 in Cargo.lock (cargo update wasmtime@36.0.7 --precise 36.0.6)
  2. Exclude wasmtime and wasmtime-* from dependabot auto-bumps — these must be updated in lockstep with the hyperlight-wasm dependency

Root cause

The AOT compiler is installed from a pinned git rev of hyperlight-wasm, which resolves its own dependencies independently of the workspace Cargo.lock. Any wasmtime patch bump in the workspace creates a version mismatch.

@simongdavies simongdavies added the dependencies Pull requests that update a dependency file label Apr 15, 2026
@simongdavies simongdavies force-pushed the fix/pin-wasmtime-36.0.6 branch 2 times, most recently from d1fa628 to 3d6760e Compare April 15, 2026 10:20
The dependabot bump to wasmtime 36.0.7 (commit 7a88a5e) caused a version
mismatch between the runtime (built from workspace Cargo.lock) and the
hyperlight-wasm-aot CLI (installed from a pinned git rev with its own
Cargo.lock at 36.0.6).  Guest .aot files compiled with 36.0.6 cannot be
loaded by a 36.0.7 runtime.

Pin wasmtime back to 36.0.6 and exclude wasmtime/wasmtime-* from
dependabot auto-bumps — these must be updated together with the
hyperlight-wasm dependency.
@simongdavies simongdavies force-pushed the fix/pin-wasmtime-36.0.6 branch from 3d6760e to a7f2278 Compare April 15, 2026 10:53
@simongdavies simongdavies merged commit a32f25d into main Apr 15, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant