Skip to content
This repository was archived by the owner on May 22, 2020. It is now read-only.

Conversation

@whyn07m3
Copy link
Collaborator

@whyn07m3 whyn07m3 commented Aug 8, 2018

There is some weirdness happening with the runtime when it's launched from Node and its standard out is not ignored or handled. This fixes it. We had something similar with our test runner and we implemented the same fix and it's been working great for years.

⚠️ This is the likely explanation for why we are seeing issues:
Runtime's standard out attaches to RVM's standard out and we are getting both RVM's and Runtime's standard out messages (✅This is true and confirmed).
If we don't ignore all these messages or handle them to clear the buffer, the buffer get backed up and slows everything down. The default buffer size is 200KB (documented for .exec and other Node APIs, but not for .spawn, that we use here, and I seem to not be able to change the size to verify if that would solve the issue as well), it's mentioned here.

@rdepena rdepena merged commit 7d35fa9 into HadoukenIO:develop Aug 9, 2018
@whyn07m3 whyn07m3 deleted the RUN-4357_createFromManifest_fix branch August 13, 2018 12:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants