Stream: git-wasmtime

Topic: wasmtime / PR #11777 CI: Add SDE (emulator) to CI


view this post on Zulip Wasmtime GitHub notifications bot (Oct 01 2025 at 23:50):

rahulchaphalkar opened PR #11777 from rahulchaphalkar:sde-emulator-pr to bytecodealliance:main:

Adds Intel SDE to the CI in preparation of testing new instructions like APX, which are not available in QEMU.
SDE only tests wasmtime-tools for now, via crate field in config.
Have disabled sharding when crate field is present, assumption for now is this would only list few crates (1 in this case).
Uses following action to setup SDE - https://github.com/petarpetrovt/setup-sde

SDE Tests get triggered with a prtest:sde commit message, similar to some other components.

The env variables like WASMTIME_TEST_NO_SDE are introduced (similar to Qemu) to provide a clean way to disable any tests that are problematic, but are not being used right now. Can remove them if needed.

@jlb6740 @abrown

view this post on Zulip Wasmtime GitHub notifications bot (Oct 01 2025 at 23:50):

rahulchaphalkar requested pchickey for a review on PR #11777.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 01 2025 at 23:50):

rahulchaphalkar requested wasmtime-default-reviewers for a review on PR #11777.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 02 2025 at 14:32):

alexcrichton created PR review comment:

For this we have enough concurrency that it's ok to omit this. Basically it's fine to run by default on CI, and I'm at least personally otherwise wary of not running it by default as it means it would likely bitrot pretty quickly.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 02 2025 at 14:32):

alexcrichton submitted PR review:

Thanks! One thing this might be useful for is the avx512 lowerings which probably aren't tested much on CI right now. Could you confirm that our avx512 runtests are running in the SDE?

view this post on Zulip Wasmtime GitHub notifications bot (Oct 02 2025 at 14:32):

alexcrichton created PR review comment:

Does this do much more than a curl + tar command? If so could this be manually done instead of using a 3rd-party action?

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2025 at 18:17):

rahulchaphalkar commented on PR #11777:

Thanks! One thing this might be useful for is the avx512 lowerings which probably aren't tested much on CI right now. Could you confirm that our avx512 runtests are running in the SDE?

@alexcrichton I was looking into this to have a definite answer, and here's where I am thus far -

With SDE -

I also checked this with the python script that CI uses to kick things off, ./ci/run-tests.py with and without SDE.
To summarize, I do think AVX512 tests from runtests are being run, and the results match with and without SDE, but I am not sure if AVX512 instructions are being generated or not (doesn't look like it) for either case.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2025 at 18:23):

alexcrichton commented on PR #11777:

Thanks for investigating! That matches what my rough expectations would be, so I think it's safe to conclude "yep working as intended"

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2025 at 18:55):

rahulchaphalkar updated PR #11777.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2025 at 19:01):

rahulchaphalkar submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2025 at 19:01):

rahulchaphalkar created PR review comment:

Done, doing it manually similar to qemu now.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2025 at 19:01):

rahulchaphalkar submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2025 at 19:01):

rahulchaphalkar created PR review comment:

Sure, removed it, now sde tests should run with full ci run

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2025 at 19:02):

rahulchaphalkar edited PR #11777:

Adds Intel SDE to the CI in preparation of testing new instructions like APX, which are not available in QEMU.
SDE only tests wasmtime-tools for now, via crate field in config.
Have disabled sharding when crate field is present, assumption for now is this would only list few crates (1 in this case).
Uses following action to setup SDE - https://github.com/petarpetrovt/setup-sde

SDE Tests get triggered with a prtest:sde commit message, similar to some other components.

The env variables like WASMTIME_TEST_NO_SDE are introduced (similar to Qemu) to provide a clean way to disable any tests that are problematic, but are not being used right now. Can remove them if needed.

@jlb6740 @abrown
Edit -
Based off feedback below, SDE tests now run with a full CI run as well, previously they were filtered out and only ran for prtest:sde. Now they run for prtest:sde as well as prtest:full.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2025 at 19:18):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2025 at 19:41):

alexcrichton merged PR #11777.


Last updated: Dec 06 2025 at 06:05 UTC