Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[process] Mark as killed when process errors out #4612

Closed
wants to merge 1 commit into from

Conversation

paul-marechal
Copy link
Member

Removes some unhandled errors from the tests because we used to not mark
processes that errored as killed.

Also renamed a potential name collision with the global process name.

Signed-off-by: Paul Maréchal [email protected]


Tried to investigate based on #4556 (comment)

I still think that the code shouldn't fail the way it is written, but maybe I am overlooking something.
Meanwhile, one of the culprits could be the name collision with process, on which output is indeed undefined...

This commit also fix the errors like: https://travis-ci.org/theia-ide/theia/jobs/508469621#L2568

Removes some unhandled errors from the tests because we used to not mark
processes that errored as `killed`.

Also renamed a potential name collision with the global `process` name.

Signed-off-by: Paul Maréchal <[email protected]>
@paul-marechal
Copy link
Member Author

Might merge this with my other PR to change processes, might be easier to fix the build failing now.

@jankeromnes
Copy link
Member

jankeromnes commented Mar 21, 2019

Might merge this with my other PR to change processes, might be easier to fix the build failing now.

@marechal-p I suspect you mean #4586

Will that also fix the test failures in #4556? If so, thanks!

@paul-marechal
Copy link
Member Author

Will that also fix the test failures in #4556? If so, thanks!

TBF no idea, it should improve things, but the failure in your PR is confusing me, as I can't understand in which case the fields will be undefined, yet it seems to be happening, but not always...

Maybe you can just amend your commit without modifications and push back to re-trigger the CI?

@marcdumais-work marcdumais-work deleted the mp/process-error branch May 21, 2019 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants