Skip to content

test: componentize py coop threading - #2350

Merged
vados-cosmonic merged 3 commits into
bytecodealliance:mainfrom
vados-cosmonic:test/componentize-py-coop-threading
Oct 29, 2026
Merged

vados-cosmonic merged 3 commits into
bytecodealliance:mainfrom
vados-cosmonic:test/componentize-py-coop-threading

Conversation

@vados-cosmonic

Copy link
Copy Markdown
Collaborator

No description provided.

Give realloc fresh context slots and restore the caller context on return or failure. This prevents the wasi-libc allocation hook from overwriting Python thread-local state.

Cover both context slots with synchronous and suspending host calls, including minified output and repeated calls.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
Adapt the upstream componentize-py multithreading example and add lock, condition, and thread-local barrier cases. Run each case twice with a subprocess deadline.

Pin the threading-capable componentize-py PR revision, document setup, and cache the source-built tool in extended CI.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
The WASI SDK action exports CC and CXX for WebAssembly, breaking native

Cargo dependencies such as aws-lc-sys. Clear those compiler overrides and

WASI_SDK_VERSION so the pinned upstream build chooses its matching SDK.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
@vados-cosmonic
vados-cosmonic added this pull request to the merge queue Oct 29, 2026
Merged via the queue into bytecodealliance:main with commit d1986e3 Oct 29, 2026
66 checks passed
@vados-cosmonic
vados-cosmonic deleted the test/componentize-py-coop-threading branch October 29, 2026 16:13
@jco-release-bot

jco-release-bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

🎉 The code in this PR was made available in the following release:
https://github.com/bytecodealliance/jco/releases/tag/js-component-bindgen-v2.18.0

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.

2 participants