Skip to content

deps: bump wasm-encoder to 0.257.1 - #1754

Merged
joshuajbouw merged 2 commits into
mainfrom
codex/deps-wasm-encoder-0.257
Aug 29, 2026
Merged

deps: bump wasm-encoder to 0.257.1#1754
joshuajbouw merged 2 commits into
mainfrom
codex/deps-wasm-encoder-0.257

Conversation

@joshuajbouw

@joshuajbouw joshuajbouw commented Aug 28, 2026

Copy link
Copy Markdown
Member

Linked Issue

Closes #1732

Summary

Upgrade the direct capsule-test wasm-encoder dependency 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

  • Change the direct workspace wasm-encoder requirement from 0.256 to 0.257.1.
  • Rebuild the lockfile from current main and move only the direct astrid-capsule encoder edge to the existing 0.257.1 node.
  • Preserve WAT 1.256 and its encoder 0.256 path for the final individual WAT PR.
  • Preserve Wasmtime 48.0.1 and its private encoder/parser 0.254 family.
  • Keep direct wasmparser, wit-component, and wit-parser at their already-landed 0.257.1 versions.
  • Add changes/1732.changed.md.

Upstream Audit

Upstream wasm-encoder 0.257.1 corresponds to wasm-tools v1.257.1. The source delta updates Reencode and ReencodeComponent range and offset handling for widened u64 parser ranges, asserts component re-encoding begins at parser offset zero, and adjusts a documentation example. Astrid uses direct Component and Module builders 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 direct astrid-capsule tests 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 9b908ac3f887f1f7b2e1904c927052b9464c46d1 against main 2fa81750991e8345db0bdc58f56638c7e748a309:

  • cargo check -p astrid-capsule --all-features --offline passed.
  • 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 -- --check passed.
  • git diff --check and current-main diff checks passed.
  • The current-main diff is exactly Cargo.toml, Cargo.lock, and changes/1732.changed.md.
  • Lock audit confirms only the direct encoder edge changes and preserves tempfile 3.27.0 -> getrandom 0.3.4.
  • The signed/DCO integration commit has parents 3d84669763ba8e463c7cc7ce4364fc8fbf4c783c and 2fa81750991e8345db0bdc58f56638c7e748a309; resulting tree is 011e61f37d1bf94b33c97d44acc60f5b23143279.

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

  • Exact-head CI completed successfully (34/34 checks), and independent review accepted 9b908ac3f887f1f7b2e1904c927052b9464c46d1 with no findings.
  • Full-workspace tests and Clippy were not repeated locally; CI owns those gates.
  • The remaining WAT convergence is intentionally deferred to PR build(deps): pin wat to 1.257.1 #1753.

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

  • Linked to an issue
  • Changelog fragment added under changes/{issue}.{kind}.md
  • I understand every change in this PR and can explain its design, risks, and validation.
  • I reviewed and tested any meaningful tool-generated output included in this PR.
  • Every non-bot, non-merge commit has a matching Signed-off-by trailer.

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>
Copilot AI balanced review requested due to automatic review settings August 28, 2026 15:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
@joshuajbouw
joshuajbouw marked this pull request as ready for review August 29, 2026 05:33
@joshuajbouw
joshuajbouw merged commit 768a51d into main Aug 29, 2026
48 checks passed
@joshuajbouw joshuajbouw mentioned this pull request Aug 29, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade wasm-encoder to 0.257.1 with fixture compatibility evidence

2 participants