Skip to content

Conversation

@github-actions
Copy link

closes #50500

Adds a new safeguard for cases where the task subprocess closes
before all pipe sockets send EOF.

The supervisor now records the
process exit time and forcibly closes any sockets still open after
workers.socket_cleanup_timeout. This stops the
supervisor loop from hanging indefinitely and allows the process
to exit cleanly.
(cherry picked from commit a2651f1)

Co-authored-by: Kaxil Naik kaxilnaik@gmail.com

…1180)

closes #50500

Adds a new safeguard for cases where the task subprocess closes
before all pipe sockets send EOF.

The supervisor now records the
process exit time and forcibly closes any sockets still open after
`workers.socket_cleanup_timeout`. This stops the
supervisor loop from hanging indefinitely and allows the process
to exit cleanly.
(cherry picked from commit a2651f1)

Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
@ashb ashb marked this pull request as ready for review June 20, 2025 18:27
@ashb ashb requested review from amoghrajesh, ashb and kaxil as code owners June 20, 2025 18:27
@jedcunningham jedcunningham merged commit d34c1f5 into v3-0-test Jun 20, 2025
46 checks passed
@jedcunningham jedcunningham deleted the backport-a2651f1-v3-0-test branch June 20, 2025 20:39
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