Skip to content

chore: upgrade wasmtime v28 to v43, switch CI to cargo-deny#66

Merged
ndreno merged 2 commits intomainfrom
chore/wasmtime-upgrade
Apr 14, 2026
Merged

chore: upgrade wasmtime v28 to v43, switch CI to cargo-deny#66
ndreno merged 2 commits intomainfrom
chore/wasmtime-upgrade

Conversation

@ndreno
Copy link
Copy Markdown
Contributor

@ndreno ndreno commented Apr 14, 2026

Summary

  • Upgrade wasmtime from 28.0.1 to 43.0.1 — resolves 18 security advisories (16 wasmtime vulnerabilities + 3 unmaintained transitive deps no longer pulled in)
  • Switch CI security audit from cargo-audit (with continue-on-error: true) to cargo deny check advisories — audit now blocks on real issues
  • Add deny.toml with ignore list for 2 remaining advisories (rustls-pemfile unmaintained, rustls-webpki CRL bug pinned by async-nats)
  • Remove obsolete .cargo/audit.toml

Only 3 lines of code changed (ResourceLimiter return type + deprecated config removal). The wasmtime API was remarkably stable across 15 major versions.

Test plan

  • cargo fmt --all — clean
  • cargo clippy --lib --bins — zero warnings
  • cargo test --workspace — 506 tests pass, 0 failures
  • cargo deny check advisories — passes (2 ignored, down from 20)
  • CI: Security Audit job passes with cargo-deny
  • CI: Integration tests pass (WASM plugins execute correctly with wasmtime v43)
  • CI: Plugin tests pass (all 27 plugins compile and run against new runtime)

ndreno added 2 commits April 14, 2026 09:27
Upgrade wasmtime from 28.0.1 to 43.0.1, resolving 18 security
advisories (16 wasmtime vulnerabilities + 3 unmaintained transitive deps
that are no longer pulled in).

Code changes:
- ResourceLimiter trait: return type changed from anyhow::Result<bool>
  to Result<bool, wasmtime::Error> (instance.rs, limits.rs)
- Remove deprecated Config::async_support(false) call (engine.rs)
- Drop unused "async" feature flag from wasmtime dependency

CI changes:
- Replace cargo-audit with cargo-deny for advisory checking
- Remove continue-on-error — audit now blocks on real issues
- Add deny.toml with ignore list for 2 remaining advisories:
  - RUSTSEC-2025-0134: rustls-pemfile unmaintained (transitive, no upgrade)
  - RUSTSEC-2026-0049: rustls-webpki CRL bug (pinned by async-nats)
- Remove obsolete .cargo/audit.toml

All 506 workspace tests pass. Zero clippy warnings.
@ndreno ndreno merged commit 8cba778 into main Apr 14, 2026
12 checks passed
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