Repository navigation
chore(deps): update Wasmer to 4b71ca8e2ca - #585
Merged
Merged
Conversation
Move every wasmerio/wasmer.git dependency, including the NAPI patch section, from 135e1dd018e (the head of wasmerio/wasmer#7145) to 4b71ca8e2ca, the current head of codex/sdk-core-integration. That revision merges Wasmer main into the branch, bringing: - wasmerio/wasmer#7148: modules share their binary instead of copying it. This is the change #579 already pinned through #7145, now landed on main; the module code is identical between the two revisions. - wasmerio/wasmer#7149: the web HTTP client reads bodies chunk by chunk into one presized buffer, reserving at most 64 MiB from Content-Length before the body arrives. - fix(wasix): log package cache hits again. wasmer-napi stays at 961566eb, the NAPI commit this Wasmer revision also pins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your Wasmer apps. Learn more about Wasmer for Github.
|
syrusakbary
added a commit
that referenced
this pull request
Nov 7, 2026
Brings main's SDK work (up to ddbd6cd) to the GUI/WebGPU branch: the Wasmer 4b71ca8 and NAPI 961566e pins (#576, #585), module digests hashed once with a caller-supplied SHA-256 and the browser's native digest (#576), worker retirement, kill/timeout/close fixes and guest memory budgets (#578, #579, #581, #582, #583), and one memory-buffer read per wasm-bindgen view check (#559). Conflicts: - Cargo.toml: main's Wasmer and NAPI revisions; this branch's gui (41dac65) and webgpu (c65e1e3) pins. Cargo.lock regenerated from main's, keeping this branch's versions for the gui-only crates. - packages/napi: main's 961566e (a descendant of this branch's 18209d2). - rust/src/process.rs: force_exit closes the process's GUI scope, then kills it and asks the task manager to stop its executors (#556). - rust/src/client.rs: main's progress assertion over per-package events. - js/bindgen/Cargo.toml: keeps the js-webgpu and js-gui features. - js/scripts/check-wasm-size.mjs: raw budget 5.45 MB; the merged artifact is 5.40 MB (5,400,797 bytes), 1.38 MB Brotli. - ci.yml: one comment for both kinds of unpublished Git dependencies. Checked: cargo +1.99.1 test --locked -p wasmer-sdk --all-targets; cargo check --features gui,webgpu --all-targets; js npm run build (size check and tsc) and npm test (65/65). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Moves every
wasmerio/wasmer.gitdependency in the rootCargo.tomlfrom135e1dd018e(the head of wasmerio/wasmer#7145) to4b71ca8e2ca, the head ofcodex/sdk-core-integrationafter Wasmermainwas merged into it. That covers the nine Wasmer crates,wasmer-wasix-types, and thewasmer/wasmer-wasixoverrides in the[patch."…napi.git"]section. InCargo.lock, only the 15 Wasmer git entries change.wasmer-napistays at961566eb, because4b71ca8e2capins the same NAPI commit.What the new revision brings
main. The module code is identical in the two revisions.Content-Lengthbefore the body arrives.fix(wasix): log package cache hits again.Apart from those, the two trees differ only by one Makefile CI target.
Memory
This uses the same harness as #581: a cold load of
wasmer/edgejs, then oneedgerun, on macOS arm64 with Node 26. Values are medians of 3 runs, in MiB; the SDK memory figures were identical across runs.mainThe 78 MB package image first reserves 64 MiB, then regrows once to its full size. Both buffers are live during that copy, which accounts for the 141. #581 quoted 91 MiB for an earlier, uncapped version of the presize change. The cap gives up some of that gain so that an untrusted
Content-Lengthcannot grow memory by itself.Tests (macOS arm64)
cargo +1.99.1 test --locked -p wasmer-sdk --all-targets: pass (44 tests).cargo +1.99.1 test --locked -p wasmer-sdk-uniffi --lib: pass.npm run build: pass. Wasm size is 5.08 MB raw and 1.27 MB Brotli, the same asmain.npm test: 52 tests in 14 groups pass.npm run test:bindgen: 12 tests pass.npm run test:edgejson Node 24 (the CI version): 2 tests pass. On Node 26 the runner exits at startup withbad option: --experimental-wasm-jspi, so that flag needs updating separately.browserType.launchtimes out after a macOS sandbox "Operation not permitted" error, and a bare launch outside the tests also hangs. fix(js): load cached packages without whole-file JavaScript buffers #581 saw the same Firefox CORS timeout onmain.Not run locally: the Swift and Python suites, the UniFFI
bindgen-clibuild, and thewasmer-shexample tests. CI runs these.🤖 Generated with Claude Code