-
Notifications
You must be signed in to change notification settings - Fork 862
feat(python): restart installation OOM #7507
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
feat(python): restart installation OOM #7507
Conversation
Signed-off-by: pyranota <[email protected]>
|
Claude finished @pyranota's task in 2m 6s —— View job Review: OOM Restart Feature for Python Installation
SummaryThis PR adds the ability to detect Out-of-Memory (OOM) kills during Python package installation ( Overall AssessmentThe feature is a good resilience improvement. The implementation is mostly correct but has one critical issue (cross-platform compatibility) and one minor suggestion that should be addressed before merging. Issues Found
See inline comments for detailed explanations and suggested fixes. Code Quality ObservationsPositive aspects:
Other changes:
Test Instructions for QATo test this feature, navigate to the Windmill app and create a new Python script with memory-intensive dependencies. Configure a worker with limited memory (e.g., 512MB) and trigger the script execution. The worker will attempt parallel package installations via |
Deploying windmill with
|
| Latest commit: |
006334c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0035e5ae.windmill.pages.dev |
| Branch Preview URL: | https://pyra-win-1604-it-should-be-p.windmill.pages.dev |
Signed-off-by: pyranota <[email protected]>
…ble-to-catch-oom-for-uv-install-and-retry Signed-off-by: pyranota <[email protected]>
Signed-off-by: pyranota <[email protected]>
…-oom-for-uv-install-and-retry
|
Claude finished @pyranota's task in 1m 40s —— View job Review: OOM Restart Feature for Python Installation
SummaryThis PR adds the ability to detect Out-of-Memory (OOM) kills during Python package installation ( Previous Review Comments - Status
All previous review issues have been addressed correctly! Code Quality AnalysisPositive aspects:
Other changes verified:
Minor Observations
Overall Assessment✅ Approved for merge. All previous review issues have been properly addressed. The implementation is solid, handles cross-platform concerns correctly, and provides a useful resilience feature for memory-constrained workers. Test Instructions for QATo test this feature, navigate to the Windmill app and create a new Python script with memory-intensive dependencies (e.g., packages with heavy compilation like |
Uh oh!
There was an error while loading. Please reload this page.