-
Notifications
You must be signed in to change notification settings - Fork 836
fix(uv): log stdout on uv pip install error
#6702
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
Conversation
Signed-off-by: pyranota <[email protected]>
|
Claude finished @pyranota's task —— View job Pull Request Review
|
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.
Important
Looks good to me! 👍
Reviewed everything up to 7838049 in 1 minute and 26 seconds. Click for details.
- Reviewed
54lines of code in1files - Skipped
0files when reviewing. - Skipped posting
3draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. backend/windmill-worker/src/python_executor.rs:1961
- Draft comment:
Good job capturing stdout output for error logging. Consider awaiting both stdout and stderr concurrently (e.g. usingtokio::join!) rather than sequentially, to avoid potential deadlock issues when one stream produces large output. This ensures both pipes are drained concurrently. - Reason this comment was not posted:
Comment looked like it was already resolved.
2. backend/windmill-worker/src/python_executor.rs:1932
- Draft comment:
Typo: The variable nameuv_install_proccessseems to be misspelled. Consider renaming it touv_install_processif that is the intended spelling. - Reason this comment was not posted:
Comment was on unchanged code.
3. backend/windmill-worker/src/python_executor.rs:1965
- Draft comment:
There's a typographical error: 'uv_install_proccess' should be spelled 'uv_install_process'. - Reason this comment was not posted:
Comment was on unchanged code.
Workflow ID: wflow_HE1vvfaB9ZLV0OEN
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

Important
Logs both stdout and stderr on
uv pip installerror inhandle_python_reqs()inpython_executor.rsfor improved debugging.stdoutandstderronuv pip installerror inhandle_python_reqs()inpython_executor.rs.stdoutandstderrusingread_to_string()and logs them if the process exits unsuccessfully.uv pip installfails, logs include bothstderrandstdoutoutputs for better debugging.stdout_bufandstdout_pipealongside existingstderrcounterparts.stderr_futureandstdout_future.This description was created by
for 7838049. You can customize this summary. It will automatically update as commits are pushed.