Stream: ComponentizeJS

Topic: running StarlingMonkey smoke.js example


view this post on Zulip Ramon Klass (Mar 22 2024 at 02:12):

I can't replicate the example, I have built starling.wasm and componentized smoke.js and run it with wasmtime serve but every time I try to request /, wasmtime says error: hyper::Error(User(Service), guest never invoked response-outparam::set method) 10 times

view this post on Zulip Ramon Klass (Mar 22 2024 at 13:04):

ok I've compiled the last few commits, @Guy Bedford the last commit to StarlingMonkey broke the http server implementation, unfortunately it is the huge change that updates wasi:http, so it's not exactly easy to pinpoint where exactly it broke

view this post on Zulip Ramon Klass (Mar 22 2024 at 13:26):

I left a ticket since my C++ knowledge is from when C++9x was a topic, I'd love to help but need time to understand the code :D

view this post on Zulip Till Schneidereit (Mar 25 2024 at 14:13):

thank you for opening that issue, Ramon! I'm investigating and will update there once I've figured out what's wrong

view this post on Zulip Guy Bedford (Mar 25 2024 at 18:34):

I've pushed up a fix for this in https://github.com/fermyon/StarlingMonkey/pull/17

This fixes the component type generation from #12 which caused the smoke test regression. Resolves #16.

view this post on Zulip Ramon Klass (Mar 25 2024 at 18:34):

I'll test it as soon as I can, thanks :)

view this post on Zulip Till Schneidereit (Mar 25 2024 at 19:11):

thank you Guy! I just merged the PR

view this post on Zulip Ralph (Mar 25 2024 at 20:51):

lovely


Last updated: Dec 23 2024 at 12:05 UTC