-
Notifications
You must be signed in to change notification settings - Fork 1.7k
ci: Enable detection of unresponsive or crashed Python backend stub process #8552
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
ci: Enable detection of unresponsive or crashed Python backend stub process #8552
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds functionality to detect when a Python backend stub process becomes unresponsive or crashes. The implementation includes comprehensive test coverage to verify that the model ready status accurately reflects the health of the underlying stub process.
Key changes:
- Added a new test suite to verify model ready checks detect crashed stub processes
- Tests simulate process failures using different signals (SIGSEGV and SIGKILL)
- Validates both HTTP and gRPC endpoints report correct model readiness status
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| qa/L0_backend_python/test.sh | Adds new model_ready_check test to the test suite execution |
| qa/L0_backend_python/model_ready_check/test.sh | Test script that simulates stub process crashes and verifies model ready status |
| qa/L0_backend_python/model_ready_check/check_model_ready.py | Python test cases for checking model ready status via HTTP and gRPC |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
…to-be-healthy-when-using
…to-be-healthy-when-using
|
Please also document in |
What does the PR do?
This PR includes comprehensive test coverage to verify that the model ready status accurately reflects the health of the underlying stub process.
Key changes:
Checklist
<commit_type>: <Title>Commit Type:
Check the conventional commit type
box here and add the label to the github PR.
Related PRs:
Where should the reviewer start?
Test plan:
Caveats:
Background
Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)