-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
[docs] print dependencies in Documentation job #36683
Conversation
Signed-off-by: Matthew Deng <matt@anyscale.com>
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.
makes it easier to debug any dependency related issues.
it also makes it harder to find the actual test error.
I do not think it is generally best practice, but I do not really care for this particular broken test, so lgtm.
(and add me as reviewer for review request maybe.) |
What do you mean by this? |
it means that it generates a lot of lines that are most of the time not related to the test error when the test fails, so the SNR on the test logs becomes even lower, making the test error harder to find. dumping just-in-case-useful-but-most-of-the-time-useless info into test logs is generally bad. what you would want is:
like for this case, I suspect the main reason that you need env info this because the python dependencies are not pinned, and every time in history they might resolve into different versions and hard to reproduce. however, rather than trying to fix the root cause of floating dependencies, what you are doing is printing more info to the test logs, making the lint error, if any, even harder to find now, and making it more likely for people to just ignore the error. :) hope this makes sense. |
Yes you are absolutely correct here.
Happy to remove these whenever there is a more robust solution in place! |
Signed-off-by: Matthew Deng <matt@anyscale.com> Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
Why are these changes needed?
Printing out the dependencies before the test runs makes it easier to debug any dependency related issues.
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.