feat(host-wasm): add @parity/truapi-host-wasm runtime#252
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This was referenced Jun 30, 2026
1c8334a to
691b822
Compare
b137a87 to
23b8487
Compare
691b822 to
a9e4a7a
Compare
23b8487 to
1a3f7b8
Compare
fe9d731 to
7e60390
Compare
1a3f7b8 to
4d25aec
Compare
Adds the canonical testing module (api/testing.rs) and its v01/v02/versioned wiring used by the Rust host runtime and generated clients.
4d25aec to
ee1a104
Compare
2dc7094 to
e31bd39
Compare
36356d0 to
f71e58a
Compare
e31bd39 to
2cc45b1
Compare
Base automatically changed from
rust-core/04-codegen
to
rust-core/03-server-runtime
July 1, 2026 08:14
71a3f71 to
195a6b7
Compare
f71e58a to
1aa779b
Compare
This was referenced Jul 1, 2026
79ffd50 to
e895f87
Compare
195a6b7 to
538cb2e
Compare
…dge-codegen # Conflicts: # rust/crates/truapi-codegen/tests/golden/host-callbacks-adapter.ts # rust/crates/truapi-codegen/tests/golden/host-callbacks.ts # rust/crates/truapi-codegen/tests/golden/worker-callbacks.ts # rust/crates/truapi-codegen/tests/golden_rust_emit.rs # rust/crates/truapi-server/src/lib.rs
Add wasm32 CI and make check coverage, avoid leaking signer callbacks, and reject compound codec callback boundaries during codegen.
Propagate host subscription stream failures to the WASM runtime, guard worker callback panics, and tighten iframe MessagePort origin handoff semantics. Also refresh the generated callback bridge and sandbox tests so the host runtime behavior is covered.
TarikGul
approved these changes
Jul 10, 2026
TarikGul
left a comment
Member
There was a problem hiding this comment.
Verified the fixes I sent you, good to go 🚀 ,
Just have some Ci errors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates
@parity/truapi-hostto consume the generated namespaced host callback surface.The package re-exports the generated callback API, accepts
RequiredHostCallbacks, and adapts auth/preimage/chain tests to the generated encoded bridge payloads.Stack
Part of the Rust core runtime port umbrella #104. Full port sequence:
truapitesting API and versioned wiring.truapi-platformhost capability traits.@parity/truapi-host-wasmnamespaced callback consumer. This PR.Active child #253 is kept tree-equivalent with umbrella #104.
Validation
cd js/packages/truapi-host-wasm && npm run build && npm test