Skip to content

Async child process kill - #1107

Merged
josephjclark merged 6 commits into
release/nextfrom
async-child-process-kill
Oct 31, 2025
Merged

josephjclark merged 6 commits into
release/nextfrom
async-child-process-kill

Conversation

@josephjclark

Copy link
Copy Markdown
Collaborator

Merging #1106 for release

josephjclark and others added 6 commits October 30, 2025 21:13
* remove errant log

* version: worker@1.19.1
The pool.destroy() method was calling worker.kill() to send SIGTERM signals
but not waiting for child processes to actually terminate. This caused test
timeouts as assertions checked child.killed immediately after destroy(),
before the OS had processed the termination signals.
…1106)

* Remove errant log (#1104)

* remove errant log

* version: worker@1.19.1

* fix(engine-multi): await child process termination in pool.destroy()

The pool.destroy() method was calling worker.kill() to send SIGTERM signals
but not waiting for child processes to actually terminate. This caused test
timeouts as assertions checked child.killed immediately after destroy(),
before the OS had processed the termination signals.

---------

Co-authored-by: Joe Clark <jclark@openfn.org>
@josephjclark
josephjclark merged commit f34b281 into release/next Oct 31, 2025
1 of 2 checks passed
@github-project-automation github-project-automation Bot moved this to Done in Core Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants