webbdays
deno in rust
While working on some feature.
We have found a bug.
Here is the bug: https://github.com/tailcallhq/tailcall/issues/1570
The codebase is an open source project: tailcallhq/tailcall on github,
codebase is using deno_core for its js runtime to call a given function from the given js script.
Here is the runtime: https://github.com/tailcallhq/tailcall/blob/main/src/cli/javascript/runtime.rs
But when running tests with multiple scripts, we can see old functions in old script executed in runtime persists. which we don't want to happen. unexpected test results.
I am not aware of deno_core much.
Its obvious to use different scope or context or even isolation.
I don't have enough knowledge of how to use the above mentioned.
Any or even the smallest help/guidance is welcomed.
By the way there is a bounty for it: $50
Thank you.
12 replies