deps: bump wasm-encoder to 0.257.1 - #1754
Merged
Merged
Conversation
Update only the direct capsule-test dependency. Cargo keeps separate 0.257.1 and 0.256 branches because wit-component 0.256 remains tied to encoder 0.256, while Wasmtime retains 0.252. Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.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.
Linked Issue
Closes #1732
Summary
Upgrade the direct capsule-test
wasm-encoderdependency from 0.256 to 0.257.1 as an individual successor to grouped Dependabot PR #1709. The refresh shares the already-landed 0.257.1 WIT tool family while keeping direct WAT on 1.256 and Wasmtime 48.0.1 on its private 0.254 family.Changes
wasm-encoderrequirement from 0.256 to 0.257.1.astrid-capsuleencoder edge to the existing 0.257.1 node.wasmparser,wit-component, andwit-parserat their already-landed 0.257.1 versions.changes/1732.changed.md.Upstream Audit
Upstream
wasm-encoder0.257.1 corresponds to wasm-tools v1.257.1. The source delta updatesReencodeandReencodeComponentrange and offset handling for widenedu64parser ranges, asserts component re-encoding begins at parser offset zero, and adjusts a documentation example. Astrid uses directComponentandModulebuilders for test fixtures rather than the re-encoding APIs, so no call-site adaptation is required.The current dependency graph is intentional:
wasm-encoder 0.257.1: shared by directastrid-capsuletests and the landed WIT 0.257.1 family.wasm-encoder 0.256.0: retained through WAT 1.256 / wast 256 pending PR build(deps): pin wat to 1.257.1 #1753.wasm-encoder 0.254.0: retained privately by Wasmtime 48.0.1.Verification
At refreshed exact head
9b908ac3f887f1f7b2e1904c927052b9464c46d1against main2fa81750991e8345db0bdc58f56638c7e748a309:cargo check -p astrid-capsule --all-features --offlinepassed.cargo test -p astrid-capsule compiled_artifact_cache_tests --offline -- --quiet— 5 passed.cargo test -p astrid-capsule prescan_ --offline -- --quiet— 13 passed.cargo fmt --all -- --checkpassed.git diff --checkand current-main diff checks passed.Cargo.toml,Cargo.lock, andchanges/1732.changed.md.tempfile 3.27.0 -> getrandom 0.3.4.3d84669763ba8e463c7cc7ce4364fc8fbf4c783cand2fa81750991e8345db0bdc58f56638c7e748a309; resulting tree is011e61f37d1bf94b33c97d44acc60f5b23143279.The original isolated head also passed the full capsule library, focused Clippy, wasm portability, and exact-head PR suite; fresh CI is required for this integrated head.
Residuals
9b908ac3f887f1f7b2e1904c927052b9464c46d1with no findings.AI / Tool Assistance
Assisted-by: Codex:GLM-5.3 Flash Max
Assisted-by: Codex:gpt-5.6-sol
Tool assistance covered the direct dependency change, upstream and consumer-boundary review, lock reconciliation, graph audit, and verification. The final diff, signatures, and evidence were reviewed before publishing.
Checklist
changes/{issue}.{kind}.mdSigned-off-bytrailer.