Interesting; the challenge there will be that if your Compute service code relies on data from a Config Store/KV Store/Secret Store/etc. in order to construct backend requests, you won’t be able to run that code the same way as you would normally.
I’m curious to learn how mocking the backend responses in the same process vs. mocking them in an external process would be functionally different (other than needing to manage the external process of course). Since the platform itself manipulates the content of responses before handing to them to Compute service code, I’d think it would be better to allow the normal platform behavior to occur ‘on top’ of the mocked response, rather than trying to emulate it.
Do you have a relatively simple example you can share of what you are doing in Node, and what would be different (or not possible) if that was done in Viceroy+Node?