Skip to content

fix(e2e): prevent potential hangs in model pool subprocess handling#16752

Merged
slin1237 merged 1 commit intomainfrom
smg-ci-n/32
Jan 8, 2026
Merged

fix(e2e): prevent potential hangs in model pool subprocess handling#16752
slin1237 merged 1 commit intomainfrom
smg-ci-n/32

Conversation

@slin1237
Copy link
Copy Markdown
Collaborator

@slin1237 slin1237 commented Jan 8, 2026

  • Add timeout to process.wait() after SIGKILL to avoid hanging on unkillable processes
  • Replace blocking stderr.read() with non-blocking os.read() using select() to prevent hangs when child processes keep pipes open
  • Apply fix to both health check loop and timeout handler paths

Checklist

Review Process

  1. Ping Merge Oncalls to start the PR flow. See the PR Merge Process.
  2. Get approvals from CODEOWNERS and other reviewers.
  3. Trigger CI tests with comments (/tag-run-ci-label, /rerun-failed-ci, /tag-and-rerun-ci) or contact authorized users to do so.
  4. After green CI and required approvals, ask Merge Oncalls to merge.

- Add timeout to process.wait() after SIGKILL to avoid hanging on
  unkillable processes
- Replace blocking stderr.read() with non-blocking os.read() using
  select() to prevent hangs when child processes keep pipes open
- Apply fix to both health check loop and timeout handler paths
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@slin1237 slin1237 added the run-ci label Jan 8, 2026
@slin1237 slin1237 merged commit cf24232 into main Jan 8, 2026
71 checks passed
@slin1237 slin1237 deleted the smg-ci-n/32 branch January 8, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant