#4711·WasmEdge

feat: Component Model: executor implementation tracking issue

Author: q82419Created Mar 13, 2026Updated Sep 23, 2026
LabelsenhancementWASM-ComponentModel

Summary

This issue tracks the implementation and testing status of executor, includes the instantiation in component-model proposal.

Details

TBD: support execution implementation status in the spec test

Refer to the parent issue #4236 for the instantiation and execution implementation status for every sections.

  1. Task issue base on Section or more detailed structure.
  2. List the required spec test entries in that issue to pass.
  3. For the PR, modify the boolean of validation phase about the required spec tests in ComponentModelFolders map to true in the test/spec/spectest.cpp.
  4. Run the component model spec test and pass to prove your implementation.
  5. For the trap messages not reasonable in the spec test suite, it's fine to standardize them and update on the wasmedge-spectest repo.

The passing status of spec tests in WasmEdge-spectest repo (base on PR #5170):

The upstream component-model repo replaced the test/wasm-tools folder with the binary, validation, resources, linking, async, and values folders. The table lists the suites that cover the instantiation or execution phases; see #4236 for the loading and validation phases.

✅ Pass · — Not covered by this suite · ❌ Fail

Test Name instantiate, module_define invokation
component-model-binary (test/binary)
└ binary.wast ✅ —
component-model-validation (test/validation)
└ abi.wast ✅ —
└ annotated-names.wast ✅ —
└ defined-types.wast ✅ —
└ indicies.wast ✅ —
└ instantiation.wast ✅ —
└ kebab.wast ✅ —
└ resources.wast ✅ —
component-model-resources (test/resources)
└ borrows.wast ✅ ✅
└ handle-table.wast ✅ ✅
└ multiple-resources.wast ✅ ✅
component-model-linking (test/linking)
└ link-time-virtualization.wast ✅ ✅
└ shared-everything-dynamic-linking.wast ✅ ✅
└ tags.wast ✅ ✅
└ unit.wast ✅ ✅
component-model-async (test/async)
└ async-calls-sync.wast ✅ ✅
└ big-interleaving-test.wast ✅ ✅
└ builtin-trap-poisons-instance.wast ✅ ✅
└ cancel-stream.wast ✅ ✅
└ cancel-subtask.wast ✅ ✅
└ cancellable.wast ✅ ✅
└ closed-stream.wast ✅ ✅
└ cross-abi-calls.wast ✅ ✅
└ cross-task-future.wast ✅ ✅
└ deadlock.wast ✅ ✅
└ dont-block-start.wast ✅ —
└ drop-cross-task-borrow.wast ✅ ✅
└ drop-stream.wast ✅ ✅
└ drop-subtask.wast ✅ ✅
└ drop-waitable-set.wast ✅ ✅
└ during-sync-call-may-block-if-other-ready-threads.wast ✅ ❌ ¹
└ during-sync-call-no-exclusive-resume.wast ✅ ❌ ¹
└ during-sync-call-no-sibling-resume.wast ✅ ❌ ¹
└ empty-wait.wast ✅ ✅
└ futures-must-write.wast ✅ ✅
└ partial-stream-copies.wast ✅ ✅
└ passing-resources.wast ✅ ✅
└ same-component-stream-future.wast ✅ ✅
└ sync-barges-in.wast ✅ ✅
└ sync-streams.wast ✅ ✅
└ trap-if-block-and-sync.wast ✅ ✅
└ trap-if-done.wast ✅ ✅
└ trap-if-sync-and-waitable-set.wast ✅ ✅
└ trap-if-transfer-in-waitable-set.wast ✅ ✅
└ trap-on-reenter.wast ✅ ✅
└ wait-during-callback.wast ✅ ✅
└ zero-length.wast ✅ ✅
component-model-values (test/values)
└ alignment.wast ✅ ✅
└ concat.wast ✅ ✅
└ numerics.wast ✅ ✅
└ post-return.wast ✅ ✅
└ realloc.wast ✅ ✅
└ strings.wast ✅ ✅
└ transcode.wast ✅ ✅
└ variants.wast ✅ ✅

¹ Listed in the upstream test/nyi.txt: no engine implements these yet. They need a spawned thread to stay alive across two separate host calls, which the teardown at the outermost embedder invoke does not support.

Appendix

No response