-
Notifications
You must be signed in to change notification settings - Fork 66
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
Didn't exit non-zero when it failed #36
Comments
Perhaps it's a bug in I sanity checked:
if you run that (e.g. |
Doesn't look like a bug with e.g. I don't think It might be best to put a try/catch inside and return |
We could fix this particular problem by just printing the error and then doing I think there’s a lack of consistency with this behavior in Node.js depending on whether or not you have anything in the event queue. The proper fix is for Node.js to throw on unhandled rejections, which will eventually be the default behavior. |
I have encountered some variation of this problem as well I see following:
And then node runs out of memory and crashes, but action still appears successful. |
Seeing this on my build as well
Action ref, https://github.com/meetup/graphql-joda-types/runs/5699144900 |
Unfortunately, I can't find the run now but what happened was:
NPM_AUTH_TOKEN
merge-release
failed the build and I get a red X on the PR.merge-release
succeeded and I got the green checkmark on the PR.So, things like this clearly carries the exit code back out to
entrypoint.sh
.But I think the
exec()
call does :(The text was updated successfully, but these errors were encountered: