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

feat: correctly handle process.exit calls outside of a task #361

Merged
merged 7 commits into from Jun 28, 2023

Conversation

clayjones-at
Copy link
Contributor

clone of this PR made to help avoid some CI troubles

Attempts to fix #304

@metcoder95
Copy link
Member

The issue is quite interesting, I've tried to isolate it and see what can be done but it works locally at the three different versions it fails but it succeeds on all of them.

I'll give it a try with act to see if I can find a way to isolate them, recommend you give it a try as well 🙂

@clayjones-at
Copy link
Contributor Author

Ok, yeah I will look more seriously into this hopefully at some point this week

@clayjones-at
Copy link
Contributor Author

Pardon the incoming commits, while I fiddle with getting act working I'm trying some things in CI. Not planning on rapid-firing my commits so hopefully that won't cause much/any cost increase

Copy link
Member

@metcoder95 metcoder95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! We can finally merge it! Thanks for the patience 🙇

@metcoder95 metcoder95 changed the title correctly handle process.exit calls outside of a task feat: correctly handle process.exit calls outside of a task Jun 28, 2023
@metcoder95 metcoder95 merged commit 8e6d16e into piscinajs:current Jun 28, 2023
10 checks passed
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.

Doesn't catch process.exit() in the worker thread
2 participants