Skip to content

feat(tests): update wit-bindgen fixtures to v0.54.0 with WASI version compat#83

Merged
avrabe merged 1 commit intomainfrom
fix/wasi-version-agnostic-tests
Apr 2, 2026
Merged

feat(tests): update wit-bindgen fixtures to v0.54.0 with WASI version compat#83
avrabe merged 1 commit intomainfrom
fix/wasi-version-agnostic-tests

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented Apr 2, 2026

Summary

Previously only 4 fixtures existed (numbers, strings, records, lists) and most tests silently skipped. Now 70 tests run at runtime and 3 run as fuse-only, all passing.

Test plan

  • 73/73 tests pass (70 runtime + 3 fuse-only)
  • All 276 tests across the full suite pass
  • Version-agnostic fallback handles both WASI 0.2.3 and 0.2.6

🤖 Generated with Claude Code

…ion compat

Update all wit-bindgen test fixtures from v0.52.0 to v0.54.0 (48 fixtures).

The new fixtures use WASI 0.2.6 while wasmtime-wasi 41.x binds to 0.2.3.
Add a version-agnostic fallback in run_wasi_component: try the typed
Command API first, then fall back to manual instance/function lookup.

3 resource chain tests (resource_floats, resource_with_lists,
resource-import-and-export) are downgraded to fuse-only until the
handle table wiring is complete (epic #69, #75).

Result: 73/73 tests pass (70 runtime + 3 fuse-only).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit 3fbc953 into main Apr 2, 2026
4 checks passed
@avrabe avrabe deleted the fix/wasi-version-agnostic-tests branch April 2, 2026 01:27
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