Skip to content

fix(deps): update Wasmtime and replace yanked crypto-bigint - #2942

Merged
chaliy merged 1 commit into
mainfrom
maintenance/rust-dependencies-2026-11-18
Nov 18, 2026
Merged

chaliy merged 1 commit into
mainfrom
maintenance/rust-dependencies-2026-11-18

Conversation

@chaliy

@chaliy chaliy commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What changed

  • Upgrade Wasmtime to 49.0.6 in the embedded CPython, fuzz, and Hyperlight graphs. Keep the exact pin for the precompiled CPython artifact.
  • Replace yanked crypto-bigint 0.7.6 with 0.7.11 and ctutils 0.4.8 in the optional SSH dependency graph.
  • Drop Bashkit's unused direct ryu and oxc_syntax declarations. The Oxc parser still supplies oxc_syntax.

Why

Wasmtime 49.0.6 includes the November security fixes and supports the Rust 1.96 consumer minimum. The refreshed SSH graph resolves a published, non-yanked crypto-bigint release.

Before / After

  • The baseline lockfile contained crypto-bigint 0.7.6. The updated lockfile resolves 0.7.11.
  • All five embedded CPython artifact tests passed on Rust 1.96 with Wasmtime 49.0.6, including module load and entrypoint export.
  • The updated graph passes cargo-vet and the license, ban, and source checks. The Wasmtime import refresh includes an object 0.40.0 publisher trust entry limited to its verified release date. The two RustCrypto deltas have local audit records.

Risk

Medium. Wasmtime changes the precompiled module format. The build recompiles the snapshot with the runtime's exact version. The platform and consumer CI matrices exercise the new artifact.

Checklist

  • Tests added or updated
  • Backward compatibility considered

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bashkit 6a8b861 Commit Preview URL

Branch Preview URL
Nov 18 2026, 07:38 PM

@chaliy
chaliy marked this pull request as ready for review November 18, 2026 19:47
@bashkit-pr-reviewer

Copy link
Copy Markdown

Review summary (head 6a8b861c)

Verdict: No blocking issues. This is a routine dependency-maintenance bump, well documented with audits and knowledge updates in the same change. I am posting no inline findings.

What changed (13 files): Wasmtime =48.0.6 → =49.0.6 (root workspace pin, crates/bashkit-cpython-wasm inherits via workspace, examples/hyperlight/host 49.0.6, Cargo.lock + fuzz/Cargo.lock follow); crypto-bigint 0.7.6 (yanked) → 0.7.11 with ctutils floor 0.4.5 → 0.4.8 and object → 0.40.0; supply-chain/audits.toml + imports.lock updated; unused direct deps ryu and oxc_syntax pruned from crates/bashkit/Cargo.toml; knowledge/runtimes/cpython-wasm.md, knowledge/operations/dependencies.md, .github/dependabot.yml, and scripts/tests/test_dependabot_coverage.py comments updated.

What I checked beyond the diff:

  • AGENTS.md rules (knowledge updated in the same change — satisfied) and the touched knowledge pages (dependencies.md trims, cpython-wasm.md rebuild/version notes).
  • Cargo.toml (root): exact pin (=49.0.6) and feature set (runtime,std,pulley,async) unchanged; comment correctly notes Wasmtime 49 supports the Rust 1.96 consumer minimum while 50 needs 1.97.
  • crates/bashkit-cpython-wasm/src/config.rs and build.rs: engine config (Pulley target, fuel, CoW, 1 GiB reservation / 64 KiB guard) untouched, and build.rs recompiles the .cwasm with the same engine, so no stale precompiled artifact and no sandbox-posture change.
  • supply-chain/audits.toml: new crypto-bigint 0.7.6→0.7.11 and ctutils 0.4.5→0.4.8 deltas (safe-to-deploy, importable=false) plus trusted.object scoped to Philip Craig's 0.40.0 release (1-day publication window matching the Bytecode Alliance policy cited in the description).
  • Spot-checked for ryu:: / oxc_syntax:: uses in crates/bashkit/src/lib.rs and interpreter sources (none found); both remain transitively via serde_json / oxc_parser, so pruning the direct declarations is low-risk (a missed use would be a build break, caught by CI).
  • examples/hyperlight/host/Cargo.toml uses caret 49.0.6 while the runtime pin is exact — pre-existing pattern (was caret on 48.x), dev-only example, not a new risk.

Could not review: I did not build or run tests (no cargo in this shell, per workflow); relying on CI for cargo vet, the dependabot-coverage test, and the cpython integration/examples jobs. The diff API response was distilled (55 KiB full output saved server-side), so line-level review was done from the PR snapshot at /workspace/bashkit rather than the raw unified diff — no files were excluded.

@chaliy
chaliy merged commit 298c9a5 into main Nov 18, 2026
58 checks passed
@chaliy
chaliy deleted the maintenance/rust-dependencies-2026-11-18 branch November 18, 2026 20:20
@chaliy chaliy mentioned this pull request Nov 19, 2026
2 tasks done
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.

1 participant