Repository navigation
wasmer 7.5 upgrade in experimental executor - #93
Merged
Merged
Conversation
There was a problem hiding this comment.
🔵 Needs a closer look
The consensus-sensitive runtime dependency upgrade and metering changes warrant final human validation.
0 open findings
What changed in this PR
Upgrades the experimental executor to Wasmer 7.5 and adds consistent WASM-local limits and metering.
Changes:
- Updates Wasmer dependencies and middleware lifetime APIs.
- Enforces a shared 4,000-local function limit.
- Adds boundary tests for both executors.
| File | Description |
|---|---|
vm-executor/src/service_error.rs |
Removes unnecessary formatting borrow. |
vm-executor/src/missing_wasm.rs |
Removes unnecessary formatting borrow. |
vm-executor/src/lib.rs |
Exports the shared locals limit. |
vm-executor/src/compilation_options.rs |
Defines the shared locals limit. |
vm-executor/src/breakpoint_value.rs |
Fixes documentation whitespace. |
vm-executor-wasmer/tests/locals_test.rs |
Tests production executor local limits. |
vm-executor-wasmer/src/wasmer_metering.rs |
Uses the shared locals limit. |
vm-executor-experimental/tests/locals_test.rs |
Tests experimental executor local limits. |
vm-executor-experimental/src/middlewares/we_protected_globals.rs |
Adapts middleware lifetimes. |
vm-executor-experimental/src/middlewares/we_opcode_trace.rs |
Adapts middleware lifetimes. |
vm-executor-experimental/src/middlewares/we_opcode_control.rs |
Adapts middleware lifetimes. |
vm-executor-experimental/src/middlewares/we_metering.rs |
Adds local validation and metering support. |
vm-executor-experimental/src/middlewares/we_breakpoints.rs |
Adapts middleware lifetimes. |
vm-executor-experimental/Cargo.toml |
Upgrades Wasmer dependencies to 7.5. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrades the experimental executor to Wasmer 7.5 and adds consistent WASM-local limits and metering.
Changes: