Open getlarge opened 1 week ago
After considering it, this could more easily work if e2e tasks are run inside your own executor, where you can control the complete execution flow (e2e + env setup). This way, you can ensure that the server will be closed whenever the task is completed or failed.
This idea of an e2e task wrapper could also help with task distribution...
ATM the cleanup is not fully there. The idea would be to handle those errors in the setup executor directly inc the cleanup on error. Verdaccio is started in there too.
While improving the whole e2e experience, we might as well avoid leaving hundreds of undesired processes on the user's machine.