Skip to content

Conversation

@samuel-williams-shopify
Copy link
Contributor

@samuel-williams-shopify samuel-williams-shopify commented Nov 28, 2025

Previously, Process.fork within a scheduler had undefined behaviour. However, after considering it, it looks like we can correctly support it, if we shut down the scheduler in the child process correctly.

Types of Changes

  • Bug fix.
  • New feature.

Contribution

@samuel-williams-shopify
Copy link
Contributor Author

@noteflakes I experimented with this too. I think having a proper hook would be a good idea but it's sufficient to use Process._fork.

@samuel-williams-shopify samuel-williams-shopify force-pushed the process_fork branch 4 times, most recently from 0ef6611 to 81f5512 Compare November 30, 2025 00:53
@ioquatix ioquatix force-pushed the process_fork branch 3 times, most recently from de57cf7 to 69653c6 Compare November 30, 2025 04:27
@ioquatix ioquatix merged commit b3764e6 into main Nov 30, 2025
82 of 95 checks passed
@ioquatix ioquatix deleted the process_fork branch November 30, 2025 06:41
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.

4 participants