-
Notifications
You must be signed in to change notification settings - Fork 525
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
"Possible Performance degration, V3 was not working" error when using with TFS feed #2877
Comments
I also get this warning since a few days, using an UNC path for our internal repository. It seems to me that it happens when two sources are listed and resolve at the same time.
|
I think this is an another case. I found issue #2700 with the similar symptoms. |
I also get this when pulling from a VSTS V3 feed. Also even though Paket falls back on V2, the message breaks our build because it now gets printed to stderror: Paket/src/Paket.Core/Dependencies/NuGet.fs Line 304 in 1cc416b
|
@blumu in vsts there usually is a checkbox in advanced to ignore stderr |
I am aware of it but this is to ignore errors, not warnings. I still want the task to fail on actual errors, I would not want to ignore them.
Would it make sense to print Paket warnings to stdout like it use to?
From: Matthias Dittrich
Sent: Wednesday, November 22, 2017 11:34 AM
To: fsprojects/Paket
Cc: William Blum; Mention
Subject: Re: [fsprojects/Paket] "Possible Performance degration, V3 was notworking" error when using with TFS feed (#2877)
@blumu in vsts there usually is a checkbox in advanced to ignore stderr
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@blumu Actual errors lead to a non-zero exit code. |
@matthid Thanks for confirming that paket returns non-zero exit code. I would still love to have a paket option to silence this error though. As a workaround we disabled the VSTS option to fail on stderror: The only drawback: we need to make sure to run paket in a dedicated VSTS task as we still want to fail on stderrors issued by our other build scripts. |
Yes this is basically the "warnings as errors" feature. Note that in an ideal world we would have zero warnings. But the NuGet ecosystem is a mess and we are glad it is somehow not breaking apart every day. So yeah we have some edge cases. |
Paket/src/Paket.Core/Dependencies/NuGet.fs Line 304 in 1cc416b
@matthid putting that to stdout instead of stderr can be ok? |
As for me, I think it is a workaround only, not a solution. Because V3 is working |
In my opinion warnings need to go to stderr not stdout, because stdout needs to be potentially parsable. That is generally agreed on in the unix and command line world. |
Ideally the root cause is solved ;) |
I should add: if that is not possible for some technical reason we could add an option to silence that particular warning. |
Everything agrees except Microsoft.
Am 24.01.2018 17:59 schrieb "Matthias Dittrich" <[email protected]>:
… Ideally the root cause is solved ;)
I should add: if that is not possible for some technical reason we *could*
add an option to silence that particular warning.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2877 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNEJRT1T_dq5lnOeF9pr3wZetBioxks5tN2FTgaJpZM4QMrUu>
.
|
It's really just a matter of defaults. Microsoft thinks defaulting to "Warning as error" is a good default and you cannot argue with that. It's more a problem with people not being able to change the defaults ;) |
)))) |
No war. Ultimately, we have something here which is not critical but might need to be fixed (-> therefore a warning). |
Ok, I agree |
Some additional info (verbose mode):
|
Actually I think this has been fixed since #3341 |
Description
I get "Possible Performance degration, V3 was not working: One or more errors occurred." message when I use the on-premise TFS server.
Repro steps
The minimal paket.dependencies file to reproduce:
http://tfs.geobuilder.ru:8080 - is the latest version of on-premise TFS server and it is accessible from internet. I can provide you a login and password to reproduce.
The text was updated successfully, but these errors were encountered: