-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Replace --show-output
task defaults with --nocapture
#20803
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
--show-output
with --nocapture
--show-output
task defaults with --nocapture
There was a discussion about this in the past, I need to find it. Without inspecting the points raised in that discussion we cannot proceed with this change. |
Also note that you can customize this. |
Found it: #12737. |
The former does not show any output before the test is finished, which prevents long-running/stuck tests from showing any useful information.
349f77b
to
d0e07f0
Compare
Yeah, no worries and feel free to close if not needed. My main motivation is to have a default that produces normal output and does not require me to re-confgure every machine's rust-analyzer. |
I'm not rejecting this. I'm just saying that if you want this, you need to read and summarize that issue, answer the points raised there, and then we'll discuss that in the team and decide. |
I did an offline discussion with @Veykril (seemed onboard as experiences the same chores) and fully agree with #12737 (comment) The only other useful bit of information is #12737 (comment) and that does not contradict my stance it seems. I'll leave the rest of the discussion on you. |
CC @rust-lang/rust-analyzer. My personal opinion: I slightly prefer |
Imo we should've reverted to |
Agreed, especially in the |
The former does not show any output before the test is finished, which prevents long-running/stuck tests from showing any useful information.
Example: https://github.com/zed-industries/zed/blob/5b0a2f1ab66aec068a837e4d66612ba92b59a29c/crates/project/src/project_tests.rs#L8843-L8845
This is a test that repeats 10 times, each time printing the iteration number.
nocapture.mov